how to center button

Hi There

I have used a button shortcode but can't see how to center it?

http://multi-landscaping.co.nz/home/

Comments

  • Oh it is the "view more" button at the very bottom of the page. I put in 3 coloumn to make it more in the center, but want to display it in the exact center of the page - thanks
  • Hi,

    to center this button, you must center the content inside column where button is.

    Thanks!
  • Yes, but the reason I asked this is I don't know how, please let me know, sorry it is not obvisious to me
  • If this page will be done within Muffin Builder, then will be easy to do this within css. But because you use VC, you must find the right option to change text align inside elements because current code does not allow to center just this button. Or if it is possible to setup class name for the item where button is, please do it and let us know so we can show you how to do this within custom css.
  • Hi There under "coloumn setttings, then design options tab" I set the left and right margins to 0px - is that correct to centre the button on the coloumn or do I change those magin settings to something else? or do I need to use an extra class name? If extra class name is required I have put in the following:
    extra class name on the "button settings" is: home-gallery-but
    extra class name on the "column settings" is: gallery-but-home

    Please give me the css if use of extra class names are required. If I could do it using the VC settings that would be better

    Thanks you
  • Because you setup custom class name, now this can be done within below css:
    .gallery-but-home { text-align: center; }
  • wow easy as thank you
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.