Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Mar 2011
    Posts
    31
    Plugin Contributions
    0

    Default CSS Buy Now Button not correctly displayed.

    I've attached a screenshot of my category product listing page.

    It shows the product, price and a buy now button underneath.

    Only problem is that the 'Buy Now' text is white and since there is no background colour on the button it cannot be seen.

    (This isn't live hence the screenshot)

    The New Products listing page displays the buttons as they should appear.

    link(remove spaces):-

    http: //www. arrowstorm. co. uk/index.php?main_page=products_new

    Does anyone else have their buy now buttons showing correctly on their category product listing pages?

    Is there a code snippet which must be present in tpl_modules_product_listings.php?

    Help.....
    Attached Images Attached Images  

  2. #2
    Join Date
    Aug 2008
    Posts
    448
    Plugin Contributions
    0

    Default Re: Buy Now Button not correctly displayed.

    isn't the buy now button an image? and so editing the image file would fix it.

  3. #3
    Join Date
    Mar 2011
    Posts
    31
    Plugin Contributions
    0

    Default Re: Buy Now Button not correctly displayed.

    No, I don't think it is an image.

    It's CSS in the stylesheet_css_buttons.css file.

    The button background seems to be drfinrd by:-

    .btn_s_2_bg.cssButton
    .btn_s2_bg.span.cssButton

    and this is missing in the category page listing
    (but present in the All products listing)

  4. #4
    Join Date
    Aug 2008
    Posts
    448
    Plugin Contributions
    0

    Default Re: Buy Now Button not correctly displayed.

    zen cart by default use image buttons. but i do see on your site that this is no longer the case as it looks like css. Did you switch out button images to css?

  5. #5
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: CSS Buy Now Button not correctly displayed.

    Quote Originally Posted by joey779 View Post
    No, I don't think it is an image.

    It's CSS in the stylesheet_css_buttons.css file.

    The button background seems to be drfinrd by:-

    .btn_s_2_bg.cssButton
    .btn_s2_bg.span.cssButton

    and this is missing in the category page listing
    (but present in the All products listing)
    what is the setting for:

    admin -> configuration -> layout settings -> CSS Buttons

  6. #6
    Join Date
    Mar 2011
    Posts
    31
    Plugin Contributions
    0

    Default Re: CSS Buy Now Button not correctly displayed.

    Yes, I am defintely using CSS buttons instead of images.

    But there is some code missing from tpl_modules_product_listing.php as the button display is incomplete.

 

 

Similar Threads

  1. 'buy now' button not showing consistently
    By meljen in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 22 Jun 2012, 04:26 AM
  2. Column Layout Grid Add on and CSS buy now button
    By joey779 in forum Addon Templates
    Replies: 0
    Last Post: 8 Aug 2011, 02:09 PM
  3. Buy Now Button Not Working?
    By coxdabd in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Nov 2010, 06:59 PM
  4. buy now button not on category page?
    By inestine in forum Setting Up Categories, Products, Attributes
    Replies: 11
    Last Post: 2 Sep 2010, 07:44 PM
  5. "... more info" link is displayed where I want a "buy now" button
    By ballyc27 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 24 Sep 2007, 05:05 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