Results 1 to 4 of 4
  1. #1
    Join Date
    May 2008
    Posts
    31
    Plugin Contributions
    0

    Default Product Listings images boder hover

    hello

    i put a border in my product listings images with this

    Code:
    .categoryListBox img, .listingProductImage, .productMainImage img {
    border: 1px solid #cccccc;
    }
    work perfect to create a border but i would like to have the hover effect when you mouse hover change the border to another color

    any help

    thank you

  2. #2
    Join Date
    Sep 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: Product Listings images boder hover

    Quote Originally Posted by triplexxx View Post
    hello

    i put a border in my product listings images with this

    Code:
    .categoryListBox img, .listingProductImage, .productMainImage img {
    border: 1px solid #cccccc;
    }
    work perfect to create a border but i would like to have the hover effect when you mouse hover change the border to another color

    any help

    thank you
    //----------------------
    try:

    /* Add one more css style in style sheet: */

    .categoryListBox img:hover, .listingProductImage, .productMainImage img:hover {
    border: 2px solid #C10000;
    }

    definitely you can change border to 1px

    hope works for you

  3. #3
    Join Date
    May 2008
    Posts
    31
    Plugin Contributions
    0

    Default Re: Product Listings images boder hover

    hello hanit

    thanks but don't work im only getting a red 2px border with no hover

    i need to have a #cccccc border is what i have now and when you hover get a #C10000 border for example

    thank you

  4. #4
    Join Date
    Sep 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: Product Listings images boder hover

    Quote Originally Posted by triplexxx View Post
    hello hanit

    thanks but don't work im only getting a red 2px border with no hover

    i need to have a #cccccc border is what i have now and when you hover get a #C10000 border for example

    thank you
    u r welcome, actually, I tested that css. in IE8, FF3.6.10, it works fine. Because IE6, css does not support :hover, so it won't work, but you can modify the php source file, make the image code like these,

    <img src="http://www.zen-cart.com/forum/images/zc2010/misc/zen-cart-logo.png" onmouseover="this.style.border='2px solid #C10000'" onmouseout="this.style.border='2px solid #CCCCCC'"/>

 

 

Similar Threads

  1. Movie files as product images or in listings
    By outeredge2 in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 3 May 2012, 09:30 PM
  2. Hover Image on Product Listings?
    By hgws in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Jun 2009, 05:11 AM
  3. Image Handler No Hover (zoom) on Product Listing Images
    By kwright in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 15 Feb 2009, 04:30 PM
  4. product images and listings
    By hottytoddysummer in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 25 Mar 2008, 05:24 PM
  5. Quetions about Hover Bkgrund color and hover for images
    By Donn in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 21 Nov 2007, 12:10 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