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].
Hello,
I’m trying to set some media queries for columns blocks in one page.
Unfortunately when I set
width:100%; float:left;this doesn’t work.
I don’t want to change the Mobile Width breakpoint (currently on 780px) in the Page Builder as it would apply it throughout the website.
Instead I would like to change the way some blocks display in only one page using media queries.
How can I achieve this?
Thanks
Hi Ica83,
On tablet/mobile devices, we alter the width/float by applying CSS to (for example) a selector like this: #pg-3800-1 .panel-grid-cell Due to the usage of the id, you’ll need to either be more specific or !important your properties.
An example of column CSS we apply is:
This CSS is used on mobiles.