-
Hello,
I have the following css:
.content-area figure.wp-block-image {
margin-bottom: 25px;
}I wrote 2 Posts with images, and there is a space below the images, as it should be.
But now I have post another post, and suddenly, there is no space below the images?
Why is that?
-
Hi,
Change the CSS to:
.content-area .wp-block-image { margin-bottom: 25px; }
-
thanks, that seems to work
-
No Problem 🙂
-
charan
Hi, Ying
I have a same problem. I tried this code and another code below, but neither worked.
.content-area .wp-block-image {
margin-bottom: 25px;
}.site .wp-block-image {
margin-bottom: 20px;
}.site figure.wp-block-image {
margin-bottom: 20px;
}check image
-
-
Try:
.wp-block-image { margin-bottom: 20px !important; }
-
charan
The all code only works on mobile, but not on desktop.
-
Paste the code at the very top of the Customizer > Additional CSS
-
charan
That’s it worked. David, thank you very much.
-
You’re welcome
- You must be logged in to reply to this topic.