Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1009119

    Kriesi,

    How would I change the color of some of the elements with my Transparent & Glassy Header. I’m looking to change a few different elements including:

    1.How would I change the color of the small bar when the menu is transparent? I set the color in advanced settings but it doesn’t seem to work.
    2. How do I change the color and opacity of the transparent menu? Right now it is a transparent white. I’m hoping to make it a less transparent white?
    3. How would I change the color and opacity the glassy menu once scrolled?

    Looking forward to your response,

    #1009289

    Hey Team100,

    Could you please attach a mockup of what you’re trying to achieve?

    You mean you want the small bar not to be transparent on the transparent header?

    Try this code in Quick css:

    
    #top .av_header_glassy.av_header_transparency #header_main {
      background-color: rgba(255,255,255,0.5);
    }
    

    Do you mean something like this?

    Best regards,
    Victoria

    #1009930

    Kriesi,

    I attached a mock of what I’m trying to achieve.

    #1010220

    Hi,
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    #top .av_header_transparency #header_meta {
    background: rgba(0, 0, 0, 0.7) !important;
    }
    .header_color .header_bg, .header_color .main_menu ul ul, .header_color .main_menu .menu ul li a, .header_color .pointer_arrow_wrap .pointer_arrow, .header_color .avia_mega_div, .header_color .av-subnav-menu > li ul, .header_color .av-subnav-menu a {
    background-color: rgba(0, 0, 0, 0.7) !important;
    }
    .header_color .sub_menu>ul>li>a, .header_color .sub_menu>div>ul>li>a, .header_color .main_menu ul:first-child > li > a, #top .header_color .main_menu .menu ul .current_page_item > a, #top .header_color .main_menu .menu ul .current-menu-item > a, #top .header_color .sub_menu li ul a {
        color: #fff !important;
    }
    #top .av_header_glassy.av_header_transparency #header_main {
        border-color: rgba(255,255,255,0.7) !important; 

    Best regards,
    Mike

    #1010991

    Kriesi,

    When I added that code it made my header get squished horizontally. I added a picture in private. There are few other things im trying to solve:

    1. How do I make the header background when scrolled down a darker white? It is too transparent right now.
    2. I need the font in The top bar to be white. I set it in advanced but it does not work.
    3. How do I remove the gray bottom boarder (Under the top bar and between the icons?)

    #1011304

    Hi,
    Thank you for the screenshot, the css above only changes the colors and not height, perhaps it’s a color illusion?
    I tried testing with and without the css but I don’t see a change in height, unless I’m looking at the wrong area.
    I made a video of my test to show what I mean. Please see video link in the Private Content area.

    To make the header background a darker white please try changing the “0.7” to a higher number.

    .header_color .header_bg, .header_color .main_menu ul ul, .header_color .main_menu .menu ul li a, .header_color .pointer_arrow_wrap .pointer_arrow, .header_color .avia_mega_div, .header_color .av-subnav-menu > li ul, .header_color .av-subnav-menu a {
        background-color: rgba(255, 255, 255, 0.7) !important;
    }

    But I found the header to see when scrolling over a white area of your site, perhaps try testing a lighter black will help?

    
    .header_color .header_bg, .header_color .main_menu ul ul, .header_color .main_menu .menu ul li a, .header_color .pointer_arrow_wrap .pointer_arrow, .header_color .avia_mega_div, .header_color .av-subnav-menu > li ul, .header_color .av-subnav-menu a {
        background-color: rgba(0, 0, 0, 0.3) !important;
    }

    To make the phone text white, please try this css:

    .phone-info {color: #fff !important;}

    To hide the top bar borders, please try:

    #top .social_bookmarks li,#top .av_header_transparency #header_meta {
        border-right-style: none !important; 
        border-bottom: none !important;
    }

    Best regards,
    Mike

    #1011482

    Kriesi,

    I don’t think it is a color illusion. When I Add the below code the layout of the header changes as you can see from the screenshots below. This is what it looks like when I remove it – compared to when it is inserted and removed in the private area.

    #top .av_header_glassy.av_header_transparency #header_main {
        border-color: rgba(255,255,255,0.9) !important; 

    I Tried changing the numbers you gave me but they do not work as well. This is the code I have inserted.

    #top .av_header_transparency #header_meta {
    background: rgba(0, 0, 0, 1) !important;
    }
    
    .header_color .header_bg, .header_color .main_menu ul ul, .header_color .main_menu .menu ul li a, .header_color .pointer_arrow_wrap .pointer_arrow, .header_color .avia_mega_div, .header_color .av-subnav-menu > li ul, .header_color .av-subnav-menu a {
    background-color: rgba(255, 255, 255, 0.7) !important;
    }
    
    .header_color .sub_menu>ul>li>a, .header_color .sub_menu>div>ul>li>a, .header_color .main_menu ul:first-child > li > a, #top .header_color .main_menu .menu ul .current_page_item > a, #top .header_color .main_menu .menu ul .current-menu-item > a, #top .header_color .sub_menu li ul a {
        color: #fff !important;
    }
    
    #top .av_header_glassy.av_header_transparency #header_main {
        border-color: rgba(255,255,255,0.9) !important; 
    
    #top .social_bookmarks li,#top .av_header_transparency #header_meta {
        border-right-style: none !important; 
        border-bottom: none !important;
    }
    
    .phone-info {color: #fff !important;}
    
    #1011526

    Hi,
    Oh I see, you mean from side to side, the width. I was looking at the height, I bet you have a missing bracket in your css.
    Please include a admin login in the private content area so we can take a closer look.

    Best regards,
    Mike

    #1011566

    See Private.

    #1012103

    Hi,
    Thanks for the login, I did find that your css was missing a bracket, which I fixed.
    It is now working correctly, Please clear your browser cache and check.

    Best regards,
    Mike

    #1012455

    Kriesi,

    Thanks.

    How would I make the header darker when scrolled down and when first opened? I tried adjusting the numbers but I see no changes…

    #1012591

    Hi,
    When you say a darker header, do you mean a less transparent white, or a transparent black?
    For the header before scroll, this css is a black:

    #header {
        background: rgba(0, 0, 0, 0.5) !important; 
    }

    this one is a white:

    #header {
        background: rgba(255, 255, 255, 0.5) !important; 
    }

    For after scroll I see it is set to a white 0.9, and that is what I seeing, perhaps try clearing your cache. Or let us know if you want it to be a transparent black.

    Best regards,
    Mike

    #1091711

    Thanks! Close

    #1091728

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Transparent & Glassy Header Colors’ is closed to new replies.