Why are there .tag classes on my figure images?

Why do we have to fight against the system, that’s painful…

Can’t we just have a setting that prevent Bricks from having this .tag class?

Hi @Matej,

Can we have an answer on this?
It’s not possible for us to always have to add a more specific CSS selector to fight the width: auto; coming from Bricks .tag class…

Thank you for considering a fix for that.

Have you tried that, @Adrien? Did the ā€œinlineā€ styles solves the issue for you?

If yes, then it’s the same issue as I’ve linked above, and we have an internal task already created.

Please let me know.
Matej

The different template styles may be causing this issue. The hero section might be applying CSS that’s affecting the logo’s size in the single page template.

1 Like

I’m having this same issue when switching from internal to external stylesheets. I would prefer to use external, of course.

Screenshot 2025-05-15 at 5.41.26 PM

It should be solved by using cascade layers @webmonkey

1.12.4: Bricks Ā» Settings Ā» Performance Ā» Cascade Layer
2.0-alpha: Nothing to enable, as it’s the new default

1 Like

Yep, that fixed it. Much appreciated.

Hey guys, I ranted about this on Facebook and Maxime led me here.

I’m still unsure about the reasoning behind adding this class and its CSS ā€œbehind the user’s backā€ (for lack of a better term) and not giving us access to it. It causes us to lose time questioning our sanity and rifling through the DOM to find what’s breaking our layouts.

Case in point: @layers or not, the image in this layout won’t stretch because of height: max-content; on the .tag class.

(Link from the video: dsadsasda Ā» Pflegeteam Lampe)

Well-intentioned as the CSS may be, I’ll go out on a limb and say it interferes with our work.

I wrote some counter-CSS and it’s all good now, but the fact I had to do this reminds me of my Beaver Builder days and triggers some old traumas :wink:

Hey @mr.matt.eastwood the video is not playing for me but if you set align-items: stretch on the container, it should stretch