• The line lengths of my main text area are too long so I’m trying to add extra space to the right margin.

    However, I want keep the margins I currently have on my iPhone… everything is looking fine there.

    Is there any way to adjust for a monitor but not a phone?

    Thanks!

    http://www.marcblaustein.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try adding your css code in here.

    @media screen and (min-width: 960px) {
    
    YOUR CODE HERE
    
    }

    Thread Starter Marc B.

    (@marc-b)

    Do you mean whatever is in my child theme CSS?
    I tried this but no luck. No affect on the right margin.
    Thanks.

    By putting the code in the selector above it will only take effect if the screen is 960px or larger in width.
    So adding your width attribute like the code below will limit the width to 70% if the screen is 960px or more, otherwise it reverts to the default settings.

    @media screen and (min-width: 960px) {
    
    .entry-content {
        max-width: 70%;
    }
    
    }

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Twentytwelve right margin issues’ is closed to new replies.