Results 1 to 10 of 10
  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.

  7. #7
    Join Date
    Aug 2005
    Location
    Trujillo Alto, Puerto Rico
    Posts
    1,550
    Plugin Contributions
    9

    Default Re: New buttons - no hover?

    Hi Ryk,

    Thanks for that valuable info. Nice stuff on Chic Apparel. Do you know that your right boxes on Fastlec are out of alignment?
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!

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

    Default Re: New buttons - no hover?

    Quote Originally Posted by ideasgirl
    Hi Ryk,

    Thanks for that valuable info. Nice stuff on Chic Apparel. Do you know that your right boxes on Fastlec are out of alignment?
    Thank you. Do you mean that the right box headers are right-aligned as opposed to the left box headers which are left-aligned? It looks OK to me in both FF & IE.
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  9. #9
    Join Date
    Aug 2005
    Location
    Trujillo Alto, Puerto Rico
    Posts
    1,550
    Plugin Contributions
    9

    Default Re: New buttons - no hover?

    No, I mean that the whole right column it's out of the header; for me on both IE and FF.

    Look the attachment.
    Attached Images Attached Images  
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!

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

    Default Re: New buttons - no hover?

    Right - got you now...it's a screen resolution thing that I'd missed as it doesn't appear on my monitor at my regular settings.

    Thanks.
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

 

 

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