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

XF 1.5 Size of the text field of the visual editor

Discussion in 'Styling and Customization Questions' started by Enay, Oct 7, 2016.

  1. Enay

    Enay Member

    How to increase the size of the text field of the visual editor?
     

    Attached Files:

  2. Pacco

    Pacco Member

    Code:
    .xenForm {
        max-width: 800px;
    }
    increase e.g.

    Code:
    .xenForm {
        max-width: 1000px;
    }
     
  3. Enay

    Enay Member

    Thank you! Another question.
    How to move to the center all the elements under the text field?
     

    Attached Files:

  4. Pacco

    Pacco Member

    Code:
    .xenForm .ctrlUnit > dd {
        width: 100%;
        text-align: center;
        float: none;
    }
    
    .xenForm .ctrlUnit > dt {
        text-align: center;
        width: 100%;
        float: none;
    }
     
  5. Enay

    Enay Member

    @Pacco

    I'm not a programmer, so I do not know whether it's right or not, but here is an alternative version:


    Code:
    .xenForm {
        max-width: 1600px;   
    }
    .xenForm .ctrlUnit > dd {
        padding-left: 100px;         
    }
    .xenForm .ctrlUnit > dt {
        position: relative;
        right: 0px;
        left: 100px;
        top: 0px;
        bottom: 0px;   
    }
     
  6. Pacco

    Pacco Member

    Ok ... i understand;)

    Use this Code pls

    Code:
    .xenForm .ctrlUnit > dd {
        width: 60%;
        }
    .xenForm .ctrlUnit > dt {
        width: 40%;
        }
     
    Enay likes this.
  7. Enay

    Enay Member

    This works fine, but there is a problem :) In the pop-up windows - Code, Spoiler and others, also appeared the left indent :)

    2016-10-08_18-44-40.png
     
  8. Pacco

    Pacco Member

    Code:
    #redactor_modal_inner > dl > dt {
    
        width: 32%;
    }
    #redactor_modal_inner > dl > dd {
        width: 68%;
    }
     
    Enay likes this.
  9. Enay

    Enay Member

    @Pacco

    Thank you very much! :)
     

Share This Page