Post images max size

  • Author
    Posts
  • #151564

    Hi, Is there any way to get the post images to be site-wide?

    The blog I need help with is: (visible only to logged in users)

    #151582
    ricardpriet
    Theme Author

    Hello there,

    yes you can have it using this CSS:

    body.single-post .site-main {
        overflow: hidden;
    }
    
    body.single-post .site-main .entry-content img {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc((100vw - 100%)*-0.5);
    }

    Here you are how to add it:
    https://en.support.wordpress.com/custom-design/editing-css/

    Hope this helps,
    Ricardo P.

  • The topic ‘Post images max size’ is closed to new replies.