Support » Theme: Twenty Twenty » Decreasing padding help needed

Viewing 4 replies - 1 through 4 (of 4 total)
  • https://zupimages.net/viewer.php?id=21/36/ge1y.png

    @media (min-width: 700px) {
    .post-inner {
         padding-top: 0rem; /*default 8rem*/
    }
    }
    .post-inner {
       padding-top: 0rem; /* default 5rem; */
    }
    • This reply was modified 2 months, 3 weeks ago by diagonale.
    Thread Starter chriscaldwell11

    (@chriscaldwell11)

    Hi again, diagonale,

    This worked great to reduce the padding, but it reduced it significantly on the About page, but only a small amount on the Home page.

    Can you tell me why this might be happening? I put the css and media query into the the Additional CSS exactly as you have written, but checked these pages and there is a noticeable difference between the two in the way the padding is working:

    https://chriscaldwell.com/my-images/home-dan.png

    https://chriscaldwell.com/my-images/about-dan.png

    Thank you so much.
    Chris

    hummm,

    there are 3 templates

    • Default template
    • Cover template
    • Full width template

    https://zupimages.net/viewer.php?id=21/37/bcwx.png

    your home page use Cover template and about use Default template

    Solution :

    
    /* post article (Default template)*/
    
    @media (min-width: 700px) {
    .post-inner {
         padding-top: 0rem; /*default 8rem*/
    }
    }
    .post-inner {
       padding-top: 0rem; /* default 5rem; */
    }
    
    /*home Page (Cover template)*/
    
    .cover-header + .post-inner {
       padding-top: 0rem; /* default 10rem; */
    }
    • This reply was modified 2 months, 3 weeks ago by diagonale.
    • This reply was modified 2 months, 3 weeks ago by diagonale.
    • This reply was modified 2 months, 3 weeks ago by diagonale.
    • This reply was modified 2 months, 3 weeks ago by diagonale.
    • This reply was modified 2 months, 3 weeks ago by diagonale.
    Thread Starter chriscaldwell11

    (@chriscaldwell11)

    Hi diagonale,
    Thank you again. I’m almost done tweaking things with this site and you’ve been so helpful!

    I’ve got a couple more questions, but not sure what the protocol is. I’m thinking maybe I should start a new thread in case someone else could benefit?

    I’ll post it now and hopefully you will see it.
    Thank you,
    Chris

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