Results 1 to 4 of 4
  1. #1
    Join Date
    May 2005
    Posts
    139
    Plugin Contributions
    0

    Default CSS button sold out, overlapping ...more info

    Hello,

    I am having problems with the sold out button overlapping the ...more info link on the "all products page. This is happening on two different carts I am working on.

    Changing the css for this button does not fix the problem. I did find that if I changed the html code created by this page from:

    Code:
    <br /><span class="cssButton button_sold_out_sm" onmouseover="this.className='cssButtonHover button_sold_out_sm button_sold_out_smHover'" onmouseout="this.className='cssButton button_sold_out_sm'" style="width: 80px;" >&nbsp;Sold Out&nbsp;</span><br />
    to

    Code:
    <br /><p class="cssButton button_sold_out_sm" onmouseover="this.className='cssButtonHover button_sold_out_sm button_sold_out_smHover'" onmouseout="this.className='cssButton button_sold_out_sm'" style="width: 80px;" >&nbsp;Sold Out&nbsp;</p><br />
    (the change being span class, to p class) that it fixes the problem of the spacing, but I don't know where I would change that in the ZenCart files?

    Anyone know how to fix this?
    Kind Regards,
    Andrew

    $15 USD A Month Donor To Zen - Please Join The Other Donors

  2. #2
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: CSS button sold out, overlapping ...more info

    And if you add this to the bottom of your css buttons stylesheet file
    Code:
    .button_sold_out_sm, .button_sold_out_smHover{
    display: block;
    }
    ?

    If you would change the span to p, the code for all buttons would be changed (if I remember well the Zen code for this resides in html_output.php), unless you add an option for it to the function of course. And I think there is no need to change the HTML code.

    An url would help.

  3. #3
    Join Date
    May 2005
    Posts
    139
    Plugin Contributions
    0

    Default Re: CSS button sold out, overlapping ...more info

    Hey Paul! Thanks, the display block fixed the problem!
    Kind Regards,
    Andrew

    $15 USD A Month Donor To Zen - Please Join The Other Donors

  4. #4
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: CSS button sold out, overlapping ...more info



    Glad it helped, and thanks for telling.

 

 

Similar Threads

  1. v151 Removing the "More Info" from Sold Out Button
    By retched in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 5 Jun 2014, 07:04 AM
  2. v150 Sold Out Button Overlapping More Info Link
    By ravynw34 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Mar 2012, 02:38 PM
  3. Get rid of "More Info" link for sold out items
    By cloudstrife08 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 31 Jan 2010, 03:02 AM
  4. more info link that shows up when item is sold out
    By tanyaslogos in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 19 Nov 2009, 03:11 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