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

Hello, how customize that element please ?

Discussion in 'Styling and Customization Questions' started by Zephyr, Sep 20, 2012.

  1. Zephyr

    Zephyr Well-Known Member

    Hello, how custom this element please ?

    [​IMG]

    ==>

    [​IMG]

    Thank :)
     
  2. MagnusB

    MagnusB Well-Known Member

    I am unsure what you want to achieve? Do you want to disable the editor buttons? Change the background on the textfield?

    Generally speaking, styling the editor is very difficult and time consuming.
     
  3. Steve F

    Steve F Well-Known Member

    Style Properties -> Message Layout -> Rich Text Editor Content
     
    MagnusB likes this.
  4. MagnusB

    MagnusB Well-Known Member

    lol, I must be blind, I was looking for this in my admin CP, couldn't find it... I think I was looking in all the wrong places :whistle:
     
    Steve F likes this.
  5. Zephyr

    Zephyr Well-Known Member

    Thank :)

    By cons, I have an alignment problem that I just do not know where :/

    good:
    [​IMG]


    bad :

    [​IMG]

    What that is aligned to the left please?

    My website: http://totalwarfrance.com
    Test account:
    user: Test
    pass: TestTest

    I found it missing :
    Code:
    .xenForm
    {
        margin: 10px auto;
        width: 750px;
    }
    I can add extra.css, I do not know or it was removed alone.
     
  6. Steve F

    Steve F Well-Known Member

    Can't tell exactly where the problem is but I do see

    Code:
    .xenForm .ctrlUnit.fullWidth dd .textCtrl, .xenForm .ctrlUnit.fullWidth dd .explain, .xenForm .ctrlUnit.fullWidth dd .mceLayout
    {
    margin-left: 30px;
    }
    Not sure but its a margin issue, so you need to revert any changes you have done previously.
     
  7. Zephyr

    Zephyr Well-Known Member

    I found it missing :
    Code:
    .xenForm
    {
        margin: 10px auto;
        width: 750px;
    }
    I can add extra.css, I do not know or it was removed by default.
     
  8. MagnusB

    MagnusB Well-Known Member

    margin 10px auto is the one centering the editor
     
  9. Zephyr

    Zephyr Well-Known Member

    [​IMG]

    Yet it is already present in form.css and I have not touched on the margins .XenForm in my extra.css. I do not understand, it is as if something crashed that piece of code in the main template.
     

Share This Page