Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #753403

    Hi, I’m currently using the dummy gym theme.

    I’ve been trying to make the header slightly transparent when I first go to the page. I found a CSS code to make it transparent after a scroll, but not initially. Initially it appears to be in a white horizontal box “above” my fullscreen slider image… is there a way to put this header ON the fullscreen slider image (such as in the Health theme).

    Thanks,
    Kyle

    #756223

    Hi Kyle!

    Thank you for using Enfold.

    You don’t need to add any css modification to make a transparent header. Edit the page then set the Layout > Header visibility and transparency to “Transparent Header”.

    Best regards,
    Ismael

    #756662

    Hi Ismael,

    I manged to figure this out in the meantime. However, perhaps you can help me with a similar problem.

    On some pages, I have a fullscreen image at the top; however on others, I have text (such as the FAQ page, link posted privately below).

    Is there a way I can have the header be “on” the images, yet “above” text on pages? I have changed from transparency to no transparency on the page settings, however it is not changing.

    As per another page/user asking for help on this forum, I have turned off sticky header and have the following CSS code: #header{position: fixed !important;} ; however this looks to be preventing different headers on different pages.

    Thank you,
    Kyle

    #756784

    Hey!

    You should remove the css modification because it will set the header in every page to “fixed”.

    #header {
        position: fixed !important;
    }

    If you want a fixed or sticky header, go to the Enfold > Header > Header Behaviour panel. Enable the “Sticky Header” option.

    Cheers!
    Ismael

    #757948

    Hi Ismael,

    So unfortunately that just brings back a prior problem. I’ll try explaining the effect I’m trying to accomplish. Here’s my key points:

    1. On some pages, I wish to have a transparent header over top of an full screen/width image.

    2. On others, I wish to have a header above a full width content box..

    3. I do NOT want a fully transparent header, thus I need to change the opacity… but I think this only applies to the pages where there is a picture underneath.

    4. I would like the header to stick…. BUT I would like it to become MORE transparent when sliding down (compared to the initial transparency/opacity when at the very top).

    Is this possible? Thanks for your assistance!

    #758189

    Hey!

    1. On some pages, I wish to have a transparent header over top of an full screen/width image.

    Set the “Header visibility and transparency” to “Transparent header”.

    2. On others, I wish to have a header above a full width content box.

    Set the “Header visibility and transparency” to “No transparency”.

    3. I do NOT want a fully transparent header, thus I need to change the opacity… but I think this only applies to the pages where there is a picture underneath.

    Set the “Header visibility and transparency” to “Transparent and Glassy Header” instead of “Transparent header”. If you want to adjust the transparency, just add this css code.

    #top .av_header_glassy.av_header_transparency .header_bg {
        background-color: #fff;
        opacity: 0.5;
        filter: alpha(opacity=50);
    }

    Default value is 0.1.

    4. I would like the header to stick…. BUT I would like it to become MORE transparent when sliding down (compared to the initial transparency/opacity when at the very top).

    To make it more transparent on scroll, use this css code:

    .header-scrolled .header_bg {
        opacity: .1;
    }

    Regards,
    Ismael

    #766683

    Hi Ismael,

    Apologies for the delay in getting back to this (was out of the country!).

    The first CSS code for changing the top header’s transparency is working, however the second/last CSS edit you suggested does not seem to be doing anything (the opacity doesn’t change when I edit the value from .1).

    Any ideas?

    Thank you!

    #766853

    Hi,

    Thanks for the feedback. Please try this instead:

    .header-scrolled .header_bg {
        opacity: 0.1 !important;
    }

    Best regards,
    Rikard

    #767529

    Hi Rikard,

    Unfortunately that’s not doing anything either. The opacity level isn’t changing on the scroll. Tried to look into settings however nothing stood out as being a cause of this not working based off the previous suggestions by Ismael.

    #768095

    Hi Koncium,

    I think the rules give by Rikkard do not work, because your header does not get the class .header-scrolled, the reason is that the header is just sticky, not shrinking.

    In this case, you need javascript to adjust transparency or use shrinking header.

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1275358

    hey i have a similar problem i think.
    i have just copied a website that i created on the domain http://www.mobilebarber.ch and exported and imported with the wordpress plugin All-In One WP Migration to the domain http://www.cabrioleballett.ch. Everything works fine except of the header. the Header gets now transparent as soon as i scroll down on every site except of the page “Unterricht”. I have no idea why this page is different than the others but the goal is that every site is like that.
    Please help
    Thank you in advance

    #1275665

    Hi moshpitjoey,

    Please check the header setting in the layout menu for each page you have this problem on.

    Best regards,
    Rikard

    #1284301

    Hey guys,

    Hope you’re doing great.
    After installing the latest Enfold version, importing a demo, and making sure all configurations are properly set, the transparency menu doesn’t turn into the predefined white menu while scrolling (only in the home page). I’ve been reading all existing threads on this topic, but haven’t figured out a solution yet.

    I would much appreciate your help.
    Great regards,

    HC

    #1284322

    Hey Harold,

    Please provide a link to the site/page in question

    Best regards,
    Jordan Shannon

    #1284335

    Hey Jordan,

    Done. Link provided as private content. Pls be mindful about no clicking on the logo and Home (Inicio) page since the main site’s URL is being redirected while under construction.

    Many thanks!

    HC

    #1286111

    Hi,
    Sorry for the late reply and thanks for the link to your site. Your homepage doesn’t seem to have transparency set for the header, based on the classes in the source code.
    I assume you have transparency set on your page in the backend:
    2021-03-06_154029.jpg
    I also note that it looks like you are using Elementor on the site, so perhaps there is a conflict, did you try disabling your plugins?

    Best regards,
    Mike

    #1286571

    Hi Mike,

    Thanks a lot for your reply. I eventually had changed it when testing the different options we find as per header appearance, but finally, after updating Enfold the bug disappeared, so now the transparency option is behaving as expected.

    Best regards,

    H

    #1286589

    Hey Harold,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

    #1432600

    Hi, how do I set that the menu color changes on scroll only on the home page where I have the transparent header? Like this site https://cabrioleballett.ch/

    #1432759

    Hi,
    Typically the header items colors are chosen by the alternative colors in the Enfold Theme Options ▸ General Styling
    But if these don’t match the colors that you want to use we can help with so custom css. Please open a new thread and link to your site and explain the colors that you want to use. Since this is not your thread you won’t see anything we write in the Private Content area, so it would be better to open your own thread. Thank you for your understanding.

    Best regards,
    Mike

Viewing 20 posts - 1 through 20 (of 20 total)
  • The topic ‘Header Transparency / On top of Fullscreen Slider’ is closed to new replies.