• xamublack

    (@xamublack)


    I have a child theme that uses both single and double column layouts. I used this to force the width of the one column layout to match the width of the two column layout.

    .one-column #page {max-width: 1000px; min-width: 1000px;}

    The problem is the content of the single column layout is still reflecting the narrower width that it was before and I can’t figure out how to widen the width of the single column content without affecting the width of the content on the two column layouts.

    Any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Have you looked at the classes generated in the <body> element? There should be a class that is only applicable to a certain layout.

    Thread Starter xamublack

    (@xamublack)

    Thanks, I will try.

    I should have mentioned that I am of novice level here – the only area that I was able to alter was the ‘Leave a reply’ box at the bottom and because of that I was hoping there was a more comprehensive fix that would adjust the width for anything in that area.

    Thread Starter xamublack

    (@xamublack)

    Any idea where I might find these areas .. wasn’t able to find it in style.css ?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Find what?

    Thread Starter xamublack

    (@xamublack)

    The classes in the <body> element that you referenced. Again sorry, I haven’t had much experience with this.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    View your webpage, right click where applicable and select ‘View source’. Then look search for “<body”

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

The topic ‘[Theme: TwentyEleven] Content Width Issue’ is closed to new replies.