Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28
  1. #11
    Join Date
    Jul 2011
    Location
    New Jersey
    Posts
    98
    Plugin Contributions
    0

    Default Re: Change the font color in Product Listing page

    Quote Originally Posted by dgent View Post
    Oh I see the problem, your main product image which you use on your listings isnt like your product images.
    Exactly, that's because I added
    PHP Code:
    #productMainImage {display:none;} 
    I don't wanna the main product image shows in my product info page.

    When I commented it the main product image shows up . Right now I have my name, price, description below my last additional image. How I can add price, name, description below the 1st additional image?

  2. #12
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Change the font color in Product Listing page

    Quote Originally Posted by wilson_li View Post
    Exactly, that's because I added
    PHP Code:
    #productMainImage {display:none;} 
    I don't wanna the main product image shows in my product info page.

    When I commented it the main product image shows up . Right now I have my name, price, description below my last additional image. How I can add price, name, description below the 1st additional image?
    You can't, it would require hacking of the additional images module which I don't know what to do.

    One way to get around it, would be put the product title and price below the product description code, and then simply add the FIRST image via HTML tags in your product description (in admin) to display it.

    ie...

    <img src="images/yourimage.jpg" align="center">

    (or don't add the align="center" tag and align all of the product description in your stylesheet to center)

    Bit crude, but will work fine.

  3. #13
    Join Date
    Jul 2011
    Location
    New Jersey
    Posts
    98
    Plugin Contributions
    0

    Default Re: Change the font color in Product Listing page

    Quote Originally Posted by dgent View Post
    You can't, it would require hacking of the additional images module which I don't know what to do.

    One way to get around it, would be put the product title and price below the product description code, and then simply add the FIRST image via HTML tags in your product description (in admin) to display it.

    ie...

    <img src="images/yourimage.jpg" align="center">

    (or don't add the align="center" tag and align all of the product description in your stylesheet to center)

    Bit crude, but will work fine.
    Thanks dgent, I'm trying to do this way. By the way, if you look at the footer: Copyright © 2011 campbellsloft. Powered by Zen Cart the color of "campbellsloft" and "Zen Cart" are in white which is caused by :
    PHP Code:
    a:visited {
        
    color#ffffff;
        
    text-decorationnone;
        } 
    Can I revert it to black (the product listing page's text remains white)?

  4. #14
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Change the font color in Product Listing page

    Why not just make that block at the bottom black, and make all the text it in white?

  5. #15
    Join Date
    Jul 2011
    Location
    New Jersey
    Posts
    98
    Plugin Contributions
    0

    Default Re: Change the font color in Product Listing page

    Quote Originally Posted by dgent View Post
    Why not just make that block at the bottom black, and make all the text it in white?
    That's weird...... when I launched Google Chrome, and Firefox 5.0 the text showed on the footer..

  6. #16
    Join Date
    Jul 2011
    Location
    New Jersey
    Posts
    98
    Plugin Contributions
    0

    Default Re: Change the font color in Product Listing page

    Quote Originally Posted by dgent View Post
    Why not just make that block at the bottom black, and make all the text it in white?

    Thanks dgent, I tried to add border (white) it worked but effected other sections

    PHP Code:
    #addImagecont {
        
    border-color: [B]white[/B];
        
    border-stylesolid;
        
    border-width70px 80px;
        
    padding-left2px;
        
    padding-right0;
        
    width845px;

    The line of code adds left-border-width: 70px, right-border-width: 80px, color in white to the additional image. However, the background color in header was in white as well.

    Is there any way to add border like what showed in the attachment?

    thanks
    Attached Images Attached Images  

  7. #17
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Change the font color in Product Listing page

    Add this to your style sheet

    .additionalImages img { border: solid white 70px;}

    Also, on your body tag in your stylesheet, you have 'color: black' - Did you mean background-color? Make all of the background black then, no white sides.

  8. #18
    Join Date
    Jul 2011
    Location
    New Jersey
    Posts
    98
    Plugin Contributions
    0

    Default Re: Change the font color in Product Listing page

    Quote Originally Posted by dgent View Post
    Add this to your style sheet

    .additionalImages img { border: solid white 70px;}

    Also, on your body tag in your stylesheet, you have 'color: black' - Did you mean background-color? Make all of the background black then, no white sides.
    Thanks again, dgent! I once tried this line in my stylesheet, however it created much more space between additional images (that's I don't want to see).

  9. #19
    Join Date
    Jul 2011
    Location
    New Jersey
    Posts
    98
    Plugin Contributions
    0

    Default Re: Change the font color in Product Listing page

    Actually this can be achieved by editing:

    PHP Code:
    .centerColumn#bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix {
        
    background-colorwhite;
        
    border-colorwhite;
        
    border-right0 solid white;
        
    border-stylesolid;
        
    border-width0;
        
    colorwhite;
        
    margin-top3.6em;
        
    padding0.8em;
        
    width1007px;

    PHP Code:
    .back {
        
    background-colorwhite;
        
    floatleft;
        
    margin-top: -5px;

    However, I still have some problems with the header in white

  10. #20
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Change the font color in Product Listing page

    Quote Originally Posted by wilson_li View Post
    Actually this can be achieved by editing:

    PHP Code:
    .centerColumn#bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix {
        
    background-colorwhite;
        
    border-colorwhite;
        
    border-right0 solid white;
        
    border-stylesolid;
        
    border-width0;
        
    colorwhite;
        
    margin-top3.6em;
        
    padding0.8em;
        
    width1007px;

    PHP Code:
    .back {
        
    background-colorwhite;
        
    floatleft;
        
    margin-top: -5px;

    However, I still have some problems with the header in white

    Don't edit those, edit the body tag only.

    background-color: #000 !important;

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Font color change in the categories listing
    By Marlake in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 7 Jul 2010, 10:31 PM
  2. How to change the font and color of Product Title?
    By Klemens in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Jul 2009, 07:00 PM
  3. change font color in category's product listing
    By yellowsub in forum Setting Up Categories, Products, Attributes
    Replies: 16
    Last Post: 19 Mar 2009, 06:33 AM
  4. Change Font color on Product Page
    By DieuxSoldat_04 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 28 Feb 2008, 04:41 AM
  5. How to change font color for Product Listing
    By Jbraz in forum Templates, Stylesheets, Page Layout
    Replies: 17
    Last Post: 23 Oct 2007, 03:21 PM

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