Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 932309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:38:47+00:00 2026-05-15T20:38:47+00:00

I have about 40 ‘themes’ that have each been copied and pasted from a

  • 0

I have about 40 ‘themes’ that have each been copied and pasted from a ‘default’ theme and been modified uniquely. As time has gone on each of these themes has taken a shape of its own, some more, some less.

I need to be able to do an @import url(default.css); so that when I make changes to the default I do not need to cascade it down to all the themes.

Each theme and the default is about 2000 lines. I have tried to use a css optimizer but I couldn’t get it to work. (Perhaps I’m doing something wrong?) Right now I’m just using diff to do all the changes line by line and it painstaking and will take me weeks upon weeks.

How do I do this quickly? There has got to be a way.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T20:38:48+00:00Added an answer on May 15, 2026 at 8:38 pm

    Maybe a de-optimizer would do some good, but I don’t know of any. It would allow to have one and only one instruction per rule, like:

    selector1,selector2 {
      instruction1;
      instruction2;
    }
    

    becoming

    selector1 { instruction1; }
    selector2 { instruction1; }
    selector1 { instruction2; }
    selector2 { instruction2; }
    

    That would allow you to use diff way faster and finally to combine these with an optimizer …

    Other than that:

    • I’d try PSPad (shareware, not free for commercial use) to get one-line CSS rules (menu HTML, format CSS inline). This will sort of associate instructions to their rule selector(s) when you use diff.
    • Then use softwares like Diffuse to compare a set of files (GPL) or DiffMerge (free for 30 days) or KDiff3 (GPL) to compare files 3 per 3
    • and get a default stylesheet and 40 shorter stylesheets

    But you’ll still have to check each template after having modified your default one: you can’t know for sure, now or later, how each template overrid or not instructions from default stylesheet.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have about 20,000 records (coming from an SQLite db) that I need to
I have about 10 pictures, when :hover each picture there is an ajax.load that
I have about 50 items on my screen. Each line is a form that
I have about 500 WinForms that are generated dynamically from XML files by an
I have about 20 grid views that I have to create. All of them
i have about 60 fragments ListFragment , now i use each Listfragment with another
I have about 8 entities that all have a one to one relationship with
i have about 20 possible exception messages that i want thrown when an error
I have about 10 drop down list controls that get populated. Instead of copying/pasting
I have about 24 large cover images with hovers that reveal station info and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.