Is there a way to keep a color section at the top of the page? Kind of the like fullwidth submenu. I’ve searched and could not find anything on this matter.
Thanks!
Hey tylerjmorrison!
Thank you for using Enfold.
This is possible but it might break the layout of the theme. You can set a unique id using the For Developers: Section ID field. Use fixed-section for example. Set the position to fixed on Quick CSS.
#fixed-section {
position: fixed;
top: 100px;
}
Best regards,
Ismael
Yup, that’s what I had:
#stickycontent {
position:fixed;
z-index: 1000;
opacity: 0.9;
}
It does break the theme, so I wasn’t sure if there was a workaround. The issue is that the content section does not stay in line with the rest of the theme; ex.:
Section 1: Picture
Section 2: Color Background
Section 3: “stickycontent”
What happens is, the “sticky content” section automatically gets moved to the top:
Section 3: “sticky content”
Section 1: Picture
Section 2: Color Background
Is there a way to stop that from happening?
Also, when the “sticky content” CSS is implemented, the following code does not work:
Thanks for the solid support. I am sure I am speaking on behalf of all the members here: we appreciate it!
Double post!
Hey!
Can you post a link to the page where you have this implemented?
Regards,
Josue