Forum Support

 
Advanced Search


[1]

Offline Winemakeri
Free Member
Posts: 14
Posted on: January 10, 2014, 09:27:46 AM

I seem to be missing something obvious.

From the forum postings I have read, to change the background colour or to use an image I edit line 3 of the "template.css" file.

However, when I do that (see code below) and upload my "body_bg.png" file to the images dir it doesnt show up on the page.

Even the dark blue colour (#34187) doesnt show up, which is what I would expect to happen if the png file wasnt uploaded.

template.css
body  {
    background: url("../images/body_bg.png") repeat scroll 0 0 #134187;
   color:#717171;
   font-size:0.8em;
   line-height:170%;}

What am I missing? Is there some other place (or css file) that has the body background listed?

My url is:
http://zeus.canspace.ca/~winemake/cms/

Thanks.
Logged

Offline mikenicoll
Free Member
Posts: 20162 WWW
Posted on: January 12, 2014, 10:02:00 PM

Hello,

You can change any backgrounds now directly in the Template Manager under the Backgrounds Tab. Here you can specify a color or image to certain areas of the site. The default background of the site is called from this line in the Template.CSS

body {
    background: url("../images/s5_bg.jpg") repeat scroll 0 0 #A9A9A9;
    color: #717171;
    font-size: 0.8em;
    line-height: 170%;
}

So to change this to your own all you should need to do is just upload your own image named s5_bg.jpg and it will use that image instead. Or you can modify the code pointing to the name of your new image as well.

-Mike
Logged

Offline Winemakeri
Free Member
Posts: 14
Posted on: January 13, 2014, 10:33:27 AM

Thanks Mike,

I somehow overlooked that tab.

The background image works for me now, although when I remove the *.png file from the Background Tabs in Template manager (as a test) the background colour I choose doesnt seem to be applied. For the moment I have just made a png file that colour so this works ok.

Thanks for your help.
Logged

Offline mikenicoll
Free Member
Posts: 20162 WWW
Posted on: January 13, 2014, 07:28:07 PM

Not a problem.

-Mike
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.019 seconds with 22 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.