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.
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
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