How can I make the header transparent and change opacity when using a sticky header.
Transparency of headers on templates
12 replies
Hi
Thanks for contacting us. Youv can use custom CSS for that. If you need any help just ping me here. Dont forget to give me your site URL and also screenshot of that portion.
-Regards.
Yes, I will like assistance with the custom CSS. Thanks
Hi
Use this custom CSS
#sp-header.header-sticky{
opacity: 0.75;
}
Path towards custom CSS: Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.
Thank you for the answer, but what I need to do is to have is a tranparent menu like POLITICO. I do not want to have the white color behind the menu.
Where is POLITICO? Please give me the link.
I worte the wrong name of the thempalte ia called POLITICAS and is one of the ones you offer in your site. I have tried to make it transparent and even changed templates, but I can't. It is beyond my skills. I am a designer not a coder.
I have resilved the issue from an article in the internet. Tha only problem I need help is that when the header is transparent I need the menu text to be white. Right know I can not see part of the menu becausethe font is black. see photo below.
https://www.dropbox.com/s/fuj7ntcnv2ke54q/Screen%20Shot%202022-03-28%20at%206.54.03%20AM.png?dl=0
Ok then use this custom CSS
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span, .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a{
color:white !important;
}
well it worked to change the color to white, but know the sticky header has white text and you can't see it.
I think you should change the font color from white to different color otherwise you will get more issues, like your dropdown background color is also white and the header sticky menu color is also white. Your different page is also white. So if you set the menu color white then you have to change so many things. It's better you should change the font color from white to different color.
Hope you understand.
Thanks
Hello. all I need the website is to work like the demo, and it is not doing that. Your code is changing the font to white and that is why I can't see the text. Please, just make it work like the demo. See pic below. thanks. I have tried the code you sent and it is not working.