PDA

View Full Version : Navbar Customizing


SpawnedX
07-21-2012, 08:05 PM
Could someone point me in the right direction to doing a slight redesign in the style I am using here: http://www.dsmnation.com

You see how Forum and Classified links are text? I want them to look more like the default style which has an image background making it look like a button and when you highlight the button it changes colors.

peugeot405
07-21-2012, 08:22 PM
in style variable editor look under the navbar section and edit the settings depending on who you want it to look.

you'll also have to play around width, height, padding en margins

SpawnedX
07-21-2012, 09:40 PM
Thank you, I got that all figured out.

I have one more issue, I want to put a | between all the sub-menu items without putting one before the first option or after the last. Any ideas on the best way to accomplish this?

peugeot405
07-22-2012, 06:37 AM
Thank you, I got that all figured out.

I have one more issue, I want to put a | between all the sub-menu items without putting one before the first option or after the last. Any ideas on the best way to accomplish this?

you can put a line between them by adding this to additional css:

.navtabs ul li {
border-right: 1px solid #FFFFFF;
}

but it also puts a line after the last one, i don't think there's a way to avoid that.

SimonB
07-25-2012, 06:59 PM
I also have a navbar style issue I'd like resolved and Peugeot405 (great car BTW) has always been most helpful elsewhere for me.

As you can see in the image I'd like the link that has been selected for the popup menu to be reversed (i.e in white, rather than the same colour as the rest of the navbar links)

I'm guessing another CSS tweak rather than a stylvar issue?

Thanks

peugeot405
07-25-2012, 08:17 PM
I also have a navbar style issue I'd like resolved and Peugeot405 (great car BTW) has always been most helpful elsewhere for me.

As you can see in the image I'd like the link that has been selected for the popup menu to be reversed (i.e in white, rather than the same colour as the rest of the navbar links)

I'm guessing another CSS tweak rather than a stylvar issue?

Thanks


see of adding this in additional css helps simonB:

.navtabs li.selected li:hover a.popupctrl {
background-color: #A71212;
border-color: #FFFFFF;
text-decoration: none;
color: #ffffff;
}
.navtabs li.selected li:hover a.popupctrl.active, .navtabs li.selected li a.popupctrl.active {
background-color: #A71212;
border-color: #A71212;
border-radius: 3px 3px 0 0;
color: #ffffff;
text-decoration: none;
}

And thanks for the nice comment you wrote about me, really appriciate it. :)

SimonB
07-27-2012, 07:33 PM
Thanks Peugeot405... works like a charm.

Can I ask, do you use firebug or something to play around with settings? I wish I had the ability to fully interpret what it's telling me. I have been able to resolve a few issues with it but the one you just resolved had me stumped.

Simon

peugeot405
07-27-2012, 08:53 PM
I do use firebug very often, SimonB. It's something i learned here on vb.org.
It helped me to solve a lot of issues too.

I have a private testsite, so i can play around with settings, using firebug and by making changes directly in the templates.