Home>Support>Stretch single page width to 1280px

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?

URL: http://wptest01.zkagen-marketing.dk/youtube/

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

  1. 9 years, 7 months ago Braam Genis
    Hi, I Work Here

    Hi 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.

  2. 9 years, 7 months ago zkagen

    Hi Braam,

    You do understand me right :-)

    Works perfectly, but needs the !important to do so.

    Thanks!

  3. 9 years, 7 months ago Braam Genis
    Hi, I Work Here

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More