Jump to content


Very Simple CSS question


2 replies to this topic

#1 DijonWolfie

    Young Padawan

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:Worcestershire, England

Posted 06 October 2006 - 06:52 PM

Hey guys, I'm a total noob when it comes to CSS.. and I have looked for an age and a half but I wish to change my site [www.dekadent.co.uk] (running wordpress at the moment) background from the grey colour it currently sports to having a tiled background. I'm pretty sure I can do the changes to the code but my main problem is finding what I need to change! If someone could have a look at the source code on my site and see if they can spot it or if they need to look at the CSS files I can send those over too...

Sorry for such a stupid/nooby/simple request but I'm more the pretty pictures than the coding side of things.
Thanks in advance ;)

#2 Demonslay

    P2L Jedi

  • Members
  • PipPipPip
  • 970 posts
  • Gender:Male
  • Location:A strange world where water falls out of the sky... for no reason.
  • Interests:Graphic Design, Coding, Splinter Cell, Cats

Posted 06 October 2006 - 08:19 PM

In style.css locate this style rule set.
body {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; 
		font-size: 11px !important; 
	background: #ccc url('images/top-bg.gif') repeat-x top left;
		text-align: center;
	margin: 0px;
	}
Change the background rule to something like this.
background:url('images/image.ext') repeat;

Simple as that. ;)

#3 DijonWolfie

    Young Padawan

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:Worcestershire, England

Posted 14 October 2006 - 05:05 PM

View PostDemonslay, on Oct 7 2006, 02:19 AM, said:

background:url('images/image.ext') repeat;

Simple as that. :rolleyes:
Will that not just change the image that appears at the top? (the grey bar?)
Thanks





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users