[Support request] Adjusting space between image and text in post

Home Forums Support [Support request] Adjusting space between image and text in post

Home Forums Support Adjusting space between image and text in post

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #1061111
    Conor

    .site-content img {
    padding: 100px 0px;
    }

    This code works, but I only want it to work in my blog posts, not on my feature images. Is there a way to target this code to my blog posts only?

    Thanks,
    C

    #1061142
    Leo
    Staff
    Customer Support

    Any chance you can link me to the page/post in question?

    Feel free to open a new topic so you can use the private URL field.

    Thanks!

    #1061148
    Conor

    Hey, Leo, the page is https://smartteacherblog.com/?page_id=34

    The photo on this page gets very close to the text when I am on my phone. I added the code above and it fixed the issue, but it also disrupted all of the photos on my home page, which was a huge no-no.

    I think the fix for this issue is to have the padding on the text instead of on the img.

    What do you think?

    C

    #1061163
    Leo
    Staff
    Customer Support

    We will need to adjust the CSS.

    Can you actually open a new topic?

    Your issue is a bit different than the original post here.

    Let me know 🙂

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