Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2008
    Posts
    166
    Plugin Contributions
    0

    Default Remove unused CSS tags?

    Hey

    My site has had 3 different templates & me being the genius I am used the same css file for all 3!

    Is there a tool that searches every page on my website & then the css and tells me what tags are no longer needed?

    Thanks

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Remove old CSS tags

    I doubt there is such a tool. Most templates use the same standard selectors, altering their properties as required. Most (all that I know of) templates also come with their own complete stylesheet - how do you believe that you had/have the same file now?

    A link to see your site will let us advise if your current stylesheet has big blocks of irrelevant rules.

  3. #3
    Join Date
    Dec 2008
    Posts
    166
    Plugin Contributions
    0

    Default Re: Remove old CSS tags

    Hi,

    I got all the templates coded specially for me.

    The url is http://tinyurl.com/y9wvckp

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Remove old CSS tags

    Did all the templates use the same folder, so that the old template was destroyed when the new one was built? If not, the stylesheets for each template still exist, and if I were making a template, I would not start from a stylesheet with previous custom template baggage. All the main stylesheets will have the same name, but that is ok as they will be in their own template folders.

    I don't see any large groups of rules that don't apply to your template, with the possible exception of rules containing .bodymain, like

    #main_div .bodymain .addcart ul li,.addcart ul li {

    and even those may be functional through the second selector in the list:

    .addcart ul li {

    So I don't think you need to worry about it too much.

  5. #5
    Join Date
    Dec 2008
    Posts
    166
    Plugin Contributions
    0

    Default Re: Remove old CSS tags

    Ok. Thanks

 

 

Similar Threads

  1. v139h Ok to remove/empty unused sql authorizenet?
    By divinelighting in forum General Questions
    Replies: 3
    Last Post: 18 Apr 2012, 12:31 AM
  2. Removing unused CSS script and links
    By rcht in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Nov 2010, 07:55 AM
  3. Remove Unused Manufacturers
    By benn600 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 7 Jan 2010, 12:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg