Page 1 of 1

Understanding CSS pertinent to PHPBB....???

Posted: Mon Mar 24, 2008 5:26 pm
by K2-Kelly
Hi All;

Reposting something here I did on the styles forum.......Rethinking it possibly a bit more "how does PhPBB funtion" then a style question....

Hi All;

I've noted something in virtually every post here, and am not sure if it simply stems from tried and true ways of doing things or if there is a reason.....

That being, when "how to change" many things are suggested, instead of stating "go to Styles tab > Themes > Edit" and editing the stylesheet.css, most responses state "pull up this or that .css (ex. colours.css, or content.css) etc. and edit that instead................Why?

Now I have noticed that when I alter the stylesheet.css, it does nothing for the others (IOW does not automatically change them as though it is generated by them)...........So do I need to change both, just one or the other, what and why?

Lastly, should I be editing the various files, then hit "refresh" to alter the stylesheet.css, as it seems to be kept in the "database", and not the file system, and when seeing what it does if I move it I get the following warning/refusal "....."The theme requires that its stylesheet is parsed. This is only possible if it’s stored in the database."

Thanks for your response,

K2

Re: Understanding CSS pertinent to PHPBB....???

Posted: Mon Mar 24, 2008 5:29 pm
by Brf
If you are editing the stylesheet directly in the ACP, then you are editing only the database copy.
If you refresh your theme from that same page, it will re-read the CSS files and you will lose your changes.

The more permanent way is to edit the proper CSS files, and then Refresh the Theme from the ACP to change the database copy.

Re: Understanding CSS pertinent to PHPBB....???

Posted: Mon Mar 24, 2008 8:06 pm
by K2-Kelly
Thanks for the response......What I was figuring having lost all I did a couple times hehe...

K2