Page 2 of 2

Re: Change background of Default Template

Posted: Sat Feb 05, 2011 8:10 am
by Chones
You just need a wide image (over 1000px wide) for the background and you center it.

Create a wide background image, call it background.jpg, upload it to your theme's image folder and then in your theme's stylesheet, in the style for the body add:

Code: Select all

background: #ff66ff url('../image/background.jpg') center top no-repeat;

Re: Change background of Default Template

Posted: Mon Feb 21, 2011 5:17 am
by KuriN
Ok, thanks, it worked fine... Quite a work for a widescreen image :)

I have a new problem...

So I want to make the header image (background) larger. I tried to make the image itself larger but it seems that it automatically cut it from the top. So i guess that there should be some pixel adjustment. I tried fez thing but it didn't work.

Any help

Re: Change background of Default Template

Posted: Wed Feb 23, 2011 5:19 am
by Chones
I'm sorry but I don't understand what you are trying to do. Can you post some images of what you want? Or a link?

Re: Change background of Default Template

Posted: Sat Jan 05, 2013 12:23 am
by ThePath
I know this is a really old thread but Ive just released a mod which changes backgrounds, colours and much more direct from the admin panel: http://www.opencart.com/index.php?route ... on_id=9927