Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1086362
    Moonworks
    Participant

    I’m having trouble when adding a button.

    I’ve added the text and checked that there is no additional code in what I’ve added, but there is a gap at the top of the button, so instead of being centred, the text appears to be at the bottom of the button.

    Is there a way to fix this?

    http://moonworks.co.uk/website-design

    Thanks.

    #1086523
    Paul R
    Moderator

    Hi,

    Please add this in the style field of your button element.

    
    padding: 0.813em 1.125em;
    

    Then change your text to

    
    <h3 style="text-align: center; margin:0;"><strong>REQUEST<br>
    A QUOTE<br>
    </strong></h3>
    

    Hope that helps

    #1086524
    Paul R
    Moderator

    Hi,

    Please add this in the style field of your button element.

    
    padding: 0.813em 1.125em;
    

    Then change your text to

    
    <h3 style="text-align: center; margin:0;"><strong>REQUEST<br>
    A QUOTE<br>
    </strong></h3>
    

    Hope that helps

    #1086718
    Moonworks
    Participant

    Thank you

    #1086796
    Joao
    Moderator

    You are welcome 🙂

    Joao

  • <script> jQuery(function($){ $("#no-reply-1086362 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>