Responsive WordPress Theme – Caliber

A theme with simple controls and limitless potential. Work fast and build an amazing website!   Find out more »

UpThemes – Beautiful WordPress Themes

Create a site your church, gallery, newspaper, blog, recipes, band and more!   See the themes »

Need a little help?  Find answers quickly by searching the forum.
Group Admins
  • andy
  • jeffw

Support for: Salutation: WordPress + BuddyPress Theme

Salutation (WordPress)

Public Group  |  active 4 years, 4 months ago ago
Viewing post 1 to 4 (4 total posts)

Centering a button

  • mthant

    said

    Hello
    I don’t know if you can help me out. I tried to place the standard button (using button shortcode) in the center of the document instead of default left align. I tried HTML as well as CSS. Nothing worked. can you help how to place it in the center using your button shortcode?
    Myo

  • jeffw

    said

    Easy peasy lemon squeezy!

    <div style="text-align:center">
      [button]Button Text[/button]
    </div>

    Make sure you are in Text mode (i.e. not Visual) and that in the article’s Content Options meta box the Auto Paragraphs option is set to “Off”.

  • mthant

    said

    Thanks Jeff
    Lots of help!I was using instead of

    Myo

Viewing post 1 to 4 (4 total posts)
Topic tags: alignment, button, shortcode