/    Sign up×
Community /Pin to ProfileBookmark

Nav bar display issue

I recently installed self-hosted wordpress theme for a client and have added custom css to create the look she wanted, but there is something janky with the nav bar (and it was this way when I installed the theme).

The main navigation buttons expand on hovering, but only the ones associated with a drop-down menu. They expand to fit the max width of the drop-down. I want the parent menu items to stay the same width, auto-sizing to their singular content, without inheriting any sizing from the dropdown menu items. I looked at the css, and fiddled with it in Firebug to no avail, but am drawing a blank and something in the back of my brain says I’m just missing something totally obvious. I’ve only been working with CSS for about 3 years, so you’d think something this simple wouldn’t be a problem, but I’ve contracted a case of the derps or something, I guess.

The website is [URL=”http://dodiejacobi.com”]http://dodiejacobi.com[/URL]

Any help from a fresh pair of eyes would be [B]greatly[/B] appreciated. 😮

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@David_HarrisonJul 08.2012 — You have rather a lot of styles embedded in the HTML, added with your "Custom CSS Manager Plguin". This block is over-ruling the absolute positioning in your .css file:#nav ul ul {
position: relative;
margin-top:0px;
}
Copy linkTweet thisAlerts:
@dedlobsterauthorJul 09.2012 — Ah ha! Right, the relative positioning is where I went all wrong. Thanks oh so much, David! It's all fixed now. ?
×

Success!

Help @dedlobster spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...