Jump to content
Sign in to follow this  
onestandard

Transparent Background for Drop Down Menu

Recommended Posts

onestandard

I've been trying to style the drop down menu so that instead of the default white/grey the background is transparent so that you can see the page's global background instead of blocks of color. I tried switching out hex code for 'transparent' in the custom CSS, but that hasn't worked.Any thoughts?

Share this post


Link to post
Share on other sites
kgstew

Hi Kyle, Do you think you might run into problems with the text being almost unreadable or difficult to follow the drop down menus when they are open? In any case, you might try using a transparent image like a blank.png file and use that as the background to the drop down menu with no background color. Cheers, -Kyle

Share this post


Link to post
Share on other sites
onestandard

Hey, Kyle. With the background I'm working with it looks fine in PS mockups. I tried replacing color and background with a transparent .png, but no luck. I could be getting the code wrong, though.

Share this post


Link to post
Share on other sites
kgstew

Hi Kyle, Can you post your site URL? I'm not sure if whats your trying to do is possible with simple CSS but I will take a look.

Share this post


Link to post
Share on other sites
onestandard

The site isn't live. Would that really matter?

Share this post


Link to post
Share on other sites
cmunns

Two options here. 1. a live link so we can see 2. the custom css you are attempting to use

Share this post


Link to post
Share on other sites
onestandard

I've cobbled together more bits of code than I care to admit from various posts here on the forums. The latest I tried was: #primary-nav ul.sf-menu, .sf-menu * { background-color: transparent;}

Share this post


Link to post
Share on other sites
cmunns

Also, when you say transparent are you looking to basically not have a background or do you want an overlay type look this is semi-transparent? Bc the latter requires an actual image.

Share this post


Link to post
Share on other sites
onestandard

Complete transparency when static, semi-transparent (image) on hover. I have a .png ready to go for the 2nd one, just don't know where to stick it.

Share this post


Link to post
Share on other sites
catrina

Is the actual image you have intended for the navigation bar as a whole or for each individual menu item?


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

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  

×