Span styling - question of understanding

Hey all,

I’m trying to style a header which has 2 spans. Both using the class .title-txt. So I managed to create the header, defining those two spans, added a global class with the same name, gave it a text color and boom… the whole title is red. When viewing it on the front end, it defaults to black.

So I deleted that global class, applied some custom css to the Bricks settings, and that works.

Why does it not work like expected when I use a global class, which - I thought - should work the same way?

I don’t mind to add custom css, but I would like to understand why that works, while the usual global class way doesn’t.

only possible with custom css. not with their own styling system. sad but true.

Well, not a real issue writing a line of html and css. Wish it’d be more Bricks like though :wink:

depends. i see it as a big issue. especially with their no code claim. but if we see it this way nothing will ever be any issue, right?

True dat. If I remember correctly there will be more nested elements which will make it eventually available to do this without writing custom code. Only time will tell. But alas, we’re a version 1.5. Can’t have it all with V1 :wink:

1 Like

Again…

no code != anything you can imagine

no code == you can build a site without code
2 Likes

It can be used to group elements for styling purposes (using the class or id attributes), or because they share attribute values,
192.168.l.254 such as lang .The span tag is a paired tag means it has both open(<) and closing (>) tags, and it is mandatory to close the tag. The span tag is used for the … This article will provide you with a detailed and comprehensive knowledge of Span tag in HTML with relevant examples to help

I don’t see how that helps me with my original Problem though. I know how the span tag works…