Problem editing css of CERN Overwrite theme

9 posts / 0 new
Last post
Problem editing css of CERN Overwrite theme

Hi all,
I'm having some trouble with the css of my drupal site. I edit in the css file located in _site/files/themes/cern-overwrite/css but after I save it, I don't see any changes taking effect. The CERN OVERWRITE 7.x-2.1 theme is enabled and I can make changes to it in Administration » Appearance » Settings » Cern overwrite.

What should I do to edit the css?

First thing to do after

First thing to do after modifying any module or theme is to clear caches, just go to Configuration->Performance

Also while testing and developing I would recommend to disable the following options on the same Performance configuration page:

-Compress cached pages

-Aggregate and compress CSS files

-Aggregate Javascript files

 

Hope that helps,

Eduardo

Great!

Thanks, Eduardo, it worked perfectly!

Problem persists

Hi again,

The solution worked at first, but now the problem appeared again. I cannot see my changes on the page, even if I clear the caches again. Any suggestions?

Thanks,

Athena

Cache issues

Hi Athina,

Do you still have this problem? As Eduardo said this is always related with cache issues and you must make sure that you always clear the cache but if you have done it already then maybe it's something else and we should have a closer look.

Cheers,
Sotirios

Cache issues

Hi Sotirie,

I found a solution for the problem, though I'm not really sure why it works. After clearing the cache, I write my code in the first 50 lines or so of the existing overwrite.css file and everything works fine. If I write anything below this limit, then simply my changes don't appear in the website. Any idea about why this might happen?

Cheers,

Athena

syntax error

Hi Athena,

Probably there is a sytax error in your code (e.g. a missing curly bracket). What kind of IDE do you use?

Cheers,
Sotirios

IDE

Hi Sotirie,

I use Dreamweaver in the code mode. I didn't get any error messages though.

CSS file

Hi Athina,

Could you send me your CSS file by email to have a look at it?

Cheers,
Sotirios

You are here