ThemeShaper Forums » ThemeShaper WordPress Themes


Change color on ONE Menubar tab HELP - WP THEME

(4 posts)
  • Started 7 years ago by pmconcepts
  • Latest reply from joperron
  • This topic is not resolved
  1. pmconcepts

    I have changed the font colors on the menu bar using the menusm.css file, which was simple.

    My next task is I would like to change the "get a quote" menu tab only. I would like to change just that one's color, both hover color, box color, font color, ETC...

    I am unsure where to locate the coding to single out a menu tab and create a new class. I have the coding installed in the menusm.css file already, just do not know where to input the HTML coding required to change it.

    Any help PLEASE

    Posted 7 years ago #
  2. Each menu element has a class, always something like page-item-<number> - so you could do something like this in your stylesheet:

    .page-item-841 {background: #666}
    .page-item-841:hover {background: #fff}
    .page-item-841 a {color:#fff}
    .page-item-841 a:hover {color:#000}
    Posted 7 years ago #
  3. pmconcepts

    That's precisely the issue I am having. I can't find in any of the stylesheets those codes. It's as if wordpress is making those codes for each page, but not letting me edit it.
    I need to find out how to manually input the class="INPUT" to change the style

    <li class="page_item page-item-6">

    but no where in any of the files can I find anything deemed "page_item" or li class.

    it says <ul class="menusm"> above the

  4. listings, but even in the menusm.css, I can't find anything that would be used for the page classes. bah.
Posted 7 years ago #
  • joperron

    Did you try ADDING the code I gave you to your stylesheet? It should work. Not every class and id is always in the stylesheet, especially if they generated dynamically like in this case

    Posted 7 years ago #

  • RSS feed for this topic

    Topic Closed

    This topic has been closed to new replies.