[Resolved] image getting placed inside paragraph tag?

Home Forums Support image getting placed inside paragraph tag?

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

    Hello,
    I’m not sure why this is happening – may not even related to GeneratePress.

    I’ve added an image inside my content (aligned right), but when I inspect the page, the image is getting placed inside a P (paragraph) tag. This is adding unwanted margins above my content.

    You can see it here…
    http://stannesschool.wpcatholicsites.com/programs/pre-k-3s/

    Is GP doing this or should I look for the answer elsewhere?

    Thanks!
    CB

    GeneratePress 1.3.48
    GP Premium 1.3.1
    #357804
    Leo
    Staff
    Customer Support

    Hi Craig,

    This CSS should remove the margin for you:

    .entry-content {
        margin: 0;
    }

    Let me know if this is what you are after.

    #357811
    Craig

    Hi Leo,
    Thanks for taking a look. I figured it out when looking at it the text editor. There was a line break I missed that was inserting the P tag around my image.

    Thank you!
    Craig

    #357816
    Leo
    Staff
    Customer Support

    Ahh glad you found the problem!

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