• Resolved tayloroliphant

    (@tayloroliphant)


    Hello,

    Wonderful theme! I can’t seem to get the he navigation to stay highlighted when I click on a page though. (The second menu, not the one at the very top.) Right now I have the menu as all one color, but essentially I’d like to use different colors and have each color “stick” when I click the link. (Keep the tab highlighted.) My site can be found at: https://www.socialjusticenow.org/

    Thanks!!!
    -Taylor

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter tayloroliphant

    (@tayloroliphant)

    Also, while I’m humbly bothering the wordpress community: Is there a way to make my index page only list 1 categories posts? All the plugins for this seem to be outdated, perhaps there is some PHP I can edit to include only 1 category id on the home page? -Although I did get this working one way, but then it limited my widgets posts too. Is there a way to just limit the content area?

    Thanks again!!!

    Thread Starter tayloroliphant

    (@tayloroliphant)

    Found a solution to my second question, the only plugin that worked is called WP Filter Post Category in case anyone searches this thread for the problem I had there.

    Unfortunately my first question about the highlighting is still unanswered though–not blaming the programmer; take your time, have a life, please. ??

    Thread Starter tayloroliphant

    (@tayloroliphant)

    –and on the off chance someone could tell me how I can format my google news rss feed better on the front page, that’d be awesome too; but I’ll be more than happy if just my first question is responded to. ??

    Theme Author Richie KS

    (@rkcorp)

    #1
    try add this to custom css
    #main-navigation .sf-menu li.current-menu-item a {
    color: #fff !important;
    background-color: #ff5e00;
    }

    Thread Starter tayloroliphant

    (@tayloroliphant)

    Thanks! It works for the main links, but not the sub links. I am using pages rather than categories; do I need to switch or do something differently in order to make the main tab stay highlighted when I navigate to sub pages of each tab?

    Also, if you have time, about the second question pertaining to my google news feed being formatted funky, it was moved here: https://www.socialjusticenow.org/category/googlenewssj/ – Basically the excerpt is being stripped of it’s formatting somewhere along the line. I’d like to use the actual article text if possible for just this feed as it looks great once I click through to it.

    Again, I wont be offended at all if we don’t get to the second question. Any help you give is very generous. Also, for the sake of anyone else reading this: MesoColumn is the best free theme I’ve ever used in my life–I’d call it a tie with the best non-gratis theme even. This guy Richie is a wordpress hero like none other–even if my question doesn’t get resolved, that’s the key thing to take away from reading this. ??

    Thread Starter tayloroliphant

    (@tayloroliphant)

    Figured out what I needed thanks to your suggestion Richie. Here is the code I ended up using to get my nav setup with custom colors that stick.


    #custom #main-navigation .sf-menu li.current-menu-item a {
    color: #fff !important;
    background-color: #f87d06;
    }

    #custom #main-navigation .sf-menu li.current-menu-item a:hover {
    color: #fff !important;
    background-color: #f87206 !important;
    }

    #custom #main-navigation .sf-menu li a:hover {background-color: #f87d06 !important; color: #fff !important;}

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Navigation color change not sticky’ is closed to new replies.