WordPress.org

Ready to get started?Download WordPress

Forums

Change the page width (9 posts)

  1. mrsmcy
    Member
    Posted 1 year ago #

    Some of our pages go all the way across the width like this one: http://www.barnesweddings.co.uk/category/wedding-cars-dorset/bramwith/

    but on others its only a three quaters of the way like this page:
    http://www.barnesweddings.co.uk/local-wedding-venues-in-dorset/

    Can anyone help with how I can get those pages across the whole width like the first example?

    Many thanks in advance

  2. esmi
    Forum Moderator
    Posted 1 year ago #

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

  3. mrsmcy
    Member
    Posted 1 year ago #

    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.

  4. WPThemes.co.nz
    Member
    Posted 1 year ago #

    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.

  5. esmi
    Forum Moderator
    Posted 1 year ago #

    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.

  6. mrsmcy
    Member
    Posted 1 year ago #

    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.

  7. mrsmcy
    Member
    Posted 1 year ago #

    Thanks wpthemesnz that code has worked.

    Thank you

  8. andriapt
    Member
    Posted 1 year ago #

    [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?

  9. esmi
    Forum Moderator
    Posted 1 year ago #

    @andriapt: As per the Forum Welcome, please post your own topic.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags