Tagged: transparency menu
-
AuthorPosts
-
March 1, 2017 at 4:34 am #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,
KyleMarch 6, 2017 at 8:37 am #756223Hi 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,
IsmaelMarch 7, 2017 at 12:10 am #756662Hi 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,
KyleMarch 7, 2017 at 6:59 am #756784Hey!
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!
IsmaelMarch 8, 2017 at 5:41 pm #757948Hi 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!
March 9, 2017 at 7:36 am #758189Hey!
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,
IsmaelMarch 25, 2017 at 6:16 pm #766683Hi 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!
March 26, 2017 at 7:54 am #766853Hi,
Thanks for the feedback. Please try this instead:
.header-scrolled .header_bg { opacity: 0.1 !important; }
Best regards,
RikardMarch 27, 2017 at 4:10 pm #767529Hi 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.
March 28, 2017 at 12:59 pm #768095Hi 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,
VictoriaJanuary 26, 2021 at 1:15 am #1275358hey 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 advanceJanuary 27, 2021 at 6:07 am #1275665Hi moshpitjoey,
Please check the header setting in the layout menu for each page you have this problem on.
Best regards,
RikardFebruary 28, 2021 at 11:53 pm #1284301Hey 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
March 1, 2021 at 5:44 am #1284322Hey Harold,
Please provide a link to the site/page in question
Best regards,
Jordan ShannonMarch 1, 2021 at 7:40 am #1284335Hey 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
March 6, 2021 at 10:44 pm #1286111Hi,
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:
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,
MikeMarch 8, 2021 at 11:03 pm #1286571Hi 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
March 9, 2021 at 2:04 am #1286589Hey Harold,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan ShannonJanuary 31, 2024 at 11:54 am #1432600Hi, 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/
February 1, 2024 at 6:06 pm #1432759Hi,
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 -
AuthorPosts
- The topic ‘Header Transparency / On top of Fullscreen Slider’ is closed to new replies.