Buttons widget length
Hello
How do you ensure that buttons have a minimum length so they line up vertically, irrespective of the length of their text.
I have seen a thread on the same topic with your suggestion involving a custom css ( /* Buttons */.origin-widget-button a { min-width: 220px; }.
Unfortunately it does not work for my environment (my theme is Puro’s Ultra). Hope do you suggest to solve this ?
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
6Hi Jean-François Cyr
You can set a minimum length for buttons with the following CSS. If you navigate to WP AdminAppearanceCustom CSS, you’ll get our custom CSS editor. Just add the following code.
.so-widget-sow-button .ow-button-hover { min-width: 100px; }You might also need to install the SiteOrigin CSS Editor.
Thank you. This works but it has the undesirable side effect of expanding my social icon bottons (SiteOrigin social media buttons) in my footer…
Hi Jean,
I’ve updated the above CSS. This will make it exclusively set a minimum width for only button widgets.
Brilliant !
Hi Jean,
Awesome. Is there anything else I can help you with?
I am all set. Problem solved.
Merci
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.