Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #229230

    Hi!

    I want to make the content body of a special post-id more larger (on post with no sidebars).

    this is the code, that works on every post:

    #top .fullsize .template-blog .post .entry-content-wrapper > * {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    }

    So I only want to have it on 2 ids, but .post-id-123 or .postid-123 dont work:

    #top .fullsize .template-blog .post-id-123 .entry-content-wrapper > * {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    }

    I get the post id from the link in the editing mode of the post.

    what is wrong?

    Thanx a lot from Simps :-)

    • This topic was modified 10 years, 9 months ago by simpson199.
    #229388

    Hi!

    The Post class gets attached to the body element, so the code should be:

    #top.postid-252 .fullsize .template-blog .entry-content-wrapper > * {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    }

    Cheers!
    Josue

    #230739

    Hi Josue!

    Didn’t word. The example ist:

    This php:
    http://wp1.gsvbaden.de/_extphp/olc2008merkurall.php

    is included here:

    http://wp1.gsvbaden.de/2008/02/26/alle-fluege-vom-merkur/

    I included your code with the postid 147, but the width in the page is not that width like the picture above.

    any idea?

    Thanx a lot!

    Stefan

    #230746

    Hey Stefan!

    Your website is not loading on my end:
    http://wp1.gsvbaden.de/

    http://www.downforeveryoneorjustme.com/http://wp1.gsvbaden.de/

    Best regards,
    Josue

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.