+ Reply to Thread
Results 1 to 4 of 4

Thread: 'Downloads per Row' alignment

  1. #1
    Client
    Join Date
    Nov 2009
    Posts
    13
    Squirrelcart version
    v3.0.0

    'Downloads per Row' alignment

    Whevever I set the 'downloads per row' on a download section to anything higher than 1, it seems the column alignment is lop-sided. Is kind of looks like this (pardon the ascii graphics):

    Code:
    |       download 1       | download 2 |
    |       download 3       | download 4 |
    Is there a way to center the column width so things look more symmetrical?
    My Grandmother loved using anecdotal evidence, and she lived to be 120 years old.

  2. #2
    Client
    Join Date
    Nov 2009
    Posts
    13
    Squirrelcart version
    v3.0.0
    Here is a screenshot in case the ascii art isn't communicating the problem. Ideas? Thoughts? Sandwiches?
    Attached Images
    My Grandmother loved using anecdotal evidence, and she lived to be 120 years old.

  3. #3
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,829
    Squirrelcart version
    v3.3.7
    It appears that there is no CSS to handle that when showing more than one download per row. If you remove this from "modules/download/templates/download.css.php", it will give you 4 evenly spaced columns.

    /* td containing download name and links to files */
    .dl_name_td {
    width: 25%;
    }

    /* td containing download description */
    .dl_description_td {
    width: 65%;
    }

    If you don't want evenly spaced columns, you can leave that CSS in place and adjust the widths accordingly.

  4. #4
    Client
    Join Date
    Nov 2009
    Posts
    13
    Squirrelcart version
    v3.0.0
    Perfect. Thank you! Now I have tidy rows and columns
    Attached Images
    My Grandmother loved using anecdotal evidence, and she lived to be 120 years old.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts