Tagged: Opacity Sticky Header
Hi Support
I need 2x CSS Hacks.
1. For Sticky Header with Black background, I put 0.85 Opacity. But as soon as I scroll down, opacity goes opaque, full black 100%.
How can I keep the Sticky Header BG Color transparent when scrolling down? Idid this:
#header_main{
background-color: rgba(0,0,0,0.8) !important;
}
2. How can I achieve a colored Border, while hovering a linked Image? I tried this one:
image-overlay a:hover {
border: 2px solid #ff0000 !important;
}
Any ideas?
Thank you
Steve
Hey Steve,
Thank you for the link to your site, to fix your header after scrolling try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:
#header.header_color .header_bg {
background-color: transparent;
}
for a border around a linked image, try this:
a.avia_image:hover {
border: 2px solid #ff0000;
transition: none;
}
After applying the css, please clear your browser cache and check.
Best regards,
Mike
Great, worked!
Thank you ;-)