Jump to content
Sign in to follow this  
alisamski

Primary Navigation Bar

Recommended Posts

alisamski

Using PageLines Pro I wanted to put in a solid color bar behind the top navigation across the entire menu... and cannot locate an area to change to a background color... Please advise. http://amyrosenberglcsw.com/wp/

Share this post


Link to post
Share on other sites
kastelic

Try pasting this into your custom CSS box in the "custom code" option:

	#nav_row{background:#999}
	
	

Change the #999 to the hex or supported color name of your choice :-)

Share this post


Link to post
Share on other sites
alisamski

That worked somewhat... however, the area behind the link is the same background as the body.. I'm used to having the css in one area and modifying.. I thought I could change this in the settings.. but not. do you see what I mean?

Share this post


Link to post
Share on other sites
alisamski

OK... added the row. #nav_row{background:#dbd1ae} I want the actual links to have the same background as the row. I want the link when hovered and active to have the background color #dba029 it seems basic.. however, I usually see all the template css in one area where I can change..

Share this post


Link to post
Share on other sites
alisamski

I finally found the file to identify the area that needed changes... inside the superfish.css .sf menu a{background:#dbd1ae} Would I have found this with firebug?

Share this post


Link to post
Share on other sites
catrina

Is your navigation menu the way you want it to be or are there still adjustments needed?


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
alisamski

Well.. the client wanted the navigation centered within the bar... I could not find a way to do that.. I am assuming the code is in the superfish css file.. and would probably need to adjust everything... they also wanted an image for the background row.. I know how to do that...however it doesn't make sense unless I move the link texts over or centered... as the nav bar would be fading to the background color on both ends.

Share this post


Link to post
Share on other sites
catrina

Is this styling what you have in mind for changing the bar's background?:

{background-image: url('http://BACKGROUNDIMAGEURLHERE');}

Also, you don't need to edit the styling in the superfish CSS file. You can just add the CSS to the base.css file in the child theme...


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
alisamski

Well.. assumed this: #nav_row{background-image:url('http://BACKGROUNDIMAGEURLHERE');} however... the entire menu links would need to be centered in the entire nav bar.. I am aware of the base CSS... however, without knowing what that code actually is.. its hard just to shoot in the dark and just add code... which is why I think I need the entire navigation code too play with not just the bits and pieces.

Share this post


Link to post
Share on other sites
kastelic
#menu-primary{margin-left:180px}

Try this to center the menu.

Share this post


Link to post
Share on other sites
alisamski
Link Cannot locate the code for the hover color to be the same as the link while on the page.. hover click current page all the same color. Please advise

Share this post


Link to post
Share on other sites
alisamski

ok.. did this.. seemed to work... #primary-nav ul.sf-menu li a:focus, .sf-menu li a:hover, .sf-menu li a:active { /* ---------Background Active Links-------- */ background:#dba029; } #primary-nav .main-nav .current_page_item a { background-color: #dba029; } #primary-nav .main-nav .current_page_item ul li a {background:#dba029; }

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  

×