lc-garcia
11 years agoGuide
Looking up CSS selectors
Hi there Does anybody know of a practical way to tell where certain CSS selectors are being used across the Community. Say, for example, I want to edit the look of #lia-body .lia-content spa...
- 11 years ago
I'm not aware of anyway to do this other than to search through the source code of all the pages you're worried about.
However, you may be able to solve the problem by using CSS rules that only apply to certain pages. The body tag on each different type of page has a unique class - you can find it by looking at the source code. For example, the main community page has the unique class 'CommunityPage'. If you prefix your css rule with 'body.CommunityPage', you can be sure it will only be applied to the community page.