# Child Selector Not Updating in Tailwind

**URL:** <https://forum.pinegrow.com/t/child-selector-not-updating-in-tailwind/7103>\
**Category:** Bug Reports\
**Tags:** bug\
**Created:** [October 15, 2022, 12:46pm UTC](https://forum.pinegrow.com/t/child-selector-not-updating-in-tailwind/7103 "2022-10-15T12:46:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonroc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/jonroc/32/2805_2.png) [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Post date:** [October 15, 2022, 12:46pm UTC](https://forum.pinegrow.com/t/child-selector-not-updating-in-tailwind/7103/1 "2022-10-15T12:46:57Z")

</div>

- Pingrow Live
- Internal JIT compiler 3.0.12

Attempting to use a child selector but PG does not update the view: `[&>a]:p-32`

```auto
<li class="[&>a]:p-32"><a class="bg-gray-200 block hover:bg-gray-400 px-4 py-2 w-max" href="#">I should have 32 Padding</a>
</li>

```

In the UI PG recognizes it as a TW teal class but it does not display the results in the page view.  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/b/baf15106e3b958f1f41c740aabe1bd38c49354fe.png)  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/2/2680b0787a6f45a2775a5c1ccf6986364295aaef.png)

When I export the theme to WordPress thing break even further. The closing double quotes for the class output an opening quotation mark after the **p-32** which breaks the a tag:

```auto
<li class="[&>a]:p-32 “><a class=" bg-gray-200="" block="" hover:bg-gray-400="" px-4="" py-2="" w-max"="" href="#">One Is Interesting But
                </li>

```

I think the ampersand is getting converted to `&amp;`

I’m really excited about Tailwind and look forward to when it’s fully functional in PG so I can use it 🤩
