Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2016-09-23 04:05:24

admint
Member
Registered: 2013-10-27
Posts: 122
Website

Change the opacity of the drop down menus?

Is there a way to change the opacity of the drop down menus so they don't completely block out an image?

Thanks.

Offline

#2 2016-09-23 06:36:06

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Change the opacity of the drop down menus?

not in the Backlight interface. But probably with custom css


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2016-09-23 07:28:04

admint
Member
Registered: 2013-10-27
Posts: 122
Website

Re: Change the opacity of the drop down menus?

Yeah. And I was hoping someone could/would provide the code if possible.

Thanks.

Offline

#4 2016-09-23 07:53:48

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Change the opacity of the drop down menus?

I took a quick look but couldn't locate the correct selector. Yet. If I get some time I'll poke around a bit more.

If you plan on doing even more customization beyond what the Backlight controls provide, learning some css and how to use the browser's inspector will come in real handy. I really liked "CSS: The Missing Manual"


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#5 2016-09-23 08:07:53

admint
Member
Registered: 2013-10-27
Posts: 122
Website

Re: Change the opacity of the drop down menus?

Thanks Rod, I figured you'd be the one to know. Any I've got some time. My site is pretty much finished for now, just need to tidy up a few things but they won't be over night things.

Really appreciate your help and patience in helping me out.  A BIG THANKS!

Peace smile

Offline

#6 2016-09-23 08:46:33

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Change the opacity of the drop down menus?

no problem. If I can figure out the selector that controls those drop-downs I'll post back.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#7 2016-09-23 14:36:27

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Change the opacity of the drop down menus?

if you only want to affect the drop-downs, I think you'll need to target:

nav li li

Matt

The Turning Gate, http://theturninggate.net

Offline

#8 2016-09-23 14:40:30

MoritzCH
Member
From: Switzerland
Registered: 2014-02-25
Posts: 108
Website

Re: Change the opacity of the drop down menus?

with help from "Stackoverflow" this is working for me:

.sub-menu {
background-color: rgba(255, 255, 255, 0);
}

.menu-item-has-children ul.sub-menu li {
    background-color: rgba(255, 255, 255, 0.5);
}

Hope this helps!

Offline

#9 2016-09-23 16:45:24

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Change the opacity of the drop down menus?

That's a good approach. In anticipation of having a Wordpress theme for Backlight (currently a work-in-progress), we adopting classes from Wordpress navigation so that we'd have consistency. Wordpress code makes a good starting place.


Matt

The Turning Gate, http://theturninggate.net

Offline

#10 2016-09-24 01:50:20

admint
Member
Registered: 2013-10-27
Posts: 122
Website

Re: Change the opacity of the drop down menus?

MoritzCH wrote:

with help from "Stackoverflow" this is working for me:

.sub-menu {
background-color: rgba(255, 255, 255, 0);
}

.menu-item-has-children ul.sub-menu li {
    background-color: rgba(255, 255, 255, 0.5);
}

Hope this helps!

Where am I pasting this code - CSS, Custom PHP? or Page?

Thanks.

Offline

#11 2016-09-24 01:56:19

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Change the opacity of the drop down menus?

in your custom css file


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#12 2016-09-25 02:54:41

admint
Member
Registered: 2013-10-27
Posts: 122
Website

Re: Change the opacity of the drop down menus?

Thank you. Will give it a try now.

Edit: Works like a champ: www.exposedvisions.com

Thanks!!!

Last edited by admint (2016-09-25 03:23:01)

Offline

Board footer

Powered by FluxBB