Justified won’t keep it’s line height
-
TLDR: My front end and back end don’t match. My theme is the likely problem, but I can’t find the correct class to override the CSS causing this issue.
So I am loving playing with Galleryberg. But I now have an issue where my backend shows the perfect Justified gallery I want, and my front end doesn’t show my chosen line height and makes an absolute mess out of it. (only the first 4 years of my problem page have Galleryberg, I found out I had an issue before I did all)
Online I found these to force line height, but it doesn’t work, and I think the class might just be wrong, but I don’t know. I’ve been trying to find it with my F12 browser option. But I can’t get it to work.
Theme: GeneratePress, Plugin: Galleryberg,/* Force line height */
.gb-gallery-justified img,
.galleryberg img {
height: 220px !important;
object-fit: cover;
}
/* Keep container clean */
.gb-gallery-justified,
.galleryberg {
display: flex;
flex-wrap: wrap;
}The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.