# DUPLICATE: Reset ID styles resets class

**URL:** <https://forum.bricksbuilder.io/t/duplicate-reset-id-styles-resets-class/10788>\
**Category:** Bugs\
**Tags:** v1-7\
**Created:** [March 18, 2023, 6:31am UTC](https://forum.bricksbuilder.io/t/duplicate-reset-id-styles-resets-class/10788 "2023-03-18T06:31:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarketingSpectrum](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/marketingspectrum/32/4285_2.png) [@MarketingSpectrum](https://forum.bricksbuilder.io/u/MarketingSpectrum)\
**Post date:** [March 18, 2023, 6:31am UTC](https://forum.bricksbuilder.io/t/duplicate-reset-id-styles-resets-class/10788/1 "2023-03-18T06:31:10Z")

</div>

**Browser** : Chrome  
**OS** : Windows  
**URL** : n/a

When copying styles from ID level to class.  
And then resetting the ID, the class (unselected!) gets reset as well.

Seems to be a bug.

To reproduce:

/\* FROM BRICKSLABS \*/  
Here are the steps to copy styles from ID to a class:

1. Select the element for which there is at least 1 custom style set to its ID
2. Click on the element classes input
3. Create or select a class for the element
4. Click on the element classes input again
5. Click “Copy styles” icon for the element ID
6. Click “Paste styles” icon for your desired class
7. Click “Reset styles” for the element ID

At step 7, class resets too.

---

<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:** [March 20, 2023, 2:21pm UTC](https://forum.bricksbuilder.io/t/duplicate-reset-id-styles-resets-class/10788/2 "2023-03-20T14:21:37Z")

</div>

Hi Michael,  
Thanks so much for your report.

The problem has already been reported:

> [@SOLVED: Removing styles from ID removes it from the class instead](https://forum.bricksbuilder.io/t/wip-removing-styles-from-id-removes-it-from-the-class-instead/10428):
>
> Browser: Opera Latest OS: Win 11 URL: Link to a page that illustrates this issue Unfortunately there seems to be an issue with screen recording on Opera (jam, birds and komodo all failed) How to replicate: Styles on ID Copy styles on ID Choose the Custom Class Paste the copied ID styles to the Custom Class Reset Styles on ID This removes the styles on the custom class and keeps them on the ID. Instead of removing the styles on the ID Many thanks Mick

I’ll close this thread accordingly.

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:** [March 20, 2023, 2:21pm UTC](https://forum.bricksbuilder.io/t/duplicate-reset-id-styles-resets-class/10788/3 "2023-03-20T14:21:50Z")

</div>

Closed on March 20, 2023, 2:21pm UTC


