#17818 - 07/13/08 11:43 PM
Re: body background in the middle panel
[Re: Fayt]
|
AnmanIndustries
Cookie Crisp
   
Registered: 03/21/05
Posts: 2876
Loc: Planet Stupid, AKA Earth
|
Offline
|
|
Hangon. Will that actually work? Can you specify CSS in the middle of a page?
|
|
Top
|
|
|
#17822 - 07/14/08 11:01 AM
Re: body background in the middle panel
[Re: Fayt]
|
Dragonking
Grape Nuts
Registered: 12/09/06
Posts: 39
|
Offline
|
|
And how do you change the colour of the copyright bar? I want a blue layout with white links. The current copyright bar it white too, so you can't see the links, and that is the same as removing them, I think. It isn't in templates/primary.php, is it? It has to be in lib.php. So is there a way to change the colour of the copyright bar? I don't want to be illegal.
Sorry if this is in the wrong topic, I thaught it is related so oppening a second topic is "spamming" the forums.
|
|
Top
|
|
|
#17823 - 07/14/08 11:33 AM
Re: body background in the middle panel
[Re: Dragonking]
|
Fayt
Crunchberries
 
Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA
|
Offline
|
|
I don't know how it works in DS, but in DK it's im a template file. Just change the RGB code.
|
|
Top
|
|
|
#17824 - 07/14/08 12:34 PM
Re: body background in the middle panel
[Re: Fayt]
|
Dragonking
Grape Nuts
Registered: 12/09/06
Posts: 39
|
Offline
|
|
I think the copyright bar is handled in lib.php and that file is encrypted. All other panels are handled by the panels file and panels tamplate, but to prevent copyright removers... Yeah, that's why I think you can't change the colours of the copyright bar. Unless Jamin or Anman knows a way to change the colour. =/
|
|
Top
|
|
|
#17827 - 07/14/08 09:55 PM
Re: body background in the middle panel
[Re: Fayt]
|
AnmanIndustries
Cookie Crisp
   
Registered: 03/21/05
Posts: 2876
Loc: Planet Stupid, AKA Earth
|
Offline
|
|
You cant change the colour. But hold on, Im going to ask Jamin something about that.
|
|
Top
|
|
|
#17846 - 07/22/08 04:00 PM
Re: body background in the middle panel
[Re: Dragonking]
|
Whiz
Cheerios
Registered: 10/28/07
Posts: 129
|
Offline
|
|
And how do you change the colour of the copyright bar?
You change this by going into the CSS and adapting the color of the TD property. Then, so that the copyright bar is unique, you have to go and assign a different value to every other table used. The copyright bar is hard-coded to use the TD value in the CSS file. You cannot point it at another value. You can point every other table at other values, though.
It's time consuming, but possible.
|
|
Top
|
|
|
#17850 - 07/23/08 07:06 AM
Re: body background in the middle panel
[Re: Fayt]
|
Whiz
Cheerios
Registered: 10/28/07
Posts: 129
|
Offline
|
|
If you change the primary TD tag in the CSS it will change it that color for every single TD table tag there is.
Right. That's what I said, had you taken the time to read my post. I then said that, because all tables are then changed, to make your copyright unique, you need to point the rest of your tables at OTHER CSS classes.
Example: css/primary.css
td {
vertical-align: top;
background-color: #dddddd;
}
td2 {
vertical-align: top;
background-color: #ffffff;
}
Then you just go through and add 'class="TD2"' to all the TD tags you don't want to be #dddddd.
|
|
Top
|
|
|
#17865 - 08/02/08 07:26 PM
Re: body background in the middle panel
[Re: Evilman]
|
Evilman
Grape Nuts
Registered: 06/15/08
Posts: 46
|
Offline
|
|
Sorry for my late reply back to this thread. I moved so I was without an internet access for 3 weeks 
Thanks to everyone who helped reply to this thread. I did exactly as Jamin posted and the background worked like a charm. Thanks Jamin 
One question though, the background image appears dispoportionate partly because of the image size and also the middle frame is relatively small, is there a command I could use that I can force it to shink the image so the whole background image fits nicely in that small middle frame 
Edited by Evilman (08/02/08 07:30 PM)
|
|
Top
|
|
|
|
|