WordPress.org

Ready to get started?Download WordPress

Forums

change single page width (8 posts)

  1. ramonawest
    Member
    Posted 1 year ago #

    i want to make one page only full width, keeping the side bar on all other pages. i followed instructions on this thread: http://wordpress.org/support/topic/changing-the-content-width-of-a-single-page?replies=9
    but it did not increase the page width. it only took away the sidebar.

    any help would be amazing. thank you.

    site is in complete construction mode but the url is http://phantomlover.com

  2. ramonawest
    Member
    Posted 1 year ago #

    btw. it's the shop page that i'm trying to increase the width to full page...

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    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.

  4. ramonawest
    Member
    Posted 1 year ago #

    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?

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    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.

  6. ramonawest
    Member
    Posted 1 year ago #

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

  7. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    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;
    }
  8. ramonawest
    Member
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic