Sorry in advance if I'm overlooking something very basic, but...

I've set top/bottom padding on the #nav a element to 10px. Normally, this would "push" the #nav height to reflect the top/bottom padding (an additional 20px of height). However, this doesn't affect the height of the nav bar at all...it just stays at its default height. The only way I can change the height is if I give a manual height value to the #nav.

So, shouldn't the padding of the #nav a be having an effect on the height of the nav bar?

Thanks in advance for any help.

Comments

zdean’s picture

ok...so I completely screwed up the "bold" on the previous post...here it is corrected:

Sorry in advance if I'm overlooking something very basic, but...

I've set top/bottom padding on the #nav a element to 10px. Normally, this would "push" the #nav height to reflect the top/bottom padding (an additional 20px of height). However, this doesn't affect the height of the nav bar at all...it just stays at its default height. The only way I can change the height is if I give a manual height value to the #nav.

So, shouldn't the padding of the #nav a be having an effect on the height of the nav bar?

Thanks in advance for any help.

designerbrent’s picture

Status: Active » Postponed (maintainer needs more info)

ZDean: Sorry for the delay in getting back to you on this. Gmail decided all my email from drupal.org was spam so I wasn't getting any notifications!

I'm marking this as "Postponed (maintainer needs more info)" not because I don't think it's a problem but it appears to be an upstream problem with the resets in Blueprint CSS and I think is something that needs to be addressed at that level, or at least investigated there. I poked around with it for a while but couldn't figure it out in the time I had. Have you tried the mailing list at http://groups.google.com/group/blueprintcss ?

If you figure out that there is something that can be addressed in the theme, I'll be happy to do that.

Ashford’s picture

I just started learning to use this theme, so I have very little experience with it. This is what I would try. Set the padding on an element higher up the html chain, like #nav ul {padding: 10px 0;}

designerbrent’s picture

Actually, it would be more like the following:

ul#nav.primary-links{
  padding: 10px;
}