change (add) background image

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
nicecarvings
Regular
Posts: 6
Joined: Wed Dec 10, 2008 6:40 pm
Contact:

change (add) background image

Post 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
nicecarvings
Regular
Posts: 6
Joined: Wed Dec 10, 2008 6:40 pm
Contact:

Post 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.


:?
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

Post 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
Steve is occasionally blogging here
nicecarvings
Regular
Posts: 6
Joined: Wed Dec 10, 2008 6:40 pm
Contact:

Post 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)
nicecarvings
Regular
Posts: 6
Joined: Wed Dec 10, 2008 6:40 pm
Contact:

Post 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/
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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.
Judebert
---
Website | Wishlist | PayPal
nicecarvings
Regular
Posts: 6
Joined: Wed Dec 10, 2008 6:40 pm
Contact:

Post 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!
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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.
Judebert
---
Website | Wishlist | PayPal
nicecarvings
Regular
Posts: 6
Joined: Wed Dec 10, 2008 6:40 pm
Contact:

Post by nicecarvings »

Cool! I turned it off and changed a couple things in configuration> saved...no probs!

Whew! :D Thanks again!
Post Reply