Page 1 of 1

change (add) background image

Posted: Wed Dec 10, 2008 7:07 pm
by nicecarvings
Hi,

First post here. Serendipity looks great. I have decided to use it for my wifes website. I just need to learn how to do probably one of the easiest things to get started here.

I just want to add a background image to the blog. Anybody know where I do this? I believe I'm using the default template.

url for new blog is...
http://www.nicecarvings.com/blog/

Thanks in advance for any help!

Jason

Posted: Wed Dec 10, 2008 8:53 pm
by nicecarvings
I did try a few things to get this done but wasn't successful. For instance I tried adding background image code to both style.css and the index.php in the default template.

I'm probably not using the right code...or not making the changes in the correct area.


:?

Posted: Wed Dec 10, 2008 9:14 pm
by sonichouse
nicecarvings wrote:I'm probably not using the right code...or not making the changes in the correct area.
In my style.css in the template directory I have

Code: Select all

body {
        background: url({TEMPLATE_PATH}img/aerodrome.jpg) no-repeat 0 0 #fff;
}
HTH

Posted: Wed Dec 10, 2008 10:43 pm
by nicecarvings
Sweet! Thanks Sonic, that worked!
http://nicecarvings.com/blog/

It also helped that I started messing with the css of the actual template I'm currently using (MTCLEAN)

Posted: Wed Dec 10, 2008 11:02 pm
by nicecarvings
Then I did something in the admin and now I got major fubar. (can't remember what i changed)

Getting messages like this... :shock:
A link to the server could not be established in /home/nicescom/public_html/blog/include/db/mysql.inc.php on line 271

http://nicecarvings.com/blog/

Posted: Wed Dec 10, 2008 11:05 pm
by judebert
You're probably using FF3, and it's probably auto-filled the "Password" field in the admin configuration screen. It's a nasty habit; it's trying to help you.

If you can still reach your admin screen at http://nicecarvings.com/blog/serendipity_admin.php , you can change the settings back.

If you can't, you'll need to use FTP and modify your serendipity_config_local.inc.php file. The database user and password are stored there. Change them back, and everything should work again.

Posted: Wed Dec 10, 2008 11:20 pm
by nicecarvings
judebert,

Thanks! I fixed it through the ftp. I was using Google Chrome and it did what you said it would like with FF3.

Is there a way to prevent this? Maybe just try to turn off the password assistant in Google Chrome? Thanks again!

Posted: Wed Dec 10, 2008 11:23 pm
by judebert
Glad I could help out! Yes, you can turn off the password assistant. I understand Garvin is updating these fields with a flag that prevents them from being auto-filled, so a later update may help you out.

Posted: Wed Dec 10, 2008 11:31 pm
by nicecarvings
Cool! I turned it off and changed a couple things in configuration> saved...no probs!

Whew! :D Thanks again!