Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
zdean CreditAttribution: zdean commentedok...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.
Comment #2
designerbrent CreditAttribution: designerbrent commentedZDean: 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.
Comment #3
Ashford CreditAttribution: Ashford commentedI 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;}
Comment #4
designerbrent CreditAttribution: designerbrent commentedActually, it would be more like the following: