Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2012
    Posts
    62
    Plugin Contributions
    0

    Default Using CSS buttons instead of images

    Before I blowout all the CSS on my site. I was wondering if there is a way to use the CSS button I've created instead of the template's images.

    Is there an option to turn off all button images that are called out in HTML?

    Once I -possibly- disable the button images, I was going to jump into the buttons.stylesheet.css and update them that way.

  2. #2
    Join Date
    Jan 2012
    Posts
    62
    Plugin Contributions
    0

    Default Re: Using CSS buttons instead of images

    nevermind this post.

    found the solution here.

    http://www.zen-cart.com/wiki/index.p..._-_CSS_Buttons

  3. #3
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Using CSS buttons instead of images

    Also, be sure to look at the CSS Buttons contribution in Free Software Add Ons.

    Rob

  4. #4
    Join Date
    Sep 2010
    Posts
    48
    Plugin Contributions
    1

    Default Re: Using CSS buttons instead of images

    i'm using the css buttons option in 1.5,
    however the submit button is still the image type,
    where do i 'define' or add this button to the definitions/list so this too is a css button?

  5. #5
    Join Date
    Sep 2010
    Posts
    48
    Plugin Contributions
    1

    Default Re: Using CSS buttons instead of images

    just to clarify

    i'd like to change this


    PHP Code:
    <input type="image" src="includes/templates/z150/buttons/english/button_submit.gif" alt="&nbsp;Submit the Information &nbsp;" title=" &nbsp;Submit the Information&nbsp; " /> 
    to this

    PHP Code:
    <input class="cssButton button_submit" onmouseover="this.className='cssButtonHover button_submit button_submitHover'" onmouseout="this.className='cssButton button_submit'" type="submit" value="&nbsp;Submit the Information&nbsp;" /> 
    Last edited by ajmn; 28 Feb 2012 at 02:40 AM.

 

 

Similar Threads

  1. Help with using css buttons, "update cart' does not use the css buttons?
    By trinitypres in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jan 2011, 04:34 PM
  2. Using html submit buttons instead of image buttons
    By Ralf Skirr in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Nov 2009, 12:10 PM
  3. CSS buttons displaying code tag instead of link name?
    By stevenicel in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Aug 2007, 07:04 AM
  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