This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Stretch single page width to 1280px

11 years ago · Last reply by Braam Genis 11 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Braam Genis Staff 11 years, 28 days ago

    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. zkagen 11 years, 25 days ago

    Hi Braam,

    You do understand me right :-)

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

    Thanks!

  3. Braam Genis Staff 11 years, 25 days ago

    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.

Have a different question or issue?

Start New Thread