osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Background Image

This is a discussion on Background Image within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hello, Could any of you maybe give me a few pointers on how to install a page-wide background image on ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-08-2003, 09:27 PM
New Member
 
Join Date: Nov 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jan_mull
Default Background Image

Hello,

Could any of you maybe give me a few pointers on how to install a page-wide background image on MS2-MAX? The image is a color gradient that gradually changes color from left to right. I would like to have this backround visible behind the header, the columns, the boxes and the content in a seamless manner.

Should I add parts of this image to the boxes as separate background images for instance? And do I use the style sheet for this?

Especially with the header I would like this image to be behind the logo as well as the other icons on the top right side.

Any guidance would be MUCH appreciated!
Thanks in advance!

Jan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 11-09-2003, 09:23 AM
Anonymous
Guest
 
Posts: n/a
Default

Hi Jan

You can set the page background image in the stylesheet. I modified mine to display an image such as:
Code:
BODY {
  background: #ffffff;
  background: url("images/store/new11.jpg");
  color: #000000;
  margin: 10px;
}
Dan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-09-2003, 09:30 PM
New Member
 
Join Date: Nov 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jan_mull
Default

Thanks Dan,

That has helped me, thank you! However, I am still trying to make the header show a background picture. I did first of all go into the stylesheet and added a background image to the TR.header class. But this ends up as a double background image. I then tried to locate the actual header file itself, and I thought it is header.php -- but none of my code had any effect. I actually removed the header.php file temporarily just to see if this is really the file in question, and that did not have any effect either!

So how would you do the background image for the header band?

Thanks a lot!
Jan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-10-2003, 07:31 AM
New Member
 
Join Date: Sep 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Redbeard
Default

Hi Jan

In the templates/main_page.tpl.php file, find the section for the header (it's pretty well indicated, mine starts around line 23.

I added a line that basically says: <tr class="header"> and then defined the header class in my stylesheet as
Code:
TR.header {
background: url("images/store/someimage.jpg");
}
You'll have to adjust depending on how you want to make your header work.

Hope this helps, the big trick is finding the right file. Keep in mind, this should cover pages that work from the templates, you'll have a few additional pages to fix as well.

Dan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Background Image Studio143 osCMax v1.7 Discussion 5 01-02-2005 05:26 PM
background image has dissappeared , help acrylictribesmen osCMax v1.7 Discussion 5 07-03-2004 10:55 PM
background image outside mainpage? jloyzaga osCMax v1.7 General Mods Discussion 1 01-20-2004 02:56 AM
Column_left background image rd42 osCommerce 2.2 Modification Help 4 07-14-2003 12:24 AM
Problem with background image in infoBoxHeading... mac osCommerce 2.2 Modification Help 40 04-14-2003 07:33 AM


All times are GMT -8. The time now is 12:01 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax