1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Thumbnails in attachments

Discussion in 'Styling and Customization Questions' started by igrec, Jun 8, 2013.

  1. igrec

    igrec Member

    Hi all, please help me to style the thumbs in attachment box.
    By default it shows like this
    attached.png
    What I want is an old school preview by default. Like bellow.

    attached2.png
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Admin CP -> Appearance -> Templates -> EXTRA.css

    Add this:

    Code:
    .attachedFiles .attachmentInfo
    {
    	display: none;
    }
    
    .attachment .thumbnail
    {
    	padding-right: 0px !important;
    	border-right: none !important;
    }
    
    .attachment
    {
    	width: auto !important;
    }
    
    The result:

    Screen shot 2013-06-09 at 1.01.38 PM.png
     
    Andrej, Shelley and igrec like this.
  3. Hapshaw

    Hapshaw New Member

    Awesome thanks for this.
     

Share This Page