Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2010
    Posts
    10
    Plugin Contributions
    0

    Default Bestsellers box css

    Hi
    I'm using a template monster template, and am having trouble with what css code to use to give each of the 10 bestsellers a graphic background ie. a round rectangle to split them all up.

    I've tried using quite a few methods with no luck.

    link= CLICK HERE

    Any help would greatly appreciated.

    Thanks
    Jon

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Bestsellers box css

    Add to any of your stylesheets

    #bestsellersContent .wrapper tr {border: 1px solid red;}

    Adjust to suit. Unfortunately CSS border-radius doesn't work on table elements.

  3. #3
    Join Date
    Oct 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: Bestsellers box css

    Thanks for that.. worked well.

    Quick couple of other questions:
    - I am getting a blank box in-between 1st and 2nd best seller items. Any idea why this is happening?
    - And if I want the text to drop 10px, and have price align left, what would be the best css to use?

    thanks
    Jon

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Bestsellers box css

    The blank box has an <hr> in it. I don't know why the code puts one there and not between other items, but you would have to look at the sidebox files.
    In view source:

    <tr><td colspan=2><hr></td></tr>

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Bestsellers box css

    Most of the formatting is hard-coded in the sidebox file, using antiquated and possibly deprecated tag attributes. The best solution would be to rewrite that part of the file to add classes and remove hard-coded styling, so the styling can be handled in the stylesheet. That's really something TM should be doing, but they don't care about standards or best practice or customizability, only what will get their look in every browser no matter how old.


    <tr>
    <td valign=top><a href="http://www.allthecraze.com.au/index.php?main_page=product_info&amp;products_id=263"><img src="images/DSC06525 copyD.png" alt="Dino Bandz" title=" Dino Bandz " width="59" height="65" /></a></td>
    <td valign=top><a href="http://www.allthecraze.com.au/index.php?main_page=product_info&amp;products_id=263">Dino Bandz</a><BR><div align=right>$2.00</div></td>
    </tr>

  6. #6
    Join Date
    Oct 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: Bestsellers box css

    Thanks for the help... I had a look at those files and was at least able to do basic modification, and fixed the error.
    Thanks again!

 

 

Similar Threads

  1. Bestsellers box gone!!! Help
    By MysticVamp in forum General Questions
    Replies: 0
    Last Post: 22 Nov 2008, 03:33 AM
  2. Modifying bestsellers box
    By flawfulfibers in forum Basic Configuration
    Replies: 0
    Last Post: 17 Sep 2007, 01:31 AM
  3. bestsellers box show incorrect?
    By cam_oai in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 May 2007, 07:40 PM
  4. Scrolling Bestsellers Box...
    By Alex Clarke in forum General Questions
    Replies: 0
    Last Post: 1 Sep 2006, 05:51 PM
  5. Bestsellers CSS...
    By Alex Clarke in forum Basic Configuration
    Replies: 1
    Last Post: 30 Aug 2006, 01:48 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