Jump to content
Sign in to follow this  
jane

Change colour of activated link on Secondary menu?

Recommended Posts

jane

Hi everyone,

 

I'd like to change the colour of active links on my secondary menu - how should I go about this?

 

Here is a link to a page with a secondary menu just under my NavBar:

 

 

 

Thank you for your assistance

Share this post


Link to post
Share on other sites
greenfly

You can control styling of elements and in this case links by using CSS

 

For assistance with CSS visit our custom CSS documentation - http://support.pagel...ion/custom-css/

 

We recommend using Firebug or your browsers built-in web dev tools and inspect the accordion titles to find the correct code to change. 

 

Also you can find more information about controlling style of links here


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
jane

Yes, I have Firebug.

 

I was able to change the hover colour thanks to this:

 

/* SECONDARY MENU LINK HOVER */
    .secondnav_menu li.menu-item a:hover {color: #e97414}

 

but the activate link despite this change:

    /* SECONDARY MENU LINK ACTIVE PAGE */
    .secondnav_menu li.current_page_item a {#e97414}

 

doesn't work. In fact, I added !important to it but it didn't make a difference...

 

any ideas about that issue?

Share this post


Link to post
Share on other sites
greenfly

Take a look at the two codes you have used 

 

    .secondnav_menu li.menu-item a:hover {color: #e97414}

 

and 

 

    .secondnav_menu li.current_page_item a {#e97414}

 

try correcting the color value code to read something more like the first one (including the 'color:')


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
jane

There we go! Yeesh...thanks for catching that - appreciated!

Share this post


Link to post
Share on other sites
greenfly

my pleasure. glad you got it sorted looked like you had it sussed anyway.  


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×