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...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I would like to place an image in column left, behind the boxes. How do I do that? thanks, rd42 |
|
#2
| ||||
| ||||
| 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 //-->
__________________ Michael Sasek osCMax Developer
|
|
#3
| ||||
| ||||
| 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">
Code: <!-- categories //-->
<tr>
<td style="test.css">
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 |
|
#4
| ||||
| ||||
| 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
|
|
#5
| ||||
| ||||
| 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. |
| Thread Tools | |
| |
| ||||
| 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 |