Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1330892

    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

    #1330931

    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

    #1331046

    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

    #1331133

    Hi,

    Please try this instead:

    #custom_html-2 .custom-html-widget a {
        display: table !important;
        margin: 0 auto;
    }

    Best regards,
    Rikard

    #1331225

    Thanks very much Rikard,

    That fixed it! – Button now centred.

    Cheers

    Paul

    #1331244

    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

    #1331395
    This reply has been marked as private.
    #1331399

    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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Centering Widget Button in Sidebar’ is closed to new replies.