WordPress.org

Ready to get started?Download WordPress

Forums

Change Color of A Single Menu Tab in Horizontal Menu (3 posts)

  1. Kufre Ekpenyong
    Member
    Posted 1 year ago #

    Hello,

    This is with reference to http://www.sunstone.org, which redirects to http://www.sunstonemagazine.com

    On the home page there, you'll see a horizontal menu at the top. I'm trying to figure out how to change the donate button to be green. Perhaps the tab could be green and the text could be white--that would be desirable.

    I'm done my due diligence and looked at other threads for similar questions, but I don't really seem to be able to figure it out. Plus in those threads the answers seem to be particularly tailored to each specific post's particular website.

    After looking at the source code, I'm pretty sure that I'm trying to change menu item 981, but I'm pretty lost beyond there.

    Please help...thanks.

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Adding this to your CSS should do it:

    li#menu-item-981 a {
       background-color: green;
       color: white;
    }
  3. Kufre Ekpenyong
    Member
    Posted 1 year ago #

    This worked perfectly. Thank you so much!

Topic Closed

This topic has been closed to new replies.

About this Topic