Home>Support>flexible margins right/left

flexible margins right/left

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

Hi, I have got large margins which looks good on the computer but shrinks the space available for the text too much on a mobile phone. Is there any way to make margins flexible so that they shrink with screen size?

/* Margins text */
#main { 
padding-right: 100px !important; 
padding-left: 100px !important;
}

URL: http://zahrnt.com

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

  1. 10 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Hi Valentino

    For sure, try changing those px margins to rather use percentages. You’ll need to find out which percentage works best but once you do that should solve this challenge.

  2. 10 years, 9 months ago Valentino Zahrnt

    Shame on me :)

  3. 10 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    No problem, glad we could help out.

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