Page 1 of 1

[Solved] Background color and image

PostPosted: Tue Nov 07, 2006 4:12 am
Author: Whisky
Hi all,

Simple question:

I can't find the way to change my portal's background color and set a background image :(

Thanks to help

Re: Background color and image

PostPosted: Tue Nov 07, 2006 4:41 am
Author: Frost
Depending on which theme you are using wether or not it's controled in

templates/yourtheme/yourtheme.css

or

in your ACP / Extreme Styles / Styles Management / Edit Styles Data / yourtheme edit

Also when you make the changes and reupload the files, your template files may be cached so try clearing it and refresh the page.

Hope this helps

Re: Background color and image

PostPosted: Tue Nov 07, 2006 6:38 am
Author: Whisky
Hi Frost,

txs for your reply.

I tried both possibilities CSS and extreme style control panel and none of them works, that's why I am asking this kind of stupid question <img>

Is the syntax correct with what I posted above for the CSS?
The main background color should be controlled with the body{} tag of the file templates/theme/theme.css, right?
if yes please explain why I do not see any changes <!-- s]foundit [/b]read this thread, please give me your opinion coz I am trying to modify one of your Wold of Warcraft theme (WCC)

Cheers

Whisky.be

Re: Background color and image

PostPosted: Tue Nov 07, 2006 9:46 am
Author: Helter
Im unfamilliar with this theme, but check the overall_header.tpl for a style tag

Re: Background color and image

PostPosted: Tue Nov 07, 2006 2:17 pm
Author: Whisky
I've checked the overall_header.tpl and I don't see anything relevant:
Code: Select all
 <head><meta><meta>{META_HTTP_EQUIV_TAGS}<title>{SITENAME} - {PAGE_TITLE}</title>{META_TAGS}{META}{NAV_LINKS}  <link><script>[color=red]Java script is not allowed in posts*[/color]<link><script><overLIB>[color=red]Java script is not allowed in posts*[/color]<link>

Re: Background color and image

PostPosted: Tue Nov 07, 2006 5:18 pm
Author: Helter
did you add the javascript fix yourself?

Re: Background color and image

PostPosted: Tue Nov 07, 2006 9:47 pm
Author: Frost
[Reply fix replaced]

"Whisky";p="17395" wrote:Hi all,

Simple question:

I can't find the way to change my portal's background color and set a background image :(

Thanks to help


It should be like this

[code]  body {background-color]

Note the space between the : and url in the background image
Also you were missing a ; after the last scrollbar option

Hope this helps

Edit: I copy and pasted your scrollbar specs and didn't realise you didn't space there either, fixed it.

Also, if it is important to you and you have alot of IE browser users, you should steer clear of using "pt" or "px" as this prevents IE from resizing the text. You should use 100% (body text) so it's as big as the browser is set. But, then again, unless you have a very high-end website this is nothing to worry about :oops:

--------------------------------------------------------------------------------------

What was the template you are using made for? 140 or 141?

Re: Background color and image

PostPosted: Tue Nov 07, 2006 10:03 pm
Author: Helter
I asked, because that looks like the header code for a 141 template. The reason this is an issue is that ppl ignore the fact that there is no support for the beta and post thier probs in the 140 forum and we beat ourselves up trying to fix problems that do not exist in the supported versions

Re: Background color and image

PostPosted: Tue Nov 07, 2006 10:17 pm
Author: Frost
Ahhh, I didn't even think about that <img>

Want me to delete that fix then HelterSkelter?

Re: Background color and image

PostPosted: Tue Nov 07, 2006 11:31 pm
Author: Helter
no, I just want him to be aware that if he is modifying a beta product, he is on his own.

Re: Background color and image

PostPosted: Wed Nov 08, 2006 1:54 am
Author: Whisky
I understand your point of view HelterSkelter.
Don't worry I usually search a lot myself before disturbing others with my problems.

Well, if you speak about this script
<script>
Yes I added it myself. This script is part of a mod allowing our members to link a Wolrd of Warcraft objet so it appears on the portal like in game, it's working fine. It's called itemstat =>http]<script>[/color]
No I don't remember having added this.
Here's the content of this toogle_display.js script
Code: Select all
function hdr_ref(object){     if (document.getElementById)     {         return document.getElementById(object);     }     else if (document.all)     {         return eval('document.all.' + object);     }     else     {         return false;     }}  function hdr_expand(object){     var object = hdr_ref(object);       if( !object.style )     {         return false;     }     else     {         object.style.display = '';     }       if (window.event)     {         window.event.cancelBubble = true;     }}  function hdr_contract(object){     var object = hdr_ref(object);       if( !object.style )     {         return false;     }     else     {         object.style.display = 'none';     }       if (window.event)     {         window.event.cancelBubble = true;     }}  function hdr_toggle(object, open_close, open_icon, close_icon){     var object = hdr_ref(object);     var icone = hdr_ref(open_close);       if( !object.style )     {         return false;     }       if( object.style.display == 'none' )     {         object.style.display = '';         icone.src = close_icon;     }     else     {         object.style.display = 'none';         icone.src = open_icon;     }}


Does that mean that I am using a non-supported version?

Shame on me, I must acknowledge that I don't even remember if I installed the Beta 1.41 or not <img>

Thanks to both of you

Re: Background color and image

PostPosted: Wed Nov 08, 2006 9:02 am
Author: Frost
My previous "fix" was replaced, though it still might not be the answer to your problem.

Re: Background color and image

PostPosted: Wed Nov 08, 2006 10:07 am
Author: Helter
i was refuring to this
Code: Select all
<script>[color=red]Java script is not allowed in posts*[/color]


I know Mike posted this as a fix for 140 also.
You can also look in your footer of the original template and see if there is a link to "Lo-Fi Version" and "CBACK Cracker Tracker". If so, your using 141, unless you installed these mods on your 140 installation

Re: Background color and image

PostPosted: Thu Nov 09, 2006 12:55 am
Author: Whisky
I've checked deeply and I am now sure to use a regular 1.40 version

I tried the Frost's fix but without succes :#:

An input from foundit would be helpfull I think

Re: [Solved] Background color and image

PostPosted: Thu Nov 09, 2006 7:06 am
Author: Whisky
I finally found it alone <img>

This is controled by the class bodyline in the CSS

Re: [Solved] Background color and image

PostPosted: Thu Nov 09, 2006 7:13 am
Author: Frost
Ah, well of course. I was under the impression you found and displayed the only part of the .css that had anything to with page colors.

Should mark this solved. <img>

Re: [Solved] Background color and image

PostPosted: Thu Nov 09, 2006 7:18 am
Author: Whisky
[quote=""Frost";p="17468""]Should mark this solved. :)