osCmax v2.5 User Manual
Results 1 to 5 of 5

CSS & background

This is a discussion on CSS & background within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I changed the color of my background but it made the background of the site as well as the store ...

      
  1. #1
    New Member
    Join Date
    Jan 2007
    Posts
    12
    Rep Power
    0


    Default CSS & background

    I changed the color of my background but it made the background of the site as well as the store the same color. I want to have the "store" table which is centered be white while having the background a separate color -kind of like the store table is "floating" above the background color. If that makes sense...sorry don't know the terminology all too well.

    Also, I entered a .fixcenter command in the stylesheet file but since I had already changed manually the table settings in the individual files -should I go back and change them to what they originally were?

    I guess overall I'm trying to get a centered store, with a small border around it with a white background to the store -then have a diff. color background to the whole site.

    Any thoughts?????

  2. #2
    osCMax Developer

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


    Default Re: CSS & background

    Link please?

    You can center the page many different ways. Since you modified the tables, there is no reason to also modify the css. Either way works.

    To change the table style to be a different color than the background, you can either load a colored image as the table background or you can simply create a new style for the table in stylesheet.css with a different color, then modify main_page.tpl.php to use the new style.
    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

  3. #3
    New Member
    Join Date
    Jan 2007
    Posts
    12
    Rep Power
    0


    Default Re: CSS & background

    Did you want the link to my site? Handmade jewelry, earrings, necklaces in Swarovski crystals, semi-precious stones, sterling silver, 14k gold by CRYSTAL ALLURE CREATIONS & JEWELRY

    I actually got the store background white, a border around it...now I just have to figure out how to center the darn thing. I've tried a few different things but it still aligns left.

    I did the fixcenter to move the bodywidth contol to the stylesheet for easier manageability.

  4. #4
    osCMax Developer

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


    Default Re: CSS & background

    Your site is centered when I visit it.
    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

  5. #5
    New Member
    Join Date
    Jan 2007
    Posts
    12
    Rep Power
    0


    Default Re: CSS & background

    yes, you must have clicked on it after I finally figured out how to do it. sorry about that. I actually ended up using a skin provided under the contributions and everything is working but I can't seem to get the footer to show my links in white. I've tried changing different things in the coding but it still shows as black. Any thoughts?

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 music
    By kellycog in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 09-16-2004, 09:02 AM
  3. Different background for different boxes
    By jan_mull in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 11-17-2003, 07:22 PM
  4. Background Image
    By jan_mull in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 11-10-2003, 06:31 AM
  5. Background in right column
    By EPierre in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 11-08-2002, 06:27 AM

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
  •