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

XF 1.5 Resize resource editor

Discussion in 'Styling and Customization Questions' started by Sunka, Jan 26, 2016.

  1. Sunka

    Sunka Well-Known Member

    When creating new thread, reply to thread, post edit I resize editor to 80% of screen

    Code:
    .thread_reply .xenForm
    {
        max-width: 80%
    }
    
    .thread_create .xenForm
    {
        max-width: 80%
    }   
    
    .post_edit .xenForm
    {
        max-width: 80%
    } 
    
    .xenOverlay
    {
        max-width: 80%
    }  
    How to that with resource (when creating new resource or edit old one)
     
    maszd likes this.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    It would likely just require adding new selectors for resource_add, resource_version_add and any other relevant templates.

    Code:
    .thread_reply .xenForm,
    .resource_add .xenForm,
    .resource_version_add .xenForm
    {
        max-width: 80%
    }
    
    Untested.
     
    Sunka likes this.
  3. Sunka

    Sunka Well-Known Member

    Thanks, but not working :(
     

Share This Page