I need to change the background color of a block made of 6 rows. I have created a custom class, I have assigned it to the block and changed the background color in the custom class.
If i switch to view mode, it works, the color is changed regularly.
If i preview in browser or if I export the site, the color is NOT changed, remains the standard white.
On the contrary, if i change the background color on the block panel on the right hand side, the change affects all blocks above.
What I have noticed is that in the sidebar the color of the block is the standard white despite the fact I have changed it in the custom class assigned to the block.
It seems to be linked to a Global Watch but I do not find the cross to unlink it!
The best way to control Bloc colours is with Global Swatches. If you require a class it’s only best to use these to apply gradients.
Blocs and rows both support global classes and are by default auto set to the white swatch. Blocs currently can’t have their colour set to transparent.
The colour well in the sidebar is related to global swatches not classes.
It sounds like the class colour is being overidden by the global swatch. Why not just use a global swatch? It will only effect a single bloc, are you sure you don’t have multiple rows in a single Bloc?