Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Posts
    57
    Plugin Contributions
    0

    Default CSS Button For EZ Pages

    Ok most of the time i am lucky to find the info to my issues or a mod that sends me in the right direction. But i have found none. I am trying to figure out how to create a css button for the ez pages links in the header IE: each link has a css button attached dynamically. I have played with a few ideas from css sites but none have worked. Could someone please send me in the right direction on this

    Thanks

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: CSS Button For EZ Pages

    "CSS Buttons" has a particular meaning in Zen Cart as an option for replacing the conventional image-based buttons. However, it seems to me that you are simply looking to turn your EZ-Page links into buttons using CSS.

    There are a couple of good tutorials on this. This one from Sophie G shows how to do this using background images. If you're just after a bevelled effect, then this tutorial may be more appropriate.

    For some techniques you will need the ez-page links to be in a unordered list rather than just a list of a tags. To do this you would expand lines 20-24 of tpl_ezpages_bar_header.php to read
    PHP Code:
    <div id="navEZPagesTop">
      <ul id="navEZPagesTopList">
        <?php for ($i=1$n=sizeof($var_linksList); $i<=$n$i++) {  ?>
        <li><a href="<?php echo $var_linksList[$i]['link']; ?>"><?php echo $var_linksList[$i]['name']; ?></a></li>
      <?php // end FOR loop ?>
      </ul>
    </div>
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. CSS Button for checkout_confirmation
    By spid3r1987 in forum General Questions
    Replies: 2
    Last Post: 4 Mar 2011, 09:57 AM
  2. Back button for EZ Pages
    By tryphon in forum Customization from the Admin
    Replies: 4
    Last Post: 21 Mar 2010, 11:11 AM
  3. Different CSS for EZ Pages
    By markpr9 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 17 Apr 2009, 11:09 PM
  4. CSS Element for Add to Cart CSS button?
    By modernm in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Jan 2008, 04:54 PM

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