osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Problem with background image in infoBoxHeading...

This is a discussion on Problem with background image in infoBoxHeading... within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi, I've been going bananas trying to get my custom image to properly display in the infoBoxHeading. I'm working in ...


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-30-2003, 12:07 PM
mac mac is offline
Member
 
Join Date: Mar 2003
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mac
Default Problem with background image in infoBoxHeading...

Hi,
I've been going bananas trying to get my custom image to properly display in the infoBoxHeading. I'm working in the boxes.php file, I've resized the width of the boxes on the left column and My background image should fit perfectly into the newly sized boxes. Unfortunately, the "right arrow" doesn't want to sit on top of the background image like the text does. Instead, it cuts off the end of my background image, then starts a new iteration of the background image. I have the background image positioned LEFT, and the left corner of the background image now shows up under the right arrow. How can I fix this?

Thanks!

mac
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 03-31-2003, 07:36 AM
mac mac is offline
Member
 
Join Date: Mar 2003
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mac
Default

Well,
looks like I'm running into the same problem with the TD.HeaderNavigation. I'm trying to put a long (750 pixel) image as a background image under the HeaderNavigation bar. I'm running into the same problem here too. Looks like perhaps something to do with the <a href.. tag. Yes, I'm new and I'm learning about html as I go along.
Any suggestions from anyone?

thanks!
mac
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-31-2003, 07:57 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,092
Thanks: 81
Thanked 348 Times in 327 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

How are you trying to do this?

It should all be done in stylesheet.css. There is no code to edit elsewhere. You set the background image of whatever style tag you want to display the image
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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!
  #4  
Old 03-31-2003, 11:15 AM
mac mac is offline
Member
 
Join Date: Mar 2003
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mac
Default

Right,
I did this through the stylesheet, inserting my image into the TD.infoBoxHeading, aligning it to the left, setting no-repeat.
The thing is, the right_arrow in the right corner of the infoBoxHeading seems to do its own thing, starting a new instance of my background image!
By the way, I fixed the headerNavigation issue by deleting some code (turning two tables into one table and slipping in a bunch of & tags to push the session ID, shopping cart info links all the way to the right corner of the bar.
Unfortunately I don't have that option with infoBoxHeading.

ug!

mac
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 03-31-2003, 11:33 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,092
Thanks: 81
Thanked 348 Times in 327 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

mac,

I am not sure what you are doing, could I see an example url?

When I add images to infoboxheading background, they drop right in every time, no problems... ? I do not have the same problem with wrapping. Perhaps it is how you are implementing it in the stylesheet...

I just drop the image into my stylesheet, and have no problems. Here is how I do it, with no problems:

Code:
TD.infoBoxHeading {
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
    color: Black;
    background-image: url(images/mainbar.gif);
                                    vertical-align: middle;
                                    text-align: center;
                                    }
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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!
  #6  
Old 03-31-2003, 05:10 PM
mac mac is offline
Member
 
Join Date: Mar 2003
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mac
Default

Okay,
here's what mine looks like:

TD.infoBoxHeading {
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
font-weight: bold;
background-image: url(images/box_log.gif);
color: #FFFFFF;
text-indent: 20px;
background-attachment: fixed;
background-position: left;
background-repeat: no-repeat;


}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 04-01-2003, 08:00 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,092
Thanks: 81
Thanked 348 Times in 327 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

Looks like an image size problem.

If your image is sized properly, you will not need these options:

Code:
background-attachment: fixed; 
background-position: left; 
background-repeat: no-repeat;
Remove them and see if that works for you. Also, I have attached a sample image for you to try in your catalog.
Attached Images
File Type: gif mainbar.gif (1.0 KB, 145 views)
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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!
  #8  
Old 04-01-2003, 04:04 PM
mac mac is offline
Member
 
Join Date: Mar 2003
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mac
Default

Nope, I tried deleting those entries from my stylesheet and I still had the same problem. I even tried loading your image, and it did the same thing with your image. There's something about that code with the right arrow...

mac
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 04-01-2003, 04:23 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,092
Thanks: 81
Thanked 348 Times in 327 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

What version are you using? MS1?

It works perfectly for me, no mods needed. See the screen cap below.
Attached Images
File Type: jpg infoboxheading.jpg (10.3 KB, 131 views)
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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!
  #10  
Old 04-01-2003, 04:31 PM
mac mac is offline
Member
 
Join Date: Mar 2003
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mac
Default

What's the easiest way of finding out exactly what version number I'm using?
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
Background Image jan_mull osCMax v1.7 Discussion 3 11-10-2003 07:31 AM
Column_left background image rd42 osCommerce 2.2 Modification Help 4 07-14-2003 12:24 AM


All times are GMT -8. The time now is 07:31 PM.


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