Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2009
    Posts
    10
    Plugin Contributions
    0

    css problem Cant Change Product BG Colour...

    Hey,

    I cannot change my product background colour, i have used firebug to try and find the file which defins the colour.

    I have come to the conclusion that it is embedded CSS but i cannot locate the file which it is in, its been doing my head in for days, below is the link for an example

    http:// w w w .d b 3 o n l i n e.c o m/catalog/index.php?main_page=product_info&cPath=71_100&products_id=517

    Please remove spaces in address, just to stop google indexing.

    Hope anyone can help.
    Thanks
    Rick Hope

  2. #2
    Join Date
    Jan 2009
    Posts
    310
    Plugin Contributions
    0

    Default Re: Cant Change Product BG Colour...

    Hi,

    I can see that usually mens is blue and womens is pink, this product must have been listed as a womans product by accident maybe?

    The code to change is in your stylesheet for the backgrounds is:

    .coloredBackgroundMen {
    background-color:#5A9BDF;
    float:right;
    height:465px;
    width:460px;

    .coloredBackgroundWomen {
    background-color:#FFADFF;
    float:right;
    height:465px;
    width:460px;

    So to fix, you'd need to re-classify that product or just change the above background code to your desired color...

    I Identified this in just a few seconds using firebug using the 'inspect element' part, you can highlight the part you want to change and it shows you the CSS code you need to modify...

    Thanks

    Steve
    Steve
    Site Under Construction: adatglobal.com

  3. #3
    Join Date
    Oct 2009
    Posts
    10
    Plugin Contributions
    0

    Default Re: Cant Change Product BG Colour...

    hi, thanks for the reply, i have had no problem identifiying it, but i think the CSS is embedded into a page not brough in through a stylesheet so i dont have a clue where to find the colour to change it :S

  4. #4
    Join Date
    Jan 2009
    Posts
    310
    Plugin Contributions
    0

    Default Re: Cant Change Product BG Colour...

    Using the Web Developer it indeed says you have embedded styling:

    Embedded Styles from http://www.db3online.com/catalog/ind...roducts_id=413

    .LPform {
    width:100px;
    height:100px;
    border:1px solid black;
    font-family:Arial, Helvetica, sans-serif;
    font-size: 11px;
    }

    #LPsubmit {
    width: 75px;
    height: 22px;
    }

    .coloredBackgroundWomen{background-color:#FFADFF; height:465px; width:460px; float:right;}
    .coloredBackgroundMen{background-color:#5A9BDF; height:465px; width:460px; float:right;}

    .footStyl{
    color:#999999;
    font-family:Arial;
    font-size:15px;
    Now Im not fully comprehensive on either firebug or web developer, I'd suggest going to your web developers toolkit in your admin and searching for:

    .coloredBackgroundWomen

    This will tell you every occurrence and should be quite obvious where you need to make the change (hopefully). The men and women will im sure be right next to each other where you need to make the change

    Thanks

    Steve
    Steve
    Site Under Construction: adatglobal.com

  5. #5
    Join Date
    Jan 2009
    Posts
    310
    Plugin Contributions
    0

    Default Re: Cant Change Product BG Colour...

    If I had to guess, I'd say this is in

    includes>templates>YOUR TEMPLATE>templates>tpl_product_info_display.php

    <!-- bof prepares and displays center column-->
    <style>
    .coloredBackgroundWomen{background-color:#FFADFF; height:465px; width:460px; float:right;}
    .coloredBackgroundMen{background-color:#5A9BDF; height:465px; width:460px; float:right;}

    </style>
    Hope this helps...
    Steve
    Site Under Construction: adatglobal.com

  6. #6
    Join Date
    Oct 2009
    Posts
    10
    Plugin Contributions
    0

    Default Re: Cant Change Product BG Colour...

    Thankyou sooo much stiggy100

    it was bringing it from the default_template in the file you suggested.

    Thanks

    A+++

 

 

Similar Threads

  1. Change colour of product listing bar
    By Csenge in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 25 Jul 2011, 07:31 PM
  2. Help- cant find attribute ID to change colour
    By TonyB6 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Mar 2010, 04:14 AM
  3. Search page text cant change colour ?
    By J#xx in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 2 Jan 2009, 02:49 PM
  4. Replies: 1
    Last Post: 29 Sep 2008, 04:32 PM
  5. Change colour of Product Counts
    By markov in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 9 Oct 2006, 12:03 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR