Tagged: ,

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #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

    #975119

    Hey 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,
    Ismael

    #978558

    Hi 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.

    #978579

    Hi,

    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,
    Yigit

    #978588

    That’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
    #978655

    Hi,

    The second one will only be applied to the hover state because the “Apply only to mouse hover state” is enabled.

    Best regards,
    Ismael

    #978662

    I 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

    #979262

    Hi,

    Is it working when you remove that particular css code? Please provide a link to the page with the non-transparent headers.

    Best regards,
    Ismael

    #979391

    Hi,

    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

    #979938

    Hi,

    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,
    Ismael

    #981393

    I 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;
    }
    #981559

    Hi,

    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,
    Ismael

    #981794

    Hi 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

    #982412

    Hi Jasmer,

    Credentials did not work for me. Could you please update the credentials?

    Best regards,
    Victoria

    #983461

    It 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

    #983659

    Hi,

    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,
    Yigit

    #984380

    This 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

    #985196

    Hi,

    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

Viewing 18 posts - 1 through 18 (of 18 total)
  • You must be logged in to reply to this topic.