Unused Elements or Classes

Post here if your topic is about TopStyle but doesn't fit in another TopStyle forum.

Moderator: TopStyle Support

Unused Elements or Classes

Postby 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.
driansmith
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 4
Joined: Thu Sep 10, 2009 9:17 am

Re: Unused Elements or Classes

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

1. Create a TopStyle Site (File > New Site)
2. View > Site Reports
3. Orphan Classes
User avatar
TopStyle Support
Rank VI - Professional
Rank VI - Professional
 
Posts: 470
Joined: Sat Jun 13, 2009 12:38 pm

Re: Unused Elements or Classes

Postby 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

Postby 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.
driansmith
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 4
Joined: Thu Sep 10, 2009 9:17 am


Return to General TopStyle

Who is online

Users browsing this forum: No registered users and 2 guests