Unused Elements or Classes

Post anything about TopStyle here. NOTE: TopStyle has been discontinued.

Moderator: TopStyle Support

Post Reply
driansmith
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 4
Joined: Thu Sep 10, 2009 9:17 am

Unused Elements or Classes

Post by driansmith » Thu Sep 10, 2009 5:02 pm

I use Topstyle 4

Simple question. I have inherited a website with an enormously long stylesheet - where most Elements and Classes are simply not used by the site. I would like to easily delete these - as it is difficult to 'see the wood for the trees'. Is there a facility/tool for identifying those elements that are redundant in a stylesheet?

Thanks.

User avatar
TopStyle Support
Rank VI - Professional
Rank VI - Professional
Posts: 507
Joined: Sat Jun 13, 2009 12:38 pm
Contact:

Re: Unused Elements or Classes

Post by TopStyle Support » Fri Sep 11, 2009 5:53 am

1. Create a TopStyle Site (File > New Site)
2. View > Site Reports
3. Orphan Classes

driansmith
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 4
Joined: Thu Sep 10, 2009 9:17 am

Re: Unused Elements or Classes

Post by driansmith » Fri Sep 11, 2009 2:41 pm

Thanks Stefan,

Let me look at that more closely. The site in question is an actinic shopping cart (and hence contains some complications) but this looks very useful.

driansmith
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 4
Joined: Thu Sep 10, 2009 9:17 am

Re: Unused Elements or Classes

Post by driansmith » Fri Oct 09, 2009 12:55 pm

Thanks again Stefan,

Yes, very useful for most websites. Not quite so perfect though for the actinic site in question though as many of the shopping cart pages do not exist as individual pages and cannot therefore be crawled by the software.

But, I have learned from this suggestion. Cheers.

Post Reply