osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Column_left background image

This is a discussion on Column_left background image within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I would like to place an image in column left, behind the boxes. How do I do that? thanks, rd42...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-27-2003, 03:16 PM
New Member
 
Join Date: Dec 2002
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
rd42
Default Column_left background image

I would like to place an image in column left, behind the boxes.

How do I do that?

thanks,
rd42
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 03-28-2003, 10:58 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,330
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Create a new style in stylesheet.css that specifies the background image you want to use.

Then, in the display pages that you want the image, you would add the style to the <td> tag that defines where the left column is displayed. Look for a block of code like this:

Code:
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
Your style should go in the opening <td> tag at the top... ( I have done this on the fly, so I might be a little off, but it should get you going)
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 07-13-2003, 01:08 AM
jasonh1234's Avatar
New Member
 
Join Date: Jul 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jasonh1234
Default

I'm trying to make some changes such as the background, and font to a specific area.
I understand this would be done throught the style sheet, but I can't get a style sheet to be associated with the area in question.

Let's say I want to change the font in categories.php only. I open categories.php and add modify the code to this:

Code:
<!-- categories //-->
          <tr>
            <td style="test">
and tried this as well:

Code:
<!-- categories //-->
          <tr>
            <td style="test.css">
Neither worked.
I checked Column_left.php to see if it should be added there instead but no such thing as a TD tag there.

I'm also going to need to add a background to the header but there's no stylesheet called in it and no table tag to add to.

What do I do? This is so frustrating!
My test.css is located in the same location as stylesheet.css
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 07-13-2003, 08:29 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,330
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Your problem is you are calling an entire stylesheet, and this is not how they work. You should add your classes to the existing stylesheet.css, then in the <td> tag, just call the new class.

You should read a turtorial on CSS and how to use it. Your frustration stems from lack of information. You simply are trying something that you don't yet know how to do. Learn how to do it (in theory at least) then try it on your site. Trial and error is not the way to go here...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 07-13-2003, 11:24 PM
jasonh1234's Avatar
New Member
 
Join Date: Jul 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jasonh1234
Default

Thanks. unfortunately I don't have the time to do a lot of reading. I just have to get this site up an running, looking as desired, and I need it done a week ago. (ain't that always the way.)

I've gotten pretty far so far in my trial by fire, but once in a while something small like this will get me tripped up. I think I must've been pretty sleepy when I wrote that message too because when I reread your original reply just now, it seems pretty clear that you don't make a 2nd stylesheet but rather edit the existingone. <smacks head>
Never underestimate the value of sleep.
Thanks for your help though.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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 09:55 PM
background image outside mainpage? jloyzaga osCMax v1.7 General Mods Discussion 1 01-20-2004 02:56 AM
Background Image jan_mull osCMax v1.7 Discussion 3 11-10-2003 07:31 AM
pop up image background colour change starchild osCMax v1.7 Discussion 0 10-01-2003 05:13 AM


All times are GMT -8. The time now is 06:19 PM.


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