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

    Hi,

    I’m trying to add additional padding above and below images on my posts only. For example:

    http://www.discotech.me/guides/should-i-sign-up-for-guestlist-or-buy-tickets/

    I don’t want it to affect images on pages.

    Thanks!

    #454531

    Hey discotech!

    Please try the following in Quick CSS under Enfold–>General Styling:

    .post-entry img {
    padding-top:20px !important;
    padding-bottom:20px !important;
    }

    Cheers!
    Rikard

    #455542

    Hi Rikard,

    When I do this it also adds the margins to my “Pages” as well. I only want to add the styling to “Posts”.

    Specifically, it adds margins to my home page – http://www.discotech.me

    Thanks,

    Mark

    • This reply was modified 8 years, 9 months ago by discotech.
    #455822

    Hey!

    Please use this instead, it will only affect single posts:

    .single .post-entry img {
    padding-top:20px !important;
    padding-bottom:20px !important;
    }

    Regards,
    Rikard

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