Skip to main content
12-Amethyst
Jun 30, 2022 8:48 AM UTC
Question

How to write a CSS for collection widget

I need to write some CSS for this section:

 

:host(#cell_FLS_Asset_Details-48_ptcsgrid-11:not([no-wc-style])){

 

}

 

I need to know how to write css for this host? 

2 replies

17-Peridot
Jun 30, 2022 1:09 PM UTC

@PG_10250187 ,

 

Is this for a grid inside a collection widget?  Also, can you share a little more about what you're trying to style in the grid?

 

Thanks!

Nick

Translate
12-Amethyst
Jul 1, 2022 10:54 AM UTC

https://www.ptc.com/en/support/article/cs324593 should provide you with the necessary info on how to write CSS for shadow-dom components.

Translate