Button Sizes

resolved (5 posts) (3 voices)

  1. mdhoward
    Member

    I am aware of the large button and the normal size button, but can you add attributes to the size of button you want in the short code, ie. [button width=500] my text [/button] ?

    Posted 1 year ago #
  2. Elliott
    Support

    Hello mdhoward,

    In this case it would be best to manually type out the HTML for the button and add an inline style to it like this,

    <a href="#" class="button_link" target="_blank" style="width: 200px; text-align: center; opacity: 1;"><span>Read More</span></a>

    Let us know if that works for you.

    Posted 1 year ago #
  3. mdhoward
    Member

    It worked! Thanks

    Posted 1 year ago #
  4. Tatowebdesign
    Member

    I set up my button's alignment to center and my button witdh is changed to "sitewide".

    How an i leave the width like left alignment, with acenter alignement?

    Posted 5 months ago #
  5. Elliott
    Support

    Hello Tatowebdesign,

    You can specify a width like so,

    <a class = "fancy_button aligncenter" style = "width: 150px;" href = "your link goes here">My button text</a>

    Posted 5 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme