Site logo

Archived topic

Generatepress layout "bug" when image is aligned to the right of the text

2 replies · Started by nicolas on January 31, 2021

Viewing posts 1–3 of 3

I use the last generatepress theme (3.0.2). When I align a tall image to the right or the left of the text, the said image exceeds the bottom of the article container when there is a small amount of text.

I don't see any answers

Noone else has this problem?

In the generatepress theme, someone should add "clear:both;" in a class of the footer (maybe a new class)

Hi there,

sometimes a topic slips through our help desk system, so please accept our apologies for not responding to your original topic.

Simples fix to add this CSS:

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

Then assign the clearfix class to your text block.

There are a few open issues on the Gutenberg Github regarding floats, they have yet to find a good solution to implement.

This archived topic is closed to new replies.