Customize theme.css - where to create local copy

deezNutz
deezNutz's picture

Joined: 2005-07-06
Posts: 26
Posted: Sat, 2005-09-17 16:22

If I wanna customize theme.css, do I copy it to local directory to ensure it will not get overwritten by future theme upgrade? The header for theme.css doesn't say anything about this...

If yes, where do I create the theme directory?

For gallery2/themes/matrix/theme.css
Do I create gallery2/themes/matrix/local/theme.css?

TIA

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2005-09-17 16:23

Yep, that's the right place.

 
deezNutz
deezNutz's picture

Joined: 2005-07-06
Posts: 26
Posted: Sat, 2005-09-17 16:38

Thanks for clearing this up.

Also, could someone spell this out in the header of theme.css

 
deezNutz
deezNutz's picture

Joined: 2005-07-06
Posts: 26
Posted: Sat, 2005-09-17 17:03

Also,

When I created my local copy of theme.css The icons from first/previous/next/last dissapeared (navigation icons). I checked with (explorer/opera/firefox) When I deleted the local copy, they magically reappeared. Is this a bug?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2005-09-17 17:17

Crap, I forgot about that. If there are any images referenced in your .css file, you need to move/copy the images directory into the localdirectory you created. You might be able to edit the .css file to change the references to the images with ../images, I can't remember if that works or not.

 
protective1

Joined: 2005-09-15
Posts: 2
Posted: Sun, 2005-09-18 04:45

Or you could just create a symbolic link in "local" to the "../images" directory.