Results 1 to 4 of 4

Thread: Horizontal display for categories & attachments

  1. #1
    Join Date
    Aug 2005
    Location
    Durham, UK
    Posts
    177

    Default Horizontal display for categories & attachments

    I was just wondering how I can show the attachment images attached to a post in a horizontal row rather than vertical?

    Also, when viewing new and featured files, they are also showing in vertical rows (see attached images) and I would like them to display horizontally instead.

  2. #2
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default

    You can have the attachments shown in a horizontal row on the "show entry" page by editing your 'adv_dyna_showentry_attachments' template and replacing the <li> tag at the top with this:
    Code:
    <li style="float: {vb:stylevar left};">
    As for your featured files, edit the settings for that module and make sure that the 'Template to Use' option is set to Exapnded or Simple. If that doesn't help then you may need to disable the 'Enable Dynamic Template Resizing' settting just below.
    Frequently Asked Questions
    CMPS Users Manual

    For vBadvanced software assistance, please use the support forums.
    Unsolicted PMs, IMs, and email will not be responded to.
    If you have a non-software related question or problem with your account, please submit a support ticket.

  3. #3
    Join Date
    Aug 2005
    Location
    Durham, UK
    Posts
    177

    Default

    Hi, thanks for that, it's definitely fixed the attachment views. The featured views are better, as now the custom fields are showing to the left of the image instead of below.

    Great support

  4. #4
    Join Date
    Aug 2005
    Location
    Durham, UK
    Posts
    177

    Default

    Just in case anyone else was wondering how to set an horizontal featured display on the CMPS homepage, this is how I did it: I set the featured content to use the lean template. Within the featured module settings, check the option 'Wrap a Table Around Content' to yes. Then modify the lean template 'adv_dyna_entrybit_lean' to put
    Code:
    <td>
    at the very beginning, and
    Code:
    </td>
    at the very end.
    Last edited by angeljs; 07-07-2016 at 05:22 PM.
    Sim Fans UK - Sims downloads and discussion

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. news.php - display threads WITH attachments only
    By 6piston in forum "How Do I..." Questions
    Replies: 2
    Last Post: 10-31-2009, 02:38 PM
  2. Which setting to display indented child categories?
    By UKBL in forum Troubleshooting & Problems
    Replies: 3
    Last Post: 07-20-2009, 11:50 AM
  3. How can I display the list of the Forum's Categories
    By wneet in forum "How Do I..." Questions
    Replies: 1
    Last Post: 06-24-2009, 07:44 PM
  4. Not Display Sub-Categories in Directory Homepage
    By Norwalk in forum "How Do I..." Questions
    Replies: 1
    Last Post: 09-01-2006, 11:07 AM
  5. Display attachments vertically, not side by side
    By XtAzY in forum "How Do I..." Questions
    Replies: 2
    Last Post: 09-27-2005, 09:50 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
  •