WordPress.org

Support

Support » Themes and Templates » [Resolved] How to Bold Just One Menu Item

[Resolved] How to Bold Just One Menu Item

  • This is my menu on header, and now I wont bold only this words:

    Veleprodaja SWAROVSKI ELEMENATA /// original
    Veleprodaja SWAROVSKI ELEMENATA /// like this

    It’s possible?

    this is my website: www.dvesmizle.rs

    Thanx

Viewing 4 replies - 1 through 4 (of 4 total)
  • Drew Jaynes

    @drewapicture

    Docs Czar

    You can apply CSS classes to individual menu items and then style those classes as you see fit.

    In Appearance > Menus, visit Screen Options at the top right of the Dashboard and make sure the ‘CSS Classes’ box is checked.

    Then in the expanded view for an individual menu item, enter the class name and add some styles to your stylesheet. In this case, maybe add a class of menu-highight to your menu item and in your stylesheet add something like:
    .menu-hightlight { font-weight: bold; }

    I do don’t want the all my menu links to bold, I wont only one bold menu/words

    Veleprodaja SWAROVSKI ELEMENATA /// original
    Veleprodaja SWAROVSKI ELEMENATA /// like this

    Drew Jaynes

    @drewapicture

    Docs Czar

    Sorry, I misunderstood.

    In your menu item label, add <strong> tags around the word you want to bold. In the menu list in the Dashboard, the tags will show, but the word should show up styled (bolded) in the frontend menu.

    Ex:

    Veleprodaja <strong>SWAROVSKI</strong> ELEMENATA

    Thanx for help! Now works! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] How to Bold Just One Menu Item’ is closed to new replies.