Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Pimp My Site! > applying a background and making it fit
deshund (New Admin) 3/2/2009 4:46 PM EST : applying a background and making it fit
deshund
Posts: 105
Posts With Wolves

so i am trying to add a background, the catch is that i use a CSS so i think i have to change it on the CSS, i did it and it worked..sorta. you can see what i used
http://enemy2horde.guildportal.com
the problem lies in how do i get it to fit full screen and not repeat. i know how to stop the repeat..background-repeat:no-repeat....but i dont see how to enlarge it.

what am i doing wrong, and am i just no capable of the endevor know as web design?
TopBottom

Ortahr (Guild Admin) 3/2/2009 8:53 PM EST : RE: applying a background and making it fit
Ortahr
Posts: 1004
Zomgawsh Poster

Hi Desmund,

stretching a bckground image seems not to be possible,
but if you look here : http://www.htmlite.com/faq022.php

and manage to transform the code into your guildportal templates, it might work,
 though i think the best option is just to make your background image
 a larger image yourself and forget about the stretching.
 (or try and create a repeatable one)..

Greetings,

Ortahr.
TopBottom

Mottie (MVP) 3/3/2009 5:19 AM EST : RE: applying a background and making it fit
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Hi Deshund!

Ortahr is right, you can't stretch background images with CSS. Looking at your background image, you actually need it to repeat... the background color

Though, I was looking through your CSS and found three places in the CSS that need editing. I highlighted the changes in blue. The first part is in the custom CSS:
body {background: #4b565d url('http://www.axiomfiles.com/images/ThemeGfx/backgroundblackstone.jpg') top center fixed; text-align:center; margin-left: auto; margin-right: auto; }

.ContentBox {background: transparent url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/styles/BoxBkgd.png); border: solid 1px #dbbf95; color: #dddddd;}
This part is in the free form text/HTML progression box:
.bossCount { color:#cccccc; vertical-align:middle; width: 50px; }
TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%