Page 1 of 1

Why won't my style change?

Posted: 25. July 2008 15:39
by OBeer-WAN-Kenobi
Hi again all,
I wasn't sure where to put this topic and I'm not even sure this problem has anything to to with the portal at all. Basically, whatever I do, whichever theme file I edit, nothing will ever show up on the portal or forum.
Here are all the steps I went through:

1. Installed phpBB2 (I wanted the test forum exactly in the same state as the main forum is currently)
2. Dumped backup sql into the database and got the phpBB2 forum running.
3. Installed PhpBB3 3.0.2
4. Converted the old board and disabled it.
5. Installed Board3 Portal
6. Exported new style named oa2pro based on prosilver
7. Changed the name in styles/newstyle/style.cfg, styles/newstyle/imageset/imageset.cfg, styles/newstyle/template/template.cfg, and styles/newstyle/theme/theme.cfg
8. Imported the new "oa2pro" style.
9. Installed the new "oa2pro" style.

No matter what I can think of doing I can't get any changes to take at all. I've been trying to change the background color for instance.

Code: Select all

body {
	/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
	font-family: Verdana, Helvetica, Arial, sans-serif;
	color: #828282;
	background-color: #FFFFOO;
	/*font-size: 62.5%;			 This sets the default font size to be equivalent to 10px */
	font-size: 10px;
	margin: 0;
	padding: 12px 0;
This is the actual file I have in there right now and you can see it isn't set to white anymore.....but it still shows up white. I've tried changing other things just to see if I was crazy like the background in the search box but this also won't change.

Here are the settings and things I've tried:

A. Set Recompile stale style components: Yes
B. Tried changing the themes through the ACP and through ftp
C. Refresed the templates, themes, and imagesets.
D. Deleted the templates cache
E. Purged the board cache.

I've searched everywhere I can think of and I haven't seen anyone else having the problems I'm having. I'm hoping it's just something stupid that I'm doing wrong. You guys have been very helpful and I'm hoping this is an easy one for you.

Thanks!

Re: Why won't my style change?

Posted: 25. July 2008 20:57
by Marc
Try changing this in colours.css:

Code: Select all

html, body {
	color: #536482;
	background-color: #FFFFFF;
}
This should change your background color. ;)

Re: Why won't my style change?

Posted: 26. July 2008 01:14
by OBeer-WAN-Kenobi
Marc wrote:Try changing this in colours.css:

Code: Select all

html, body {
	color: #536482;
	background-color: #FFFFFF;
}
This should change your background color. ;)
Thanks Marc,
I reailzed this part of my mistake earlier today.... :oops:
But I'm still having an issue. It seems that if I change the proper code that you posted above nothing happens... If I change the stylesheet.cfg file, nothing happens. But if I change both it works!?? One other thing I noticed is that if I change it in the forum ACP instead of editing the files directly it also works.
What am I missing here? I'd rather edit ONE file at a time and not do it through the ACP if at all possible.

Re: Why won't my style change?

Posted: 26. July 2008 01:24
by Heinrich-XIV
First, sorry about my English.

If the background is created with a *.gif or a *.png file, you can change in the *.css File what you want, nothing would happen. You must find the background image in the your style/theme/images folder and change the colour of the Image.


MfG

Heinrich

Re: Why won't my style change?

Posted: 26. July 2008 04:55
by OBeer-WAN-Kenobi
Heinrich-XIV wrote:First, sorry about my English.

If the background is created with a *.gif or a *.png file, you can change in the *.css File what you want, nothing would happen. You must find the background image in the your style/theme/images folder and change the colour of the Image.


MfG

Heinrich
Nothing wrong with your english Heinrich!
I understand what you are saying and I do understand that I have to change the images seperately. However; I still can't change JUST the colours.css or JUST the stylesheet.css. I have to change both each time to make it work... :/

Anyway, even though it is very slow, I am getting it done. I just wish I understood why I have to edit both files.......
Here is the board I'm working on www.test.thenutgallery.com/phpBB3/portal.php
Currently I'm looking for the image file to change the menu buttons on the left side.

Re: Why won't my style change?

Posted: 26. July 2008 05:37
by Heinrich-XIV
Yes, indeed

I vergot to say this, if there no Image, you have to do so. You have take the right way. :)

I have take a look on your Board. it's a prosilver based style, so you have a stylsheet.css and a colours.css seperatly. On subsilver based styles, you have only a stylesheet.css, normaly. I think Christian_N can explain you this better than I. :mrgreen:

By the way nice Forum, would you not show it here in the "show off" Forum? :)


MfG

Heinrich

Re: Why won't my style change?

Posted: 26. July 2008 06:22
by OBeer-WAN-Kenobi
Heinrich-XIV wrote:Yes, indeed

I vergot to say this, if there no Image, you have to do so. You have take the right way. :)

I have take a look on your Board. it's a prosilver based style, so you have a stylsheet.css and a colours.css seperatly.
Ahhhh..... So thats what the problem is? That would explain my difficulties!
Heinrich-XIV wrote: By the way nice Forum, would you not show it here in the "show off" Forum? :)
Thanks Heinrich!
Maybe when I feel it's "perfect" (perfect being the best I can do) I'll post it up!
I just finished all the silly little corner.gif/.png files.. :? That was not fun.... I'm not very good with photoshop...

Re: Why won't my style change?

Posted: 26. July 2008 16:10
by Heinrich-XIV
Oh, I know this.

It's a hard work doining this. I remember, i have done this with Photoshop CS on a Style. This is nothing, what makes happy. :mrgreen:

Good, enough *Off Topic* from me. :roll: ;)

Carry on your work, and when you ready with this, show it here.


See you

Heinrich