# Style doesn't work on svg group element

**URL:** <https://forum.inductiveautomation.com/t/style-doesnt-work-on-svg-group-element/33719>\
**Category:** Ignition Early Access\
**Created:** [April 6, 2020, 7:07pm UTC](https://forum.inductiveautomation.com/t/style-doesnt-work-on-svg-group-element/33719 "2020-04-06T19:07:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [April 6, 2020, 7:07pm UTC](https://forum.inductiveautomation.com/t/style-doesnt-work-on-svg-group-element/33719/1 "2020-04-06T19:07:48Z")

</div>

Hi  
The css3 code for style doesn’t work for SVG group element in perspective.  
For example in below image the opacity and visibility doesn’t work for array item 2 with type: group.  
If I dig in more and reach to last element the style will work.

 ![visibility](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/00c39b898d8d92e12bc428e4bdf508157940b72d.png)

---

<div class="post-metadata">

**Author:** ![swolnisty](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@swolnisty](https://forum.inductiveautomation.com/u/swolnisty)\
**Post date:** [April 15, 2020, 4:53pm UTC](https://forum.inductiveautomation.com/t/style-doesnt-work-on-svg-group-element/33719/2 "2020-04-15T16:53:59Z")

</div>

Have you tried renaming the “styles” object to “style”? That works for me.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [April 16, 2020, 2:53am UTC](https://forum.inductiveautomation.com/t/style-doesnt-work-on-svg-group-element/33719/3 "2020-04-16T02:53:06Z")

</div>

Good catch 😁
