Site logo

Archived topic

Non GP specific CSS request

3 replies · Started by Krystian on January 27, 2020

Viewing posts 1–4 of 4

Hello,
I'm trying to align columns to have the same margins (0px). It's fine on a smaller screen, but on a medium I get something like this:
IMAGE

My gutenberg blocks looks like that:
IMAGE

My CSS for these columns is:

.wp-block-columns {
	margin: 20px 0 20px 0;
	display: block;
	font-size: 15px;
}

.wp-block-column {
    margin: 20px 0 20px 0;
}

Removing display: block; solves the problem but then columns break much later (on smaller screens), which is not ideal.

Hi there,

Sorry not quite sure what you are trying to achieve here.

The second image requires permission to view so I can't actually see it.

Can you explain a bit more about what you are trying to do?

Hi,
thanks for an answer I will explain it later :) .

Sounds good.

Please make sure the question is indeed related to GP though as it's one of our forum rules.

Thanks!

This archived topic is closed to new replies.