• Hey, how can I set a padding around the text of a button? Basically, I just want to button to look bigger on the page, but not the text of the button. Thanks!

Viewing 1 replies (of 1 total)
  • you can approach this in several different ways – but if you are not familiar with css then the easiest is to add html code for spaces   before and after your button text

    [su_button size="1"] Click me [/su_button]
    becomes
    [su_button size="1"]   Click me     [/su_button]

    or using styles – when you set up your button you will see an area called Class – add to this btnWidth (whatever you chose to call it)

    so the code becomes
    [su_button class="btnWidth"]Button text[/su_button]

    then you will need to add a custom class to your style sheet
    .btnWidth {
    width: 300px;
    }

    You should read up on wordpress custom style sheets

    • This reply was modified 9 years, 3 months ago by NightL.
    • This reply was modified 9 years, 3 months ago by NightL.
Viewing 1 replies (of 1 total)

The topic ‘Button paddding’ is closed to new replies.