# BUG? Duplicated classes and IDs on Stylesheets Panel

**URL:** <https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202>\
**Category:** Editing\
**Tags:** bug\
**Created:** [April 16, 2021, 8:24am UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202 "2021-04-16T08:24:44Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Qiero](https://avatars.discourse-cdn.com/v4/letter/q/4491bb/32.png) [@Qiero](https://forum.pinegrow.com/u/Qiero)\
**Post date:** [April 16, 2021, 8:24am UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202/1 "2021-04-16T08:24:44Z")

</div>

Hi there! I am not sure if there is a bug on my code or in Pinegrow or none of them, but it seems strange to me.

Do you guys have always duplicated info of IDs and classes on Stylesheet Control Panel? I think I never had this information and I found it redundant.

The thing is that I also receive an error of “TypeError: Cannot read property ‘hasClass’ of null” when changing any data on the Visual Editor. There is a strange thing on my Pinegrow.

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [April 16, 2021, 9:51am UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202/2 "2021-04-16T09:51:10Z")

</div>

Hey @Qiero,  
Sorry to hear about your troubles. Can you post a screenshot or two of the duplicated info. We might need to get your project to duplicate the error.  
Cheers,  
Bob

---

<div class="post-metadata">

**Author:** ![Qiero](https://avatars.discourse-cdn.com/v4/letter/q/4491bb/32.png) [@Qiero](https://forum.pinegrow.com/u/Qiero)\
**Post date:** [April 17, 2021, 8:45am UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202/3 "2021-04-17T08:45:39Z")

</div>

Hi RobM, thanks for your interest. Here are the screenshots.

 ![Captura de Pantalla 2021-04-16 a les 10.14.40](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/4/4964b5ee7ff594628e81fee262b1da04f049302e.png)  
 ![Captura de Pantalla 2021-04-16 a les 10.13.35](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/c/c2f06e5708b3941c67d2366736efb57e94d435bd.png)  
 ![Captura de Pantalla 2021-04-16 a les 10.15.52](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/7/738061351b44822963aab98c524cbbebf731b5cd.png)  
Miq.

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [April 17, 2021, 9:34am UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202/4 "2021-04-17T09:34:31Z")

</div>

@Qiero,  
Would you mind pulling a support ticket through [support@pinegrow.com](mailto:support@pinegrow.com). There is a nice write-up of the info you should submit [here](https://pinegrow.com/contact-us/). Whatever is going on it looks a little complicated and potentially project specific.  
Sorry!  
Bob

---

<div class="post-metadata">

**Author:** ![Qiero](https://avatars.discourse-cdn.com/v4/letter/q/4491bb/32.png) [@Qiero](https://forum.pinegrow.com/u/Qiero)\
**Post date:** [April 17, 2021, 6:23pm UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202/5 "2021-04-17T18:23:56Z")

</div>

Hi Rob, I did.

Thanks for you help!

---

<div class="post-metadata">

**Author:** ![Riccarcharias](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/riccarcharias/32/4051_2.png) [@Riccarcharias](https://forum.pinegrow.com/u/Riccarcharias)\
**Post date:** [April 22, 2021, 5:28pm UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202/6 "2021-04-22T17:28:46Z")

</div>

I have the same problem. I see some classes 2x and can hardly edit them. There is only one class in the stylesheet. I have this problem since maybe two weeks or so.

---

<div class="post-metadata">

**Author:** ![Qiero](https://avatars.discourse-cdn.com/v4/letter/q/4491bb/32.png) [@Qiero](https://forum.pinegrow.com/u/Qiero)\
**Post date:** [April 22, 2021, 5:51pm UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202/7 "2021-04-22T17:51:19Z")

</div>

Same thing than me, Riccarcharias. They are working on it, I think, cause it seems a kind of bug.

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [April 22, 2021, 6:29pm UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202/8 "2021-04-22T18:29:55Z")

</div>

Hi @Qiero,  
We have your project and are looking at it. @Riccarcharias if you are also able to reproduce this easily we would welcome a project from you sent to [support@pinegrow.com](https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=support@pinegrow.com).  
Thanks!  
Bob

---

<div class="post-metadata">

**Author:** ![Riccarcharias](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/riccarcharias/32/4051_2.png) [@Riccarcharias](https://forum.pinegrow.com/u/Riccarcharias)\
**Post date:** [April 23, 2021, 12:39pm UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202/9 "2021-04-23T12:39:23Z")

</div>

I haven’t found a way to reproduce the bug jet

---

<div class="post-metadata">

**Author:** ![Riccarcharias](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/riccarcharias/32/4051_2.png) [@Riccarcharias](https://forum.pinegrow.com/u/Riccarcharias)\
**Post date:** [April 23, 2021, 12:54pm UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202/10 "2021-04-23T12:54:12Z")

</div>

And I haven’t found a way to fix it. As you can see I can’t delete CSS properties or rules. I have to edit them in the CSS file directly (which is luckily possible in PG).

 ![Bildschirmfoto 2021-04-23 um 14.48.16](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/9/9461e89f56bf07b5e0adf3182e8aaabb404d025f.jpeg)

---

<div class="post-metadata">

**Author:** ![Jerome](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@Jerome](https://forum.pinegrow.com/u/Jerome)\
**Post date:** [April 30, 2021, 5:53am UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202/11 "2021-04-30T05:53:52Z")

</div>

Hello. I have the same problem. On macOS 10.14.6, with Pinegrow 5.992.  
Only when I use media query, not for all media queries, but always with the same.

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [April 30, 2021, 10:35am UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202/12 "2021-04-30T10:35:11Z")

</div>

Hi @Jerome,  
Can you describe how to recreate the bug?  
Thanks,  
Bob

---

<div class="post-metadata">

**Author:** ![Riccarcharias](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/riccarcharias/32/4051_2.png) [@Riccarcharias](https://forum.pinegrow.com/u/Riccarcharias)\
**Post date:** [April 30, 2021, 11:10am UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202/13 "2021-04-30T11:10:46Z")

</div>

I still can’t recreate the bug but is definitely has something to do with @media queries. I also noticed that the visual editor which has always two columns at my monitor size suddenly has just one column like on smaller screens when the bug occurs…I just need to resize the program window a little bit and the visual editor has again two columns

---

<div class="post-metadata">

**Author:** ![Jerome](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@Jerome](https://forum.pinegrow.com/u/Jerome)\
**Post date:** [April 30, 2021, 12:12pm UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202/14 "2021-04-30T12:12:07Z")

</div>

Maybe… I just make some tests.  
First, for the same style (same stylesheet), the bug come on different html pages.  
Then, I create div, p and style them. Make a media query, make new style. Modify css with no media query. Create a new media query (with same size).  
Because of Pinegrow create a new media query rule in css file, I modify css rules directly in css file inside PG. And then the double style bug come.

I think it come from it, when you make modification in css file inside PG. (Maybe this bug is connected to other bug: why PG create a new media query with same parameter).

I can send the project files if you want.

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [April 30, 2021, 12:35pm UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202/15 "2021-04-30T12:35:51Z")

</div>

Thanks for this info, @Jerome. Yeah, I think the project file might be useful.  
One question - When you say you modify the CSS rules in the file within Pinegrow, there are several ways to do this. Do you use the large Code Editor under the Page View, or somewhere else in the editor?  
Cheers,  
Bob

---

<div class="post-metadata">

**Author:** ![Jerome](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@Jerome](https://forum.pinegrow.com/u/Jerome)\
**Post date:** [April 30, 2021, 12:39pm UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202/16 "2021-04-30T12:39:02Z")

</div>

Yes in code editor.  
Where I can send the files? to [support@pinegrow.com](https://support@pinegrow.com)?

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [April 30, 2021, 12:53pm UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202/17 "2021-04-30T12:53:13Z")

</div>

Correct - sorry I should have said in my message. Thanks!

---

<div class="post-metadata">

**Author:** ![Jerome](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@Jerome](https://forum.pinegrow.com/u/Jerome)\
**Post date:** [April 30, 2021, 1:06pm UTC](https://forum.pinegrow.com/t/bug-duplicated-classes-and-ids-on-stylesheets-panel/5202/18 "2021-04-30T13:06:41Z")

</div>

No problem. I sent a zip to this email.
