Hi folks, I've tried everything... I've searched through the forums, docs, etc, tried all the CSS I could find in here and nothing... I can't find the way to customize the colors of my nav bars properly.
The URL:
There's 2 nav bars I'm customizing: the brandnav (purple header section with logo and nav), and the classic nav (black nav bar)
Here are the problems:
1. on the Brandnav, I've managed to code everything I wanted properly except the "li" active state when the user is on a child page. For example, the "services" page has a couple of child pages. When a user is in one of those, there's a white background in the "services" link that I can't find a way to remove (should be transparent, or the same purple color as background). Go to this child page so you can see:
2. On the Black Nav bar, I'm trying to simply do this:
- no background color on hover
- text color gray
- text color hover: light purple
- text color active: dark purple
That's all!!! And yet nothing I code seems to have an effect...
Here's my CSS code for these two sections at the moment:
I appreciate your help with this! We're going live on Friday with the site so I need to resolve this ASAP.
I would also like this opportunity to suggest something to you for a future update: Your framework is so advanced, it great! Customizing Nav colors should not be this hard! I've spent hours and hours on this... Why isn't there a color picker in the admin setting for each nav bar section??? Just include color pickers for text color, background, border, and for normal, hover and active states and you should be able to shake this issue off for good! (I've noticed it's a recurrent issue people have)
Thanks again!
Beny Schonfeld
Can't Get The Nav Bar Css To Work! Please Help
Started by
Beny Schonfeld
, Oct 24 2012 12:52 PM
navigation css nav bar colors customization
5 replies to this topic
#1
Posted 24 October 2012 - 12:52 PM
#2
Posted 24 October 2012 - 02:40 PM
1. The selector for your active link needs to be adjusted. When I inspect the active menu item using Firebug, I see this class:
You need to use the current-page-ancestor selector to adjust the active item.
2. In this code, the extra li tags are unnecessary (i.e. li li a can just be li a):
You need to use the current-page-ancestor selector to adjust the active item.
2. In this code, the extra li tags are unnecessary (i.e. li li a can just be li a):
#3
Posted 24 October 2012 - 05:43 PM
OK, making progress...
On Brandnav, by targeting the following selector I was able to finally remove that white background,...
As for the other navigation bar, the black one, I tried what you suggested above and nothing. Same result... I don't understand it!
Any other suggestions?
On Brandnav, by targeting the following selector I was able to finally remove that white background,...
As for the other navigation bar, the black one, I tried what you suggested above and nothing. Same result... I don't understand it!
Any other suggestions?
#4
Posted 24 October 2012 - 06:10 PM
OK, I went back and deleted all the CSS I had done for the second nav bar (the black one). I simplified a couple of things and now it seems to be working perfectly... I have no idea why I couldn't get this to work before... Maybe I just needed to let it sit for a couple of days 
Here's the CSS I'm using now:
Here's the CSS I'm using now:
#5
Posted 25 October 2012 - 12:25 AM
Excellent, I'm glad you got it sorted. Thank you for sharing the solution with us.
#6
Posted 25 October 2012 - 12:25 AM
The topic was marked as resolved.
Also tagged with one or more of these keywords: Resolved, navigation, css, nav bar, colors, customization
PageLines Framework →
Customizations →
Header and Footer expansion customizationsStarted by casseysdesigns , 18 May 2013 |
|
|
||
PageLines Framework →
Customizations →
header image trough header+contentStarted by helvetik_a , 18 May 2013 |
|
|
||
PageLines Framework →
Customizations →
Custom BrandNavStarted by Jarrod H , 17 May 2013 |
|
|
||
Customizing AccordionStarted by mudgal , 17 May 2013 |
|
|
||
PageLines Framework →
Technical Support →
Left margin on content is clearedStarted by sierrapat , 15 May 2013 |
|
|











