Page 1 of 1

CSS files and upgrading

Posted: 31 Oct 2008, 10:05
by rdch
If I make changes to the CSS, will this get overwritten by upgrading the software?

If it does, could you add a custom CSS file that remains even when upgrading?

Posted: 31 Oct 2008, 12:06
by rdch
Sorry, ignore this. I've just seen viewtopic.php?p=11716

Re: CSS files and upgrading

Posted: 02 Nov 2008, 00:35
by mjau-mjau
rdch wrote:If I make changes to the CSS, will this get overwritten by upgrading the software?

If it does, could you add a custom CSS file that remains even when upgrading?
I still believe this deserves an answer -

When editing theme or config, separate user files are created so that you keep your customizations even after upgrading. However, when editing the CSS files, you are in fact editing the original theme CSS files, which may be overwritten(reset) when upgrading. Therefore we recommend the following:

# Create a new theme from the theme you want to use, and apply any changes to the new theme. You will always keep any customizations in your separate theme, both for configs and CSS stylesheet after upgrading.

Posted: 03 Nov 2008, 10:01
by rdch
Is your reply about the HTML gallery or the Flash gallery?

Posted: 05 Nov 2008, 00:54
by mjau-mjau
rdch wrote:Is your reply about the HTML gallery or the Flash gallery?
Oh, it was for the flash gallery - You perhaps mean the HTML gallery I guess? Then you simply should backup your CSS file before upgrading. This CSS file is manual -

Posted: 11 Nov 2008, 10:08
by rdch
Yes my question was about the HTML gallery.

Perhaps it would be a good idea to link the html and flash versions in future versions so they remain visually similar - even when you switch themes.

The html gallery could share the CSS of the flash one, then your advice about creating a new theme would work for both html and flash.

Posted: 24 Nov 2008, 01:21
by mjau-mjau
rdch wrote:Perhaps it would be a good idea to link the html and flash versions in future versions so they remain visually similar - even when you switch themes
Although it might have some benefits, I think this is not feasible. CSS in flash is ONLY targeted at text formatting, while CSS in html controls the entire layout. They won't be able to share the same classes, and styles also work differently.