News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

only half of the background changes

Started by botcee, October 15, 2006, 09:58:39 AM

Previous topic - Next topic

botcee

hey guys when i change the colour of the background only the top part changes but the bottom remains the same...what should i do?
http://img162.imageshack.us/img162/3347/smfdr9.th.jpg

ScousePete

I can't really see your screenshot, as it is too small, but if you are talking about the bottom of the page, where the copyright info is, then:

Open style.css
find:
/* And this is the bottom, where the copyright is, etc. */
#footerarea
{
   color: black;
   background-color:

and change the background color.

botcee

hey thanks a lot man...i figured how to get it done...btw whatsup with repeat and no-repeat...how does that help?

Peter Duggan

Quote from: botcee on October 15, 2006, 11:20:20 AM
btw whatsup with repeat and no-repeat...how does that help?

You might *want* a background that's limited to one, fixed location (eg a corner or side image fading into a single page colour).

botcee

body {
   background: #161616 url(../images_templateboy/fr_bg.png) repeat-x;
}
this is the css...now what happens is the top half is covered by the backgorund picture and the remaining by the colour..how can i make the thing covered fully with the picture ?

Peter Duggan

It's only tiling horizontally because of the 'repeat-x', so take that out if you want it to tile vertically as well.

botcee

:D:D:D:D:D::D...thnxxxx man..only if i knew this before...thanks a million once again..its working!

Advertisement: