Figured out transparent Nav
RichmondImage
Registered Users Posts: 65 Big grins
I know I was blowing up this board for the last few days asking around about how to make my dropdown nav transparent, but after MANY hours of trial and error I finally got something that works. Now this doesnt actually make the NAV transparent but it seems like the Nav flyover widget inherits a lot of properties from the main site css so here is how i got around it.
then to remove the borders around the individual labels
I inserted this in a CSS content block on the entire page section, simply because I have a number of pages that are custom from the default theme.
richmondimage.net to have a look
.sm-user-ui { background-color: rgba(0, 0, 0, .5); }
then to remove the borders around the individual labels
.yui3-menu-item>.yui3-menu-label { border: hidden; }
I inserted this in a CSS content block on the entire page section, simply because I have a number of pages that are custom from the default theme.
richmondimage.net to have a look
0
Comments
Terrylowe.com
It doesn't work for me either. I copied both bits of CSS and put into my sitewide CSS box (in customise site > whole site > theme > "modified" (what I called my modded theme) advanced > custom CSS). Your code made the dropdowns more grey and made the borders whiter.
I've removed the code.
I am no CSS expert but is there a stray > in your second bit of code?
I placed the code under "entire site" within my CSS app placeholder. It is the only code I have there
works for me
i had in theme CSS at first , but that did not work
but now in entire site CSS it work fine
note
position is relative by default
/ɯoɔ˙ƃnɯƃnɯs˙ʇlɟsɐq//:dʇʇɥ
The first didn't work for me but this one did Thanks basflt
mark4pics.com }{ Google + }{ Twitter
My Website index | My Blog
.sm-page-widget-nav-toplink .yui3-menu>.yui3-menu-children{position:absolute}
My Website index | My Blog
Yes Allen , it did cause a lightbox problem, your code fixed that.
But I noticed a visible problem with my radius menu in lightbox.
Can you help me hide that?
mark4pics.com }{ Google + }{ Twitter
You have also lost the hover effects of the LB size menu.
BTW, your site menu is so transparent it makes reading anything difficult.
My Website index | My Blog
might add .sm-page-widget-nav-toplink in front of each to make this CSS more specific and see what
happens. Edit: I can't find a specific identifier for this.
My Website index | My Blog
I'm referring to the light gray behind the rounded corners of the menu.
Thanks for the menu tranparency comment, I'll darken it up some more.
mark4pics.com }{ Google + }{ Twitter
hat did fix the broken hover, but it did ADD the Gray box on hover. I eliminated that in my main menu and opted for a white text on hover. How can I fix that?
mark4pics.com }{ Google + }{ Twitter
I'm referring to the light gray behind the rounded corners of the menu.
mark4pics.com }{ Google + }{ Twitter
Fixed it with this code
I would like to turn the text white on hover, Started a new thread for this question
mark4pics.com }{ Google + }{ Twitter
.yui3-menu> .yui3-menu-children {
position: static;
}
.sm-user-ui.yui3-menu-vertical .yui3-menu-children, .sm-user-ui .yui3-menu-vertical {
background-color: rgba(0, 0, 0, 0.4);
}
and everything seems to work fine now and looks great with the transperancy of the menu!
And I put the CSS code in a seperate sitewide CSS I created...it didn't seem to work if I put it in the Theme CSS...
Thanks for this great little hack...
Corporate & Editorial Photojournalism
.sm-user-ui.yui3-menu-vertical .yui3-menu-item:hover,
.sm-user-ui .yui3-menu-vertical .yui3-menu-item:hover,
.sm-user-ui.yui3-menu-horizontal > .yui3-menu-children > .yui3-menu-item .yui3-menu-item:hover,
.sm-user-ui .yui3-menu-horizontal > .yui3-menu-children > .yui3-menu-item .yui3-menu-item:hover {
background: ...........
}
/ɯoɔ˙ƃnɯƃnɯs˙ʇlɟsɐq//:dʇʇɥ
in entire site , you have a menu box
click the wrench icon
make sure Top Link Format and Sub Link Format are the same
/ɯoɔ˙ƃnɯƃnɯs˙ʇlɟsɐq//:dʇʇɥ
Same both. Is't ony for lowercase , upper case
I'm talking about size. I'm able to change the size with text size but the submenu stay at the same
Nav bar -> Gallery -> Maternity Gallery -> Maternity
The coding is applied to Maternity Gallery but not to sub level Maternity