Jump to content
Sign in to follow this  
rpacker

Controlling the text of the secondary navigation menu

Recommended Posts

rpacker

I have gone through the forum looking for solutions to control the secondary navigation text. I found a script that works for the font size, but the color and alignment scripts are not working for me. Any solutions for color and alignment? Here is the one script that is working: #secondnav { font-size: .8em; } http://www.randallpacker.com


Randall Packer

Multimedia Artist & Educator

http://www.randallpacker.com

Share this post


Link to post
Share on other sites
catrina
I think the CSS selector needs to be more specific. Can you please enable the secondary navigation on your site?

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
rpacker
It is enabled on the home page at the bottom, just above the logo, I now have it centered with padding, but still need to adjust the color: http://www.randallpacker.com

Randall Packer

Multimedia Artist & Educator

http://www.randallpacker.com

Share this post


Link to post
Share on other sites
catrina
The code should be the following: [code]ul#menu-secondary-menu li#menu-item a {color: #XXXXXX; text-align: TEXTALIGNMENT; font-size: .8em;}[/code] Since these are links, the "a" is added after the selector.

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
rpacker
this looks like the same code you gave me before that didn't work and it still doesn't work: ul#menu-secondary-menu li#menu-item a {color: #ff0000; text-align: left; font-size: .8em;}

Randall Packer

Multimedia Artist & Educator

http://www.randallpacker.com

Share this post


Link to post
Share on other sites
catrina
Add to either Custom Code > Custom CSS or the platformbase stylesheet: [code]#secondnav li#menu-item a {color: #ff0000; font-size: .8em;} #secondnav li#menu-item {text-align: left;}[/code]

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
rpacker
I appreciate your efforts but not of your scripts work, whereas this script from @Danny does work for the font size: #secondnav { font-size: .8em;} I am still unable to get the color and alignment working.

Randall Packer

Multimedia Artist & Educator

http://www.randallpacker.com

Share this post


Link to post
Share on other sites
Danny
Hi Randall, First of all remove the padding you have, by which I mean this: [code] #footer .content-pad { padding: 50px 250px 1em; } [/code] Now add this to your custom css: [code] #secondnav ul { display: table; margin: auto; } [/code] That should centre the secondary nav menu in you footer. I've also added some other code below which you may or may not need, I've added a description as to what each does. [code] /* THIS ALLOWS YOU TO CHANGE THE COLOR OF THE LINK & STOPS IT BEING UNDERLINED */ #secondnav li a { color: #FF0000; text-shadow: none !important; } /* THIS ALLOWS YOU CHANGE THE BACKGROUND COLOR OF THE LINK WHEN YOU HOVER OVER IT */ #secondnav li a:hover { background: #FFFFFF; } /* THIS ALLOWS YOU TO ADD A UNDERLINE WHEN HOVERING OVER THE LINK */ #secondnav li a:hover { text-decoration: underline; } /* THIS ALLOWS YOU TO CHANGE THE COLOR OF THE LINK WHEN HOVERING OVER THE LINK */ #secondnav li a:hover { color:#00FF00; } [/code]

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
rpacker
@Danny, thanks so much! Since I last posted, I discovered that the secondary nav doesn't show up on all pages, so I have successfully switched over to the simple footer, works great! How would I substitute the secondary nav for the simple footer in terms of the font color scripts you have above.

Randall Packer

Multimedia Artist & Educator

http://www.randallpacker.com

Share this post


Link to post
Share on other sites
emilindricau
How can I modify my secondary navigation from http://www.rebrighter.ro/informatii to remain active afetr i choose one of the button from secondary navigation menu, just like when mouseover? http://www.pagelines.com/forum/discussion/17851/secondary-navigation-customization

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  

×