Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 1 votes

Adding a background image to the whole site.


68 replies to this topic

#61 brimasta

  • Community Member
  • 8 posts
  • Real Name:brian

Posted 04 January 2012, 14:01

thanks jim, I have tried that too...

#62 germ

  • Community Member
  • 13,564 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 05 January 2012, 11:30

Unless you want to give a URL (by post or PM) stick a fork in me 'cuz I'm done.

I can't help fix what I can't see...
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

"Headers already sent" - The definitive help

"Cannot redeclare ..." - How to find/fix it

SSL Implementation Help

Like this post? "Like" it again over there >

#63 Douglas-John Ramm

  • Community Member
  • 28 posts
  • Real Name:Douglas-John Ramm
  • Gender:Male
  • Location:Melbourne

Posted 18 January 2012, 04:25

I have tried adding a back groud image to my site and used the following code.
body {
background-image : url('https://www.mystore.net.au/shop/images/skywithclouds.jpg');
background-repeat : no-repeat;
background-position : 50% 50%;
background-attachment : fixed;
color : #000000;
margin : 0;
font-size: 11px;
font-family: Lucida Grande, Lucida Sans, Verdana, Arial, sans-serif;
}

but it dosent work.

any ideas
Doug

#64 npn2531

  • Community Member
  • 951 posts
  • Real Name:Jase
  • Gender:Not Telling

Posted 18 January 2012, 18:18

You should be able to add it with this:
body {background: url(images/skywithclouds.jpg) no-repeat 50% 50%;}

No quotes are needed. Note however that unless the closing body tag is 'cleared' like so:
<div class="clear"></div>
</body>
The image will not display.

#65 Douglas-John Ramm

  • Community Member
  • 28 posts
  • Real Name:Douglas-John Ramm
  • Gender:Male
  • Location:Melbourne

Posted 19 January 2012, 07:51

There is no
<div class="clear"></div>
</body>
In the css file should there be i'm running 2.3.1

Doug

#66 Pixietol

  • Community Member
  • 1 posts
  • Real Name:Bobby

Posted 20 January 2012, 22:22

Hello everyone,is this thread still on?I want to ask some few questions in changing the background.

Edited by Pixietol, 20 January 2012, 22:31.

-All is well- [img]http://imagicon.info/cat/test/icon_smile.gif[/img]

#67 apolyshow

  • Community Member
  • 242 posts
  • Real Name:Andreas
  • Gender:Male

Posted 02 February 2012, 17:20

Is this still on?
One amateur made the Arc, 5.000 pro made the Titanic...

#68 germ

  • Community Member
  • 13,564 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 02 February 2012, 17:52

Anyone really wanting help on this should give their URL.

It's almost impossible to help with this without a URL.
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

"Headers already sent" - The definitive help

"Cannot redeclare ..." - How to find/fix it

SSL Implementation Help

Like this post? "Like" it again over there >

#69 14steve14

  • Community Member
  • 2,169 posts
  • Real Name:Steve
  • Gender:Male

Posted 10 February 2012, 15:23

View PostDouglas-John Ramm, on 19 January 2012, 07:51, said:

There is no
<div class="clear"></div>
</body>
In the css file should there be i'm running 2.3.1

Doug

Add

.clear {
clear: both;
}

to your stylesheet.
REMEMBER BACKUP, BACKUP AND BACKUP
I am not a coder. OSC has a steep learning curve, but in general the program does work. If it doesnt work, the chances are it is something you have done.