[Resolved] Left Aligned Image with subsequent Heading gives messy layout

Home Forums Support Left Aligned Image with subsequent Heading gives messy layout

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

    If I have an inline left aligned image, a new heading (H1, H2, H3…) after the image is not below the image, but to the right of it, making a messy layout. I would prefer for a heading to start a new section BELOW any inline (left aligned or right aligned) image. Is there any way to do this? I am using a child theme, and adding something to the style.css would be easiest.

    Just switched from my old theme (twenty thirteen) to GeneratePress premium, and I like it 🙂
    Thanks!

    #1333920
    David
    Staff
    Customer Support

    Hi there,

    you can try some CSS like this:

    .entry-content h2,
    .entry-content h3,
    .entry-content h4,
    .entry-content h5,
    .entry-content h6 {
        clear: both;
    }
    #1334035
    Christoph

    Worked perfectly!Many thanks for the fast response 🙂

    #1334224
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.