Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   How to turn off the opacity in the drop down menus... (http://forum.bytesforall.com/showthread.php?t=19482)

colin123456 Jan 27, 2013 04:41 PM

How to turn off the opacity in the drop down menus...
 
Hi

Don't see any opacity settings in CSS.

How do I turn off opacity in the drop down menus.

Thanks!

C

jerryc Jan 27, 2013 04:53 PM

Quote:

Originally Posted by colin123456 (Post 95604)
Don't see any opacity settings in CSS.

How do I turn off opacity in the drop down menus.

Opacity settings default to 1, fully opaque. If you want to add transparency to an element, you have to put it in.

http://www.w3schools.com/cssref/css3_pr_opacity.asp

colin123456 Jan 27, 2013 05:00 PM

Hmmm...well take a look at http://tisdall.org/ and mouse over Descendants on the menu.

Certainly looks like there is some opacity there and when one firebugs it the opacity seems to be build into the code.

I don't get it?

Thanks for responding Jerry.

Colin

colin123456 Jan 27, 2013 05:01 PM

PS - Opacity shows on Firefox and Chrome. Not sure about other browsers.

jerryc Jan 27, 2013 05:07 PM

Quote:

Originally Posted by colin123456 (Post 95607)
Hmmm...well take a look at http://tisdall.org/ and mouse over Descendants on the menu.

Certainly looks like there is some opacity there and when one firebugs it the opacity seems to be build into the code.

Yes, everything is, by default, with no CSS, fully opaque. You could code it as:

Code:

opacity:1;
but that's usually unnecessary.

To add transparency, you have to add code. For example, 50% tranaparent:

Code:

opacity:0.5;
fully transparent:

Code:

opacity:0;

colin123456 Jan 28, 2013 02:05 AM

Hey Jerry,

I really do appreciate your attention to this.

I do understand how to work with opacity in CSS. The issue I have is that there is opacity hardcoded into one of the php pages and I can not find it and when I say opacity I mean opacity settings of any kind from fully opaque to fully transparent.

When you click on the Descendants part of the menu you can partially see through the sub-menu item "Buzz Tisdall" to the H1 "Welcome to the Tisdall Family".

Then right click on the sub menu usng Firebug and you will see this bit of code:

<ul class="sub-menu" style="margin-left: 0px; margin-top: -229px; opacity: 0.97;">

Note the opacity style.

I have looked through the various files available in the Montezuma options section but I can't find it.

C

juggledad Jan 28, 2013 03:51 AM

your site is in maintenance mode so it can't be looked at.

suwak Jun 1, 2013 04:34 PM

Any luck finding the opacity in Montezuma's CSS? Can't find it myself...


All times are GMT -6. The time now is 10:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.