WordPress.org

Support

Support » Themes and Templates » change single page width

change single page width

Viewing 7 replies - 1 through 7 (of 7 total)
  • btw. it’s the shop page that i’m trying to increase the width to full page…

    WPyogi

    @wpyogi

    Forum Moderator

    You could try adding this to your CSS:

    .page-id-22 .single_left {
        width: 100%;
    }

    Not sure if that will work or mess anything else up, so test it.

    thank you!! that worked. it just bothers me that it’s aligning everything to the left. do you know of any way to center the images on the page horizontally?

    WPyogi

    @wpyogi

    Forum Moderator

    That’s probably a bit involved, but you could try adding

    margin-left: 40px;

    to the above CSS and see if that works – adjust the 40 if need be.

    i just pasted that below the previous code, but it didn’t change anything. i tried 140 as well and no change still

    WPyogi

    @wpyogi

    Forum Moderator

    Your code isn’t quite right –

    page-id-22 .single_left {
        width: 100%;
    }margin-left: 140px;

    It needs to be:

    page-id-22 .single_left {
        width: 100%;
        margin-left: 140px;
    }

    i tried that last code that you suggested and it took away the widening of the page and reverted it back to how it was before. i just deleted the margin-left piece entirely and it went back to the wider page, but still off center.

    does anyone happen to have any more suggestions for centering the images horizontally on the shop page?

    thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘change single page width’ is closed to new replies.
Skip to toolbar