+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: How to change the comma in category?

  1. #11
    Try to use \A instead of <br/>

    P.S. Refresh your browser cache after this changes.

    Other than that happy coding...
    Flynax Technical Department

  2. #12
    Quote Originally Posted by Alex View Post
    Try to use \A instead of <br/>

    P.S. Refresh your browser cache after this changes.
    Hi Alex, I tried it :

    .categories .sub_categories > span:not(:last-child) {
    padding: 0 0 2px 0;
    display: inline-block;
    }
    .categories .sub_categories > span:not(:last-of-type):after {
    content: '\A';
    padding-right: 5px;
    }
    .other_categories_tmp > div > span {
    padding: 0 0 2px 0;
    display: block;
    }
    Still nothing happened. hu hu

  3. #13
    ok, than remove the content: '\A'; (or comment)
    Go to your .tpl file:
    /tpl/blocks/categories_block.tpl

    Go to line~: 58
    Put the code like on screenshot below: {$config.subcategory_divider}


    See attached file. (it's a your file with the customizations above)
    Attached Files Attached Files

    Other than that happy coding...
    Flynax Technical Department

  4. #14
    Look perfectly thanks to Alex.
    Happy New Year to you and all the Flynax Staffs.
    Last edited by Wei Hong; December 28, 2015 at 12:25 PM.

  5. #15
    Hi Alex,

    I had same requirement, I wanted each sub category to be on next line, i tired above code but didnt work.

    Dont know where am going wrong.

+ Reply to Thread