Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • dmontpe Friend
    #201373

    Hi.

    First of all, thank you guys for an amazing template. I have a question which I’m sure has a simple answer:

    I’m just trying to place a button in the center of a page but no matter how many combinations of tags I try, I always end up with a button that goes from one end to the other of the page. Like this:

    <p style="text-align:center;"><button type="button">Text</button></p>

    The code above works until I add the button class to it so I’m guessing it’s a template thing. Do I need to tweak the template CSS?

    Regards,

    David


    1. ScreenHunter_01-Sep.-16-20.16
    TomC Moderator
    #549749

    So that we can try to best assist you, please provide the url of the site you’re working on 🙂

    Eragon H Friend
    #549814

    Hi dmontpe,

    I tested at my end but didn’t face the above issue. So, can you kindly the direct link to the page that have that button. I can have a look at that.

    Also, you can try the below code to add this button http://prntscr.com/4nl2ux

    <p class="btn-actions"><a href="http://bit.ly/purity_iii" class="btn btn-primary btn-lg">Check me out</a></p>

    Best regards

    dmontpe Friend
    #549857

    Thanks guys. That was quick!

    Eragon’s code worked perfectly, plus I like the round button better, which, by the way, is not displayed in the typography page for the template. Is there any other page where I can find more stuff like that?

    With that, I figured out what the problem was. When I used Firebug on the typography page, I got “btn btn-block btn-lg btn-primary” and the btn-block part is what was causing me trouble.

    Thanks again.

    David

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  dmontpe 9 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum