Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Hybrid View

  1. #1
    Join Date
    Dec 2004
    Location
    Victoria, Australia
    Posts
    161
    Plugin Contributions
    0

    Default Borders around images

    I don't doubt that this has been answered more than a few times... but I've dredged this forum looking for a straight answer... and I can't find it. In fact, I had the answer to this 12 months ago, and now I cannot remember how I did it (the site where it was done is not longer operational) http://www.zen-cart.com/forum/showthread.php?t=148206

    Can someone please tell me where I change the border colour and width for the main image and the additional images?

    Cheers!

  2. #2
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Borders around images

    do you have link to current site?

  3. #3
    Join Date
    Dec 2004
    Location
    Victoria, Australia
    Posts
    161
    Plugin Contributions
    0

    Default Re: Borders around images

    Nope, sorry. It's in dev on a local PC.

  4. #4
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Borders around images

    try this for the additional images:

    .additionalImages Img {
    border:1px solid #FF0000;
    }

    see if that works

  5. #5
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Borders around images

    try this for the main image:

    #productMainImage {
    border:1px solid #FF0000;
    }

    see if that works, I am assumming you are talking about the images on the product_info page

    hope this helps!

  6. #6
    Join Date
    Dec 2004
    Location
    Victoria, Australia
    Posts
    161
    Plugin Contributions
    0

    Default Re: Borders around images

    product_info=yes
    ummm... in which file?

  7. #7
    Join Date
    Dec 2004
    Location
    Victoria, Australia
    Posts
    161
    Plugin Contributions
    0

    Default Re: Borders around images

    Hope someone can help me out here.... cause I can't work this out.

    http://esotericbynature.com/ebn_test...&products_id=4

    1. The thin purple border around the entire group of additional images... where does this come from?
    2. Is there a way to have to border around the main image, only be around the image, not the image and the 'larger image' text (new borders displayed in red for viability)

  8. #8
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Borders around images

    Quote Originally Posted by CabernetCat View Post
    Hope someone can help me out here.... cause I can't work this out.

    http://esotericbynature.com/ebn_test...&products_id=4

    1. The thin purple border around the entire group of additional images... where does this come from?
    Ca,
    Locate this:
    ebn_test/includes/templates/theme325/css/stylesheet_main.css
    Find this:
    #productAdditionalImages {
    border:1px solid #76548E;
    margin:10px;
    padding:10px 0;
    }
    The highlighted red font above is your fix.. Comment it out or just delete it..

  9. #9
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Borders around images

    for the thin purple border, in your stylesheet_main.css file

    find:
    Code:
    #productAdditionalImages {margin:10px; border:1px solid #76548e; padding:10px 0px;}
    change to:
    Code:
    #productAdditionalImages {margin:10px; border:0px solid #76548e; padding:10px 0px;}

  10. #10
    Join Date
    Dec 2004
    Location
    Victoria, Australia
    Posts
    161
    Plugin Contributions
    0

    Default Re: Borders around images

    Thanks guys,

    Got item 1 sorted. any ideas on the border around the main image?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Borders around products
    By dscott1966 in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 9 Nov 2006, 04:11 AM

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