Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Posts
    333
    Plugin Contributions
    0

    Default make Image hover work

    Hello, i was able to find a stylesheet that would give me a image hover ability, now that i have the stylesheet, what else do i need to do in order to make this work?

    thanks in advance

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: make Image hover work

    That depends. Is it a generic image hover, or is it tailored for the particular kinds of images you want to hover?
    You would probably add the code to your main stylesheet, integrating it with existing rules if applicable. Alternatively, you could use an @import rule to reference it in your main stylesheet.

    The same goes for your other question.

    You might want to post the content of the stylesheets you found so we can actually give advice on them.

  3. #3
    Join Date
    Aug 2008
    Posts
    333
    Plugin Contributions
    0

    Default Re: make Image hover work

    these are the stylesheets, the first one is for the dotlines and the second is for the imagehover

    1st
    .vDotLine

    {

    background-color: transparent;

    background-image: url(../images/delim_v.gif);

    background-repeat: repeat-y;

    background-attachment: scroll;

    width: 20px;

    font-size: 1px;

    }



    .hDotLine

    {

    background-image: url(../images/delim_v.gif);

    padding:1px 0;

    }

    2nd
    #trailimageid {
    position: absolute;
    visibility: hidden;
    left: 0px;
    top: 0px;
    width: 220px;
    height: 0px;
    z-index: 1000;
    }

    #trailimageid div {
    padding: 5px;
    background-color: #FFF;
    border: 1px solid #888;
    text-align: center;
    }

    #trailimageid h1 {
    font-size: 100%;
    font-weight: normal;
    margin: 0;
    padding: 2px 0px;
    text-align: left;
    width: 100%;
    }

    #trailimageid img {
    margin: 2px;
    border: none;
    }

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: make Image hover work

    OK, these are the standard Zen Cart mods. The downloads should have readme files which give instructions for installation.
    There will be PHP files as well as stylesheets, and you can probably FTP the mods' /includes/ folders and contents directly to your site's /includes/ folder, so all the files drop into place.

    If you have already installed the mods' PHP files, upload the stylesheets to /includes/templates/your_template/css/, and they will automatically be applied.

  5. #5
    Join Date
    Aug 2008
    Posts
    333
    Plugin Contributions
    0

    Default Re: make Image hover work

    thanks for your help guys

 

 

Similar Threads

  1. Can't get hover to work??
    By slat2011 in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 17 Jun 2011, 10:24 AM
  2. How can I make Image Handler 2 work with Featured Images?
    By ttmb33 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 22 May 2009, 09:42 PM
  3. Replies: 2
    Last Post: 21 Dec 2007, 09:59 PM
  4. Hover wont work under IE
    By sicness in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 24 Jul 2006, 12:47 PM
  5. Float causes hover not to work in Internet Explorer
    By Pauls in forum Templates, Stylesheets, Page Layout
    Replies: 21
    Last Post: 17 Jun 2006, 11:16 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