# DUPLICATE: Duplicate CSS in query loop

**URL:** <https://forum.bricksbuilder.io/t/duplicate-duplicate-css-in-query-loop/31708>\
**Category:** Bugs\
**Tags:** v1-12-3\
**Created:** [April 11, 2025, 9:52am UTC](https://forum.bricksbuilder.io/t/duplicate-duplicate-css-in-query-loop/31708 "2025-04-11T09:52:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HOSEIN](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/hosein/32/25907_2.png) [@HOSEIN](https://forum.bricksbuilder.io/u/HOSEIN)\
**Post date:** [April 11, 2025, 9:52am UTC](https://forum.bricksbuilder.io/t/duplicate-duplicate-css-in-query-loop/31708/1 "2025-04-11T09:52:28Z")

</div>

**Browser** : Chrome 135.0.7049.85  
**OS** : Windows

Hi bricks team,

I remember there were reports about duplicate css before, but I don’t know if they mentioned query loops…  
Anyway Duplicate css it happens in the query loop. For example please see [this page](https://avangtheme.ir/query-loop/).

 ![duplicate css](https://forum.bricksbuilder.io/uploads/default/original/3X/0/4/04c617d5342d20cf132923aa911adbb105c0dff3.png)

Thank you

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [April 11, 2025, 9:56am UTC](https://forum.bricksbuilder.io/t/duplicate-duplicate-css-in-query-loop/31708/2 "2025-04-11T09:56:53Z")

</div>

Hi Hosein,  
The cause of this is what you and other users already reported. Unfortunately, it’s still in progress:

> [@WIP: External files: repeated image default styles](https://forum.bricksbuilder.io/t/wip-external-files-repeated-image-default-styles/25125):
>
> Browser: Chrome 127.0.6533.89 OS: Windows Hi bricks team, If we use the image element in the query loop, there are a lot of broken styles in the css section. But if the image is outside the query loop, the desired problem does not exist. Is this normal, or is there a problem? [Screenshot]

> [@DUPLICATE: .tag on images again - wasnt happening recently, now it's back](https://forum.bricksbuilder.io/t/duplicate-tag-on-images-again-wasnt-happening-recently-now-its-back/27203):
>
> This was all working fine. I have theme style to set No Caption on images, Bricks set as External CSS. Now, when, even with all the suggestions in various posts about ensuring height and width 100%, Cover, etc, this tag class is taking precedence over the styles applied to classes on the images, which is breaking position absolute.

> [@DUPLICATE: Bricks adds stuff to sections that ruin the frontend layout](https://forum.bricksbuilder.io/t/duplicate-bricks-adds-stuff-to-sections-that-ruin-the-frontend-layout/27628):
>
> Browser: Firefox OS: Windows URL: Link to a page that illustrates this issue I copied a section from one template to another Here you see the section on the page ([https://www.facingthechallenge.com/](https://www.facingthechallenge.com/)) where I copied it from: And here you see the section on the page ([MBTI Teambuilding – Facing The Challenge](https://www.facingthechallenge.com/mbti-teambuilding/)) that I copied it to: Somehow bricks added this: :where(.brxe-image).tag { display: inline-block; height: fit-content; position: relative; width: auto; } Here’s…

> [@DUPLICATE: Duplicate / Redundant CSS Styles (External Files)](https://forum.bricksbuilder.io/t/duplicate-duplicate-redundant-css-styles-external-files/31330):
>
> Although I wouldn’t consider these as real bugs, but I’d like to mention them in hopes we get some updates that output cleaner code in future releases (these are just examples of many instances where I noticed this but you’ll get the idea): 1- If I have for example elements with links in both the header and footer templates, and the css loading method is set to ‘External Files’, there’ll be redundant default styles being duplicate in the generated css files (they’re not needed in the first plac…

Best regards,  
timmse

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [April 11, 2025, 9:57am UTC](https://forum.bricksbuilder.io/t/duplicate-duplicate-css-in-query-loop/31708/3 "2025-04-11T09:57:03Z")

</div>


