How create bold text in Categories

Discussion in 'Themes' started by andreyka, Dec 14, 2016.

  1. andreyka

    andreyka Member

    Joined:
    Nov 20, 2016
    Messages:
    60
    Likes Received:
    0
    Cood day all
    In "Categories" have slm text . How can create "BOLD" text in "Categories"???
     
  2. nay27uk

    nay27uk Super Moderator Staff Member

    Joined:
    Nov 24, 2009
    Messages:
    5,572
    Likes Received:
    546
    Open the file home.tpl and find code
    PHP:
    {CATEGORIES}
    Replace it with
    PHP:
    <b>{CATEGORIES}</b>
     
  3. andreyka

    andreyka Member

    Joined:
    Nov 20, 2016
    Messages:
    60
    Likes Received:
    0
    i am have 5 files HOME.TPL - in other folders. Insert <b>{CATEGORIES}</b> all files in home.tpl?
    And not find {CATEGORIES}
     
  4. nay27uk

    nay27uk Super Moderator Staff Member

    Joined:
    Nov 24, 2009
    Messages:
    5,572
    Likes Received:
    546
    Sorry about that I meant
    PHP:
    {cat_list.NAME}
    Replace with
    PHP:
    <b>{cat_list.NAME}</b>
    In the same file HOME.TPL in both the Classic and Modern theme folders
     
  5. andreyka

    andreyka Member

    Joined:
    Nov 20, 2016
    Messages:
    60
    Likes Received:
    0
    Modern Temes not work? only classic theme work
     
  6. nay27uk

    nay27uk Super Moderator Staff Member

    Joined:
    Nov 24, 2009
    Messages:
    5,572
    Likes Received:
    546
    did you clear the template cache in admin by clicking the big button that says Clear Template Cache this must always be done after making a change to any tpl file
     
  7. andreyka

    andreyka Member

    Joined:
    Nov 20, 2016
    Messages:
    60
    Likes Received:
    0
    Yes, of course - I did , but the changes only happened in one subject
     
  8. nay27uk

    nay27uk Super Moderator Staff Member

    Joined:
    Nov 24, 2009
    Messages:
    5,572
    Likes Received:
    546
    don't know then sorry, I cant help as this should make what you want to do, happen
     
  9. Shaman

    Shaman Active Member

    Joined:
    Feb 8, 2016
    Messages:
    166
    Likes Received:
    33
    @andreyka
    Only for Modern Theme.
    Open home.tpl and search
    Code:
    <!-- BEGIN cat_list -->
                    <a class="list-group-item" href="browse.php?id={cat_list.ID}">{cat_list.IMAGE}{cat_list.NAME}<span class="pull-right">
                    <!-- IF cat_list.CATAUCNUM neq '' --> ({cat_list.CATAUCNUM})<!-- ENDIF --></span></a>
    <!-- END cat_list -->
    
    –°hange it so
    Code:
    <!-- BEGIN cat_list -->
                    <a class="list-group-item" href="browse.php?id={cat_list.ID}">{cat_list.IMAGE}<b>{cat_list.NAME}<b><span class="pull-right">
                    <!-- IF cat_list.CATAUCNUM neq '' --> ({cat_list.CATAUCNUM})<!-- ENDIF --></span></a>
    <!-- END cat_list -->
    
     

Share This Page