The Book Now widget button is displaying left aligned in the right sidebar and I would like to have it centred instead.
See example page here
I’ve posted the code for this button in the Private Content area below.
I reckon I probably need some custom CSS or perhaps some amendments to the code to centre this button.
Hoping you can help :-)
Thanks
Paul
Hi Paul,
Please try the following in Quick CSS under Enfold->General Styling:
#custom_html-2 .custom-html-widget a {
display: table;
margin: 0 auto;
}
Best regards,
Rikard
Hi Rikard,
Thanks for this code.
I tried it, but it didn’t make a difference unfortunately
Do you have any other ideas?
Thanks
Paul
Hi,
Please try this instead:
#custom_html-2 .custom-html-widget a {
display: table !important;
margin: 0 auto;
}
Best regards,
Rikard
Thanks very much Rikard,
That fixed it! – Button now centred.
Cheers
Paul
Hi,
Great, I’m glad that you got it working. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Hi,
Thanks for letting us know, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard