Skip to main content
Answer

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

  • March 7, 2023
  • 4 replies
  • 88 views

lrodman
Guide II
Forum|alt.badge.img+6

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?

 

Best answer by Bfarkas

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

4 replies

Bfarkas
Hero III
Forum|alt.badge.img+6
  • Hero III
  • Answer
  • March 7, 2023

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


lrodman
Guide II
Forum|alt.badge.img+6
  • Author
  • Guide II
  • March 7, 2023

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.


lrodman
Guide II
Forum|alt.badge.img+6
  • Author
  • Guide II
  • March 7, 2023

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


rich.schmick
Contributor III
Forum|alt.badge.img
  • Contributor III
  • March 7, 2023

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.