Results 1 to 10 of 49

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default sold out sm button position


    Does anyone know what file I could edit to wrap this sold_out_sm.gif in a position: relative; tag so I could move it up over the top of the image?

    I've searched the developers toolkit and can't find the file that's generating this button. I can't see from the page source either :-(

  2. #2
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: sold out sm button position

    hah, figured this out myself guys like this:

    /includes/functions/function_general.php

    replace:
    PHP Code:
        if ($return_button != $link and $additional_link != false) {
          return 
    $additional_link '<br />' $return_button
    with:
    PHP Code:
        if ($return_button != $link and $additional_link != false) {
          return 
    $additional_link '<br /><div style="position:relative; top:-200px">' $return_button
    just edit the -200px to suit your own image sizes.

  3. #3
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: sold out sm button position

    No, ignore my last post.... I thought I had a solution but in fact it just messes up the page formatting.

    Does anyone know how I can add a <div id="mySoldOutButton" to this image so I can control its position from the stylesheet??

  4. #4
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: sold out sm button position

    no one?

  5. #5
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: sold out sm button position

    I've been trying to figure this out for a couple of days but to no avail...

    I'm basically trying to use some sort of position: relative; top: -100px; to control the position of the BUTTON_IMAGE_SOLD_OUT_SMALL gif that displays under the image on the products list pages.

    Is there any way to position this button over the image?

    I tried going with CSS buttons which helps but I hate them... I much prefer the image buttons... but how do I position button_sold_out_sm.gif relative?

    Is there a way to define this button and then somehow control it via my stylesheet?

  6. #6
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: sold out sm button position

    a picture paints 1000 words:


 

 

Similar Threads

  1. sold out button
    By dmagic in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Jul 2014, 07:45 AM
  2. Sold Out Button says "Sold Out SM".... Sophy Blue
    By huntleybill in forum Addon Templates
    Replies: 3
    Last Post: 28 Nov 2011, 05:32 AM
  3. Chenge the "sold out" button position
    By ilmarchez in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 15 Apr 2011, 10:52 PM
  4. SOLD-OUT graphic /outline /position
    By rdcast in forum General Questions
    Replies: 2
    Last Post: 9 Apr 2011, 04:57 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