Home>Support>Full width button

Full width button

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. 5 years, 2 months ago Sally Pilkington

    Sorted it with this css…

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

    width: 100%;}

  2. 5 years, 2 months 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. 5 years, 2 months ago SiteOrigin
    Hi, I Work Here

    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