Highlight the selected menu in Swift basic theme (4 posts)

  1. zubair.am
    Posted 4 years ago #


    I'm trying to customize the Swift basic theme.

    I have two menu items Home & About on my page. What I want to do is when I click the About menu item, I want it to be highlighted to show the user that it is the currently selected menu item.

    I'm unable to find any option which controls this or any CSS code which I can tweak.

    Any help will be greatly appreciated.

    Thanks in advance.

  2. Satish Gandham
    Posted 4 years ago #

    add this to user css
    li.current-menu-item a{background:red}

  3. zubair.am
    Posted 4 years ago #

    Dear Satish,

    Can you please let me know which file I need to add this code in. I'm looking at the Editor option in wordpress dashboard.

    Please be a little detailed as I'm not very proficient in this.

    Also, it will be nice if u can include this fix in ur future release of Swift basic. A very good theme indeed.

  4. zubair.am
    Posted 4 years ago #

    I realized u meant the User CSS option in the Swift design options. Its working now, thanks a ton.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.