Archived topic
Sticky column
3 replies · Started by Domenico on April 18, 2022
Good morning,
on desktop I would like the left column to be sticky on this page while the right column scrolls.
I know there is a way to do it but I lack the skills. Can you help me?
Thanks
https://simadelettrodomestici.it/assistenza-elettrodomestici-milano/
Hi Domenico,
Good morning! To do as such, you can try adding class my-sticky to the Container Block holding the widget as such: https://share.getcloudapp.com/GGul5pRN
Then, add this CSS in Appearance > Customize > Additional CSS:
.gb-container.my-sticky> .gb-inside-container {
position:sticky;
top: 20px;
left: 0;
}
.gb-container.my-sticky {
position: relative;
}
Hope this helps! Kindly let us know how it goes. :)
It worked perfectly.
Thanks a lot Fernando
You’re welcome Domenico! Glad to be of assistance! Feel free to reach out if you’ll need assistance with anything else!