Stretch single page width to 1280px
Hi,
Page width is 1080px, and I would like to be able to embed a youtube video at 1280px.
Is it possible to stretch the page width on just this page? (see example)
If I choose Row styles > Full width stretched – the youtube video gets stretched all the way, and I don’t want that, just a PageBuilder widget that stretches out to 1280px.
Can it be done?
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
3Hi Hans Christian
If I understand what you want correctly, here’s a simple solution:
Edit the Page Builder row and go to Row Styles > Attributes and in Cell Class enter my-wider-video-cell.
Then in Appearance > Custom CSS enter:
.my-wider-video-cell { width: 1280px; margin-left: -100px; } @media (max-width:1280px){ .my-wider-video-cell { width: 100%; margin: auto; } }Hope that’s what you were looking for.
Hi Braam,
You do understand me right :-)
Works perfectly, but needs the !important to do so.
Thanks!
Awesome, glad that worked for you. :)
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.