Jump to content

Archived

This topic is now archived and is closed to further replies.

interactivelimited

How to Globally Change Color.Less Colors Properly

Recommended Posts

interactivelimited+    1
interactivelimited

What is the best procedure for changing the base colors (blue, @Red, etc) globally when using a child theme?

 

I tried creating a /ChildTheme/Less/Color.Less - but that didn't seem to work at all.

 

Any guidance?

 

Thanks!

 

 

Share this post


Link to post
Share on other sites
Erwan    37
Erwan

Hi interactivelimited,

 

What is the best procedure for changing the base colors (blue, @Red, etc) globally when using a child theme?

 

I tried creating a /ChildTheme/Less/Color.Less - but that didn't seem to work at all.

 

Any guidance?

 

Thanks!


Goog procedure (IMO), but you must add a file with the exact name of the less file you'd like to override (see Creating A DMS Theme in documentation).

Here: your /ChildTheme/less/color.less will never override the /DMS/less/colors.less

 

Let me know if it works when corrected ;)


 

Share this post


Link to post
Share on other sites
interactivelimited+    1
interactivelimited

Erwan,

 

Nice catch, I think you are right.

 

I will check next time I fire up my FTP client and report back!

 

Thanks!

Share this post


Link to post
Share on other sites
interactivelimited+    1
interactivelimited

Yes, I had a typo in my less file name.

 

All fixed now!

Share this post


Link to post
Share on other sites
Rob    547
Rob

Excellent!


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

×