Hi everyone!
I would like to achieve something very similar to the two sticky buttons on this website https://www.grandhoteletdemilan.it/de/milan/geschichte/.
One button is supposed to contain vertically aligned text only, the other an icon.
I don’t want to use a plugin to keep everything as simple as possible. Could you please help? Thanks a lot!
Best,
Hagen
Hey HagenWittig,
Please create a button element enable custom CSS class name support from Enfold > Layout Builder > Developer Options
Add a custom CSS class name “btn-stick” to the button.
Ad lastly add this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
CSS Snippet:
/* CSS - */
.btn-sticky {
position: fixed;
transform: rotate(-90deg);
right: 0;
top:300px;
z-index: 999999 !important;
}
For more info please refer to the documentation.
Best regards,
Vinay
Thank you so much!
Best regards,
Hagen
Hi Hagen,
Great, glad we could help :-)
Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Hi Rikard!
Thanks for your help. All solved now. Please feel free to close the topic.
Best regards,
Hagen