Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default New buttons - no hover?

    When creating new CSS buttons what must one do to ensure the hover works? I have added new ones at http://chicapparel.co.uk/index.php?m...e=products_new (for the "More info") and also at http://fastlec.co.uk/ (the Create Account button in the login sidebox).

    Obviously they are being picked up as css buttons, but why no hover effect? What am I doing wrong?
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: New buttons - no hover?

    Tje the Create Account button in the login sidebox on the fastlec site took me to this link that appears correct, si it not?:

    https://www.fastlec.co.uk/index.php?main_page=login

    The 'more' is linked to

    http://chicapparel.co.uk/index.php?m...e=products_new

    which is the same page.

    I know your expertise, so I must be missing something in your request...

    Is the hover effet that you are referring to?

    EDITED: Never, ever post the zen_id or zenAdminID (session id) in a forum, email, newsgroup, newsletter, advertisement, etc. etc. etc. or you will be doomed ...
    Last edited by Ajeh; 4 Aug 2006 at 02:34 AM.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: New buttons - no hover?

    I'm not too worried about the actual links at the moment - I just can't figure out why there's no hover action on those buttons. But it's getting late here after a long day at the keyboard ...maybe I need to sleep on it!
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  4. #4
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: New buttons - no hover?

    Typo in the CSS?

  5. #5
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: New buttons - no hover?

    Nope - nothing whatsoever to do with CSS!!

    But I have found the answer - the define statement for the new button in includes/languages/english/YOUR_TEMPLATE/button_names.php can NOT be empty; you simply must have something - even if a non-existent image name or just a space, as the definition.

    So this:
    Code:
    define('BUTTON_IMAGE_MORE_INFO', '');
    causes the hover to malfunction...

    and this
    Code:
    define('BUTTON_IMAGE_MORE_INFO', ' ');
    or this
    Code:
    define('BUTTON_IMAGE_MORE_INFO', 'non-existent_image.gif');
    allows it to function correctly.
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  6. #6
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: New buttons - no hover?

    Interesting and noteworthy - thanks for the tip Ryk
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

 

 

Similar Threads

  1. Hover buttons
    By SethF in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Oct 2011, 05:44 PM
  2. hover buttons in header not displaying.....
    By Computerguyiii in forum General Questions
    Replies: 6
    Last Post: 11 Aug 2010, 11:32 PM
  3. ItemTItle of new procucts hover style
    By Jerry5763837 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2008, 09:50 AM
  4. 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
  5. CSS Hover Buttons
    By hlycom99 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 25 Jul 2007, 02:00 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