Support » Fixing WordPress » Change the page width

Viewing 8 replies - 1 through 8 (of 8 total)
  • esmi

    (@esmi)

    Forum Moderator

    Which images? All of the images on the second page are only about 300px wide.

    mrsmcy

    (@mrsmcy)

    Sorry I meant the actual page width (the content) not the image size. One page the writing goes across the whole width but not on the other.

    WPThemes.co.nz

    (@wpthemesnz)

    assuming that the page that is only going three quarters of the way is a WordPress Page, edit your page.php file and look for the html tag that says:

    <div id="colLeft">...

    and change the id to:

    <div id="colFull">...

    Basically, everytime you want to have the content go full width, use the id colFull

    And I assume that this is a custom theme and not a theme you downloaded and would be updated from time to time. If it is, then I would suggest doing your changes via a child theme.

    esmi

    (@esmi)

    Forum Moderator

    Before you touch any theme template files, are you applying the same page template to both Pages? It doesn’t look like from the source markup.

    mrsmcy

    (@mrsmcy)

    No it’s not, the one that goes all the way across is a Category page where as the other is a Page with Default template applied. I want to change all Pages to be full width.

    mrsmcy

    (@mrsmcy)

    Thanks wpthemesnz that code has worked.

    Thank you

    [Please do not post in uppercase & shout at us. Post de-capped.]

    How can we do this in the wordpress program without going into code?

    esmi

    (@esmi)

    Forum Moderator

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Change the page width’ is closed to new replies.