-
AuthorPosts
-
June 20, 2018 at 6:56 am #975116
Hi guys!
I’d like to adjust the opacity of the drop-down menu background on the ABOUT link on the site below. Have some CSS for this? Opacity about 80%.
Thanks so much,
Jas
June 20, 2018 at 7:09 am #975119Hey Jasmer,
Thank you for using Enfold.
Use this css code to adjust the transparency of the sub menu container.
.header_color .main_menu .menu ul li a { background: rgba(255,255,255,.8); } .header_color .main_menu ul ul { background: transparent; }
Best regards,
IsmaelJune 27, 2018 at 8:11 pm #978558Hi Thanks,
I can see I am going to have to change some elements:
The background color is perfect now as you can see
1. I need to hide the hover background white color
2. I need to change the link text color to white
3. I need to change the link text hover color to perhaps off white just a bit to notice change.June 27, 2018 at 10:04 pm #978579Hi,
Please go to Enfold theme options > Advanced Styling and edit “Main Menu sublevel Links” and check “Apply only to mouse hover state” then delete background color field and set font color as needed.
Regards,
YigitJune 27, 2018 at 10:26 pm #978588That’s nice, looks great. Thank you! I tweaked it a little.
But for some reason, I have two of those here? I can’t remember why I put them here.
Does the top entry override and the bottom one become redundant?
Or are they combining effects and can I just combine them into one entry?
https://www.dropbox.com/s/lnhusywcts5khqk/Screen%20Shot%202018-06-27%20at%204.17.21%20PM.png?dl=0
- This reply was modified 6 years, 4 months ago by Jasmer. Reason: update
June 28, 2018 at 1:48 am #978655Hi,
The second one will only be applied to the hover state because the “Apply only to mouse hover state” is enabled.
Best regards,
IsmaelJune 28, 2018 at 2:16 am #978662I changed the second one from #bbbbbb to #fa0000 and there is no change on the drop-down menus on hover.
Is there some conflicting quick CSS?
Perhaps this? This was to fix when I am hovering on non-transparent headers.
.header_color .main_menu ul:first-child > li a:hover, #top #wrap_all .av-main-nav ul > li:hover > a .avia-menu-text{ color: #D3D3D3!important; } /* fix menu hover color on non-transparent headers*/
Thank you,
Jas
June 29, 2018 at 11:16 am #979262Hi,
Is it working when you remove that particular css code? Please provide a link to the page with the non-transparent headers.
Best regards,
IsmaelJune 29, 2018 at 3:53 pm #979391Hi,
If I remove ithe CSS how would it work? The purpose of adding CSS is to make something work. If I remove it then what would work?
I’m not sure I understand your question. I added CSS for an effect, if I remove the CSS there will be nothing to make the effect.
Please review from the first post.
Thank you,
Jas
July 2, 2018 at 5:57 am #979938Hi,
The sub menu color is being set to “#bbbbbb” when hovered so that css code is not being applied.
#top #wrap_all .av-main-nav ul > li:hover > a, #top #wrap_all .avia_mega_div, #top #wrap_all .avia_mega_div ul, #top #wrap_all .av-main-nav ul ul { color: #bbbbbb; background-color: #ffffff; }
Did you toggle the css/js compression in the Enfold > Performance panel? Please provide the login detains in the private field.
Best regards,
IsmaelJuly 5, 2018 at 12:33 am #981393I just added css/js compression features. They were not disabled by default, I’m guessing because my site was developed before these options were available?
Before we make any changes are you telling me this is redundant CSS I have manually added to quick CSS perhaps? I may have done this some time ago and don’t remember. I’d like to understand what is going on before we change anything? Should I just remove the below CSS and leave the Advanced Styling?
#top #wrap_all .av-main-nav ul > li:hover > a, #top #wrap_all .avia_mega_div, #top #wrap_all .avia_mega_div ul, #top #wrap_all .av-main-nav ul ul { color: #bbbbbb; background-color: #ffffff; }
July 5, 2018 at 12:48 pm #981559Hi,
Yes, I guess that’s the case. You should leave the compression disabled while configuring the site.
I can’t see advanced styling modification when I inspect the menu, maybe because the stylesheets are minified, so you should leave the above css code for now.Best regards,
IsmaelJuly 6, 2018 at 2:20 am #981794Hi Ismael,
The CSS you included is not manually added to Quick CSS, So, it is coming from something else. There does not seem to be conflicting CSS that was added by me.
I changed the sublevel link color on hover to #db18db and there is no change.
PS, originally the css.js compression was OFF. I turned it on only after you mentioned it. So I’m not sure why you couldn’t see what you needed to originally.
Please check it out. Thanks for your help!
Jas
July 7, 2018 at 11:50 am #982412Hi Jasmer,
Credentials did not work for me. Could you please update the credentials?
Best regards,
VictoriaJuly 10, 2018 at 2:57 am #983461It works now. Please try the credentials again.
Important – Everything on the site looks as it should. I am just wondering why the Advanced Styling for the submenu ON HOVER does not change when I change the color.
Thanks,
Jas
July 10, 2018 at 1:26 pm #983659Hi,
It was because of following custom CSS code
.header_color .main_menu ul:first-child > li a:hover, #top #wrap_all .av-main-nav ul > li:hover > a .avia-menu-text{ color: #D3D3D3!important; }
I changed it to following
.av_header_transparency.header_color .main_menu ul:first-child > li > a:hover, #top #wrap_all .av_header_transparency .av-main-nav ul > li:hover > a > .avia-menu-text{ color: #D3D3D3!important; }
Please review your website
Best regards,
YigitJuly 11, 2018 at 10:17 pm #984380This fixed that problem, but I think this may have had an unintended effect. Here is what is supposed to happen:
1. This site has a transparent header until your scroll. Then the header changes to white.
2. On the transparent header, the menu links are white
3. When you scroll and the transparent header changes to white, the menu links change to dark grey so they can be seen
4. However, when the header is in the white stage and you hover on the menu link, the menu link changes to white (this makes it disappear). When the header is white and I hover on a menu link it should change to dark grey. (see screenshot below)
Number 4 is the only thing I want to change. 1, 2 and 3 should not change.
Thank you,
Jas
Please test hovering on links in both
July 13, 2018 at 3:50 pm #985196Hi,
For testing purpose, I have disabled CSS and JS merging from Enfold > Performance options.
To change the menu hover link color I have added the below CSS in Enfold > General Styling > Quick CSS
/* Menu hover color */ #avia-menu .current_page_item > a > .avia-menu-text, #avia-menu .menu-item:hover > a > .avia-menu-text { color:#24f; }
Please feel free to check the color value to suit your design.
Don’t forget to bookmark Enfold Documentation for future reference.
Thank you for using Enfold :)
Best regards,
Vinay -
AuthorPosts
- You must be logged in to reply to this topic.