WIP: Duplicate code generation in Custom CSS in Page settings>Custom Code for templates

Bricks Version: 1.6.1
Browser: Chrome latest
OS Windows .
URL: (Its in a local environment)

I have created a template and assigned classes to my elements in that template.
Then i wrote custom CSS code in Page settings > Custom code under “Custom CSS” as it will load my code in an external style sheet associated with that template. Everything is good.

I opened that page on the browser and went to “Inspect Element” and what I see is that there is always a double code of my custom CSS code.( Duplicate code or redundant code for my exact same class)
I went to the CSS file for that template that is like “post-2043.min.css” in wp-content>uploads>bricks>css>… and that code is also redundant there written exactly one after the other.

I am using External-CSS in bricks settings>performance. I dont get the point of saving the code in such way. It will be going to have a huge impact if I am going to write my custom CSS in page settings for my templates.

Please check if I have done something wrong.
I have tried this on two different local installations and problem is the same.

Thanks in advance.

Looking forward for your response.

Ahmad Mirza.

2 Likes

In my case I’m noticing triple code repetitions in the inspector

Hi Ahmed,
Thanks so much for your report!

I’ve already noticed your post here, was able to reproduce it, and already added it to our bug tracker.

Best regards,
timmse

1 Like