Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Jul 2006
    Location
    Manitoba, Canada
    Posts
    36
    Plugin Contributions
    0

    Default Buttons for Category Links instead of Text

    Is there any way to have buttons for the category links instead of just text?
    I want to insert a button image where the text link is.
    Thanks
    Scribbles

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

    Default Re: Buttons for Category Links instead of Text

    Fairly easy if this is a button image without text - it is then a background image applied in the css.

    More difficult if this button image is unique to a category name as then applying these has to be done for each different one and this breaks some of the versatility of the cart as you have to re-edit this for every new category added or deleted
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2007
    Posts
    40
    Plugin Contributions
    0

    Default Re: Buttons for Category Links instead of Text

    how would you do it?

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

    Default Re: Buttons for Category Links instead of Text

    I think that you are referring to the actual categories names and as these are 'a'
    entries you would have to address these as individual & I think without checking that this will address them directly and replace the 'a' listing for them in the css

    Code:
    a.category-top {
            color: #??????; 
            width: 100%;
            margin: 0px 5px 0px 0px;
            background-color: #??????;
            background-image: url(../images/your_image.gif);
            text-decoration: none;
            }
    And you might do this for:
    a.category-top:hover, a.category-subs, a.category-subs:hover etc. and these could provide rollover images. I can't recall if this requires the better categories mod or not right off.

    This gets you an Image with the normal text and stays dynamic and for all additions/changes to your listings
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Feb 2007
    Location
    West Texas
    Posts
    128
    Plugin Contributions
    1

    Default Re: Buttons for Category Links instead of Text

    Or if you don't particularly care about categories being dynamic, and just want the image instead of text, you can use the Blank_Box (sidebox) contrib like I did. It's in the download section. Excellent "read me" instructions. Even I could do it! LOL.

    Since I maintain my own site and can add or subtract cats as desired, I opted for the easy way.

    I love Zen Cart, but really wanted to move as far as possible from the Zen site look and be a little different. I still have work to do on the sidebox headings......I will be making them into a graphic too.

  6. #6
    Join Date
    Dec 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: Buttons for Category Links instead of Text

    Now that some time has passed since this thread began, is there anything new whether it be a contribution or an easier process than I've been finding for suggestions in the forums that can facilitate rollover effects on images in the category box??
    whew long sentence!

 

 

Similar Threads

  1. buttons instead of text for each categorie
    By joejoe2009 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 9 Oct 2009, 12:10 PM
  2. How to use images instead of text for header menu links
    By Jeevie in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 4 Oct 2007, 04:41 PM
  3. How to use text links instead of images for buttons
    By goodevil in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Apr 2007, 07:40 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