Skip Navigation

[Resolved] Still having issues styling menus

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 8 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

This topic contains 1 reply, has 1 voice.

Last updated by TonyB4998 8 years, 1 month ago.

Author
Posts
#437016

I am trying to get hovering to work on my horizontal menu. I managed to finally get them colored and styled the way I want them to be, but I cannot seem to get my CSS selectors down to the point that it is actually selecting the correct elements, or having an effect on them. Without the following code, when I hover or focus on a menu item, they turn solid white. With the code, they just do nothing. I have to be selecting the appropriate thing to be canceling out wherever the white change is coming from... but why are my changes not showing... I am so frustrated by the perplexity of some of this Bootstrap 3 theming. I understand why the files are minified, but why can we not have them unminified to work with and be able to generate minified copies when we are ready to deploy them. It is impossible to really find anything in these minified files.

All I am trying to do is retain my color, and raise the opacity to 1.0. In Firefox, if I right click the node in the inspector, and activate hover, it does exactly what I want. If I mouse over that element in any browser...nothing.

I would love to just start with a completely blank "Layouts" supported theme and go from there so I was not battling other people's CSS striking from behind the scenes.

.ddl-nav > li#menu-item-57 > a:hover, .ddl-nav > li#menu-item-57 > a:focus {
	opacity: 1.0;
	background: #20cbd4;
}

.ddl-nav > li#menu-item-58 > a:hover, .ddl-nav > li#menu-item-58 > a:focus {
	opacity: 1.0;
	background:#592c82;
}

.ddl-nav > li#menu-item-59 > a:hover, .ddl-nav > li#menu-item-59 > a:focus {
	opacity: 1.0;
	background:#c98924;
}

.ddl-nav > li#menu-item-61 > a:hover, .ddl-nav > li#menu-item-61 > a:focus {
	opacity: 1.0;
	background:#2d892d;
}

.ddl-nav > li#menu-item-62 > a:hover, .ddl-nav > li#menu-item-62 > a:focus {
	opacity: 1.0;
	background:#2d5389;
}

.ddl-nav > li#menu-item-63 > a:hover, .ddl-nav > li#menu-item-63 > a:focus {
	opacity: 1.0;
	background:#892d3c;
}

#menu-item-57 {
	vertical-align: middle;
	font-size: 11pt;
	color: white;
	font-weight: 0500;
	background:#20cbd4;
	width: 170px;
	opacity: 0.7;
}

#menu-item-58 {
	font-size: 11pt;
	color: white;
	font-weight: 0500;
	vertical-align: middle;
	background:#592c82;
	width: 170px;
	opacity: 0.7;
}

#menu-item-59 {
	font-size: 11pt;
	color: white;
	font-weight: 0500;
	vertical-align: middle;
	background:#c98924;
	width: 170px;
	opacity: 0.7;
}

#menu-item-61 {
	font-size: 11pt;
	color: white;
	font-weight: 0500;
	vertical-align: middle;
	background:#2d892d;
	width: 170px;
	opacity: 0.7;
}

#menu-item-62 {
	font-size: 11pt;
	color: white;
	font-weight: 0500;
	vertical-align: middle;
	background:#2d5389;
	width: 170px;
	opacity: 0.7;
}

#menu-item-63 {
	font-size: 11pt;
	color: white;
	font-weight: 0500;
	vertical-align: middle;
	background:#892d3c;
	width: 170px;
	opacity: 0.7;
}
#437022

resolved by dropping my selectors back to this:

.ddl-nav > #menu-item-63:hover, .ddl-nav > #menu-item-63:focus

and by doing this to get rid of the default white/light gray:

.ddl-nav > li > a:hover, .ddl-nav > li > a:focus {
	text-decoration: none;
	background-color: transparent;
}

The forum ‘Types Community Support’ is closed to new topics and replies.