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 8782133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T20:29:22+00:00 2026-06-13T20:29:22+00:00

Here is my problem : I use a CMS with a default CSS file

  • 0

Here is my problem :
I use a CMS with a default CSS file that I don’t want to modify because the CMS updates could replace this file. So I use a custom CSS file in addition of the default CSS file to change the CMS theme.
But sometimes I just want to disable a rule written in the default CSS file. As I can’t delete or comment the rule, I re-write the same rule in the custom CSS file with the default values in the properties.

Example :

/* default CSS file */
.class { background-color : black; }

/* cutom CSS file */
.class { background-color : none; }

So I would like to know if there is a way to just disable a rule without re-writting the same rule ?

  • 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-06-13T20:29:24+00:00Added an answer on June 13, 2026 at 8:29 pm

    I think…basically no. You have to specify exactly same rules which you would like to disable.

    But you can add some postprocessor to css files. In apache, all css requests route to something like postprocessor.php and there you can remove code which don’t want with some parser, replacer.

    Second choice is make some plugin for cms, which have some settings for this.

    Third way to do this is using some dynamic/meta/scripting css language etc. SASS, LESS for generating this disabling rules.

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

Sidebar

Related Questions

Okay, so here's my problem: We use FOP for creating pretty report output. We
Here is my problem. If I use only one Windows Forms project and call
So here's the problem. I'm writing some StyleCop plug-in assemblies for use at the
i'm new here so this is the problem: I'm trying to use chosen plugin
date here my problem: String datetime = 2012-03-24 23:20:51; I know that that string
I have a problem here im trying to upload a file first time it
Here is my problem. I'm working within a CMS and users are able to
Ok here is the problem in brief. I do have a pyramid setup that
My problem With Django CMS 2.3.3, when creating a Page I use cmsplugin_picture* next
The problem here is how to add an NSPopUpButton in Xcode 4's Interface Builder

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.