x

Customize Buttons on Home Page Only

I want to set a uniform width for only the buttons on my home page; buttons on the rest of the site can take on widths based on my general button settings.

I know how to set a uniform width in CSS — but how can I target just those buttons on the home page?

537 Views
Message 1 of 2
Report
1 Best Answer

Best Answer

Take your CSS changes and wrap them in style tags, then paste that into the Header Code field for just that page on the pages tab, e.g.

<style>
    .wsite-button
    {
        width: 200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
</style>

View Best Answer >

531 Views
Message 3 of 2
Report
1 REPLY 1

Best Answer

Take your CSS changes and wrap them in style tags, then paste that into the Header Code field for just that page on the pages tab, e.g.

<style>
    .wsite-button
    {
        width: 200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
</style>

532 Views
Message 3 of 2
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.