Home>Support>Hero Image Margins

Hero Image Margins

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

I’m having difficulties getting text to be outside of the margins of my hero image. I reposition my div using position:relative; and left: -100px;. This works great but the issues comes when I resize my browser. My text is flowing out of the browser and not resizing with it. Any ideas how I could make this work?

Thanks for all your help!

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, 3 months ago Andrew Misplon
    Hi, I Work Here

    Hi Jonathan

    Thanks for reaching out. Sorry we couldn’t reply sooner. Beyond the settings contained in the Design and layout section, it’s tough for us to provide additional customization support at this time. Those settings are:

    Top and bottom padding
    Extra top padding
    Side padding

    That said if your custom CSS is working well for you on desktop, why not just put it in a media query to stop it being applied for mobile. Something like:

    @media (min-width: 1024px) {
        .whatever-your-class-name-is {
            position: relative; 
            left: -100px;
        }
    }
    
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