osCmax v2.5 User Manual
Page 1 of 5 123 ... LastLast
Results 1 to 10 of 41

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 ...

      
  1. #1
    mac
    mac is offline
    Member
    Join Date
    Mar 2003
    Posts
    32
    Rep Power
    0


    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

  2. #2
    mac
    mac is offline
    Member
    Join Date
    Mar 2003
    Posts
    32
    Rep Power
    0


    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

  3. #3
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  4. #4
    mac
    mac is offline
    Member
    Join Date
    Mar 2003
    Posts
    32
    Rep Power
    0


    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

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  6. #6
    mac
    mac is offline
    Member
    Join Date
    Mar 2003
    Posts
    32
    Rep Power
    0


    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;


    }

  7. #7
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Attached Images
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  8. #8
    mac
    mac is offline
    Member
    Join Date
    Mar 2003
    Posts
    32
    Rep Power
    0


    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

  9. #9
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    What version are you using? MS1?

    It works perfectly for me, no mods needed. See the screen cap below.
    Attached Images Attached Images
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  10. #10
    mac
    mac is offline
    Member
    Join Date
    Mar 2003
    Posts
    32
    Rep Power
    0


    Default

    What's the easiest way of finding out exactly what version number I'm using?

Page 1 of 5 123 ... LastLast

Similar Threads

  1. Background Image
    By Studio143 in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 01-02-2005, 04:26 PM
  2. background image has dissappeared , help
    By acrylictribesmen in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 07-03-2004, 09:55 PM
  3. background image outside mainpage?
    By jloyzaga in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 01-20-2004, 01:56 AM
  4. Background Image
    By jan_mull in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 11-10-2003, 06:31 AM
  5. Column_left background image
    By rd42 in forum osCommerce 2.2 Modification Help
    Replies: 4
    Last Post: 07-13-2003, 11:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •