Home>Support>Full width button

Full width button

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi

Is it possible to create a full width button within a row?

Currently, my default button in my theme only pads to the button content. I’ve tried using full width row setting.

Would I need to create a custom css button or is there another way?
I have tried adding css to the widget styles attributes area:
width: 100%;

but the background colour is applied the the button link , not to the widget itself.

Any advice would be much appreciated

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 years, 20 days ago Sally Pilkington

    Sorted it with this css…

    .so-widget-sow-button-flat-40718317da98 .ow-button-base a {

    width: 100%;}

  2. 6 years, 20 days ago Sally Pilkington

    Previous css fixes one specific button…

    This fixes all:
    .ow-button-base a {

    width: 100%;}

    And I guess you could but a class attribute on the row if you just wanted to target buttons in 1 row.

  3. 6 years, 19 days ago SiteOrigin

    Hi Sally

    Thanks for posting and sharing your solution here on the forums.

    All the best.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More