Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2008
    Location
    Hanover Township PA, USA
    Posts
    122
    Plugin Contributions
    0

    Default How do I embed CSS Buttons into my HTML EZ Pages?

    Hello Everyone,

    I am upgrading to Zen Cart Version 1.54 on my home server before I publish it. I love the CSS buttons with there fade effects! And since all other pages use these CSS buttons, I would like to know how to incorporate these into my HTML EZ Pages.

    Any thoughts?

    Thanks,
    Danny Osko
    Daniel Osko

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

    Default Re: How do I embed CSS Buttons into my HTML EZ Pages?

    Suggest you search for css buttons - or go to w3schools.com
    http://www.w3schools.com/bootstrap/b...ss_buttons.asp
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,486
    Plugin Contributions
    88

    Default Re: How do I embed CSS Buttons into my HTML EZ Pages?

    For a link-type button, a back-button specifically, the HTML generated looks like:
    Code:
    <div class="buttonRow back"><a href="http://www.example.com/index.php?main_page=index"><span class="cssButton normal_button button  button_back" onmouseover="this.className='cssButtonHover normal_button button  button_back button_backHover'" onmouseout="this.className='cssButton normal_button button  button_back'">&nbsp;Back&nbsp;</span></a></div>
    You'll replace
    www.example.com with your store's URL
    main_page=index with the page (and optionally, parameters too) to which the link should go on click
    button_back (3 times) with a class name specific to that button (in case you want special styling)
    &nbsp;Back;&nbsp; with the text you want displayed in the button

    That will result in an EZ-Page button that matches the styling of all the auto-generated buttons in your store.

  4. #4
    Join Date
    Dec 2008
    Location
    Hanover Township PA, USA
    Posts
    122
    Plugin Contributions
    0

    Default Re: How do I embed CSS Buttons into my HTML EZ Pages?

    Thank You!

    It's been a few weeks since I was able to get back to this, but your info set me on the correct path. I finally came up with this slight modification to place a "BACK" button on any page and have it go to the previous page. Here is the code:

    <div class="buttonRow back">
    <a href="javascript:void(0)" onclick="history.back()">
    <span class="cssButton normal_button button button_back" onmouseover="this.className='cssButtonHover normal_button button button_back button_backHover'" onmouseout="this.className='cssButton normal_button button button_back'">&nbsp;Back&nbsp;</span></a></div>
    Daniel Osko

 

 

Similar Threads

  1. v151 How to edit CSS buttons in the checkout pages?
    By Joe Schiaffi in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 Feb 2015, 06:39 PM
  2. How to embed SFE file into the page?
    By Lazar in forum Addon Sideboxes
    Replies: 15
    Last Post: 22 Apr 2011, 07:09 PM
  3. How do I embed music into my zencart site?
    By gregjs in forum General Questions
    Replies: 5
    Last Post: 12 Jul 2009, 11:04 PM
  4. Using CSS Buttons yet still see graphic buttons on some pages
    By newbie73 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Jul 2007, 12:51 PM

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