Picture of Bill Randall
Component styling
by Bill Randall - Thursday, 24 June 2021, 8:00 AM
 

Hi folks,

I'm trying to style all components (in V5 framework) with a background-color.

I've put the CSS into theme-extras.less but not sure which HBS file would be best to add it to. I think I read that core templates is no longer a good option with V5??

Any help greatly appreciated!

Picture of Bill Randall
Re: Component styling
by Bill Randall - Thursday, 24 June 2021, 10:30 AM
 

I've got it working now...

Putting the CSS into core/component.less seems good.

 

Picture of Ailiniyazi Maimaiti
Re: Component styling
by Ailiniyazi Maimaiti - Wednesday, 8 September 2021, 8:18 AM
 

Great that you could work on it.