Best Answer

Does anyone enter branding colors with CSS and then use them on pages?


Userlevel 7
Badge +5

I was thinking of entering branding colors in CSS and then using them on pages, to make my life easier with EE clients. Then I could set all my pages to automatically use branding colors (with various other tweaks obviously) with EE variations.

 

Has anyone tried anything like this? Any known pitfalls to declaring color variables in the CSS and then using them in CSS and pages?

 

icon

Best answer by Bfarkas 7 March 2023, 16:40

View original

4 replies

Userlevel 7
Badge +3

I mean, thats just how CSS works no? Only real downside is the typical CSS downsides of won’t impact mobile app etc.

Userlevel 7
Badge +5

I mean, thats just how CSS works no? Only real downside is the typical CSS downsides of won’t impact mobile app etc.

Just confirming my understanding of CSS.

I’ve never actually used it until last year.

Userlevel 7
Badge +5

I mean I’ve used websites that contain CSS, but never manual edits like this.

Userlevel 3

We've been using the Branding config in the Admin panel to set our brand color palette for the whole site so we havent needed to use CSS. I assumed EE would give you the option to do the same but it sounds like it doesnt. I’d suggest adding that an an idea because I would definitely vote for it. Should be an easier way to do that than CSS since the feature is on the admin panel.

Reply