Need help? Check out our Support site, then


Width of posts

  1. Hi there,

    I've been trying to fix the width of the text on my blog (michaelgunadi.com) so that it matches up to the width of the images.

    As a means of fixing this, I've applied the following code in the Stylesheet Editor:

    article p, article ul, article ol, article blockquote, #content.page p, #content.page ul, #content.page ol, #content.page blockquote {
    font-size: .875em;
    line-height: 1.5em;
    margin-bottom: 1.5em;
    width: 900px!important;
    }

    When I preview it, everything looks fine (i.e. text stretches out to the width of the images). However, if I click Save Stylesheet and take a look at my site it looks like the changes haven't applied.

    Any thoughts on this?

    Thanks,
    Mike

    The blog I need help with is michaelgunadi.com.

  2. This worked for me:

    article p, article ul, article ol, article blockquote, #content.page p, #content.page ul, #content.page ol, #content.page blockquote {
        width: 100%;
    }
    #content article p img, #content.page p img {
        max-width: 100%;
    }

    WordPress caches pages, depending on whether you have a logged in view in the browser where your look at the page (the black bar at the top) then it could be showing you the cached result, instead of the changed result. This might be what is occuring with you, otherwise I don't know unfortunately.

  3. WordPress caches pages, depending on whether you have a logged in view in the browser where your look at the page (the black bar at the top) then it could be showing you the cached result, instead of the changed result.

    May I just correct one thing here? Browsers cache pages, not WordPress. The logged in and logged out views in WordPress should be the same or very similar. One difference, for exemple, might be that logged in authors might see an "edit" link while logged out visitors of course don't see links like that.

    @mikegunadi, I tested the first CSS snippet you mentioned worked just fine for me. I checked http://michaelgunadi.com/ and the text is just a little bit wider than the content width right now. Can you reply back again if you still need help or if you're still having any trouble at all getting changes to appear after saving CSS?

  4. It appears you're question has been answered, so I'm going to mark this topic as resolved. If you need further help, please start a new help request.

Topic Closed

This topic has been closed to new replies.

About this Topic