WordPress.org

Ready to get started?Download WordPress

Forums

MesoColumn
[resolved] Navigation color change not sticky (7 posts)

  1. tayloroliphant
    Member
    Posted 6 months ago #

    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: http://www.socialjusticenow.org/

    Thanks!!!
    -Taylor

  2. tayloroliphant
    Member
    Posted 6 months ago #

    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!!!

  3. tayloroliphant
    Member
    Posted 6 months ago #

    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. :)

  4. tayloroliphant
    Member
    Posted 6 months ago #

    --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. :)

  5. Richie KS
    Member
    Theme Author

    Posted 6 months ago #

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

  6. tayloroliphant
    Member
    Posted 6 months ago #

    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: http://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. :)

  7. tayloroliphant
    Member
    Posted 6 months ago #

    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;}

Reply

You must log in to post.

About this Theme

About this Topic