Is it possible to align center the buttons in a post?
Buttons
(7 posts) (4 voices)-
Posted 1 year ago #
-
a code like this works to center the button (in version 1.4.0.2):
<p class="aligncenter" style="width:100px;">[button p="false" link="http://test.com"]text[/button]</p>Posted 1 year ago # -
Wouldn't it be easier to include the alignment in the buttons shortcodes as well? I am having so much trouble to center align buttons in a content box. Puuh.. Basically I want to have a full width box type 1 containing to 2 buttons, center aligned. I have no clue how to achieve that without adding a whole lot of extra space above and below the buttons.
Oh, I would suggest a shortcode generator to easily input any shortcode. It is quite troublesome to go back to the demo all the time.
Thanks in advance.
Posted 1 year ago # -
yes, many ways of improving the theme. and improvements will come. a shortcode generator/gui is in the to do list.
This will center align the button in a full width box:
[box]<span class="aligncenter" style="width:100px;">[button p="false" link="http://test.com"]text[/button]</span>[/box]Posted 1 year ago # -
This should hold for a while. Thanks a lot!
Posted 1 year ago # -
Can't I put a button in a widget? When I put a buttoncode in a widget, it will only show the code on my website
Posted 1 year ago # -
you can create a page with the shortcode and use the BF Page widget to add it to the sidebar.
Posted 1 year ago #
Reply
You must log in to post.