Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #118331
    Masaaki Onikata
    Participant

    Hi,

    I use Clean Journal Pro and tried changing the line spacing for the main body of text by adding the following to “themes”>”customize”>”additional css”:

    body,
    button,
    input,
    select,
    textarea {
    line-height: 1.9;
    }

    That, however, did not make any changes.
    Can you advise if I am doing something wrong?

    For your information, I have gone into “customize”>”theme options”>”font family options” and changed all the fields to:
    “droid sans sans-serif”

    Could this be the reason why I can’t change the line height?

    Thank you.

    #118343
    tikaram
    Keymaster

    @onikata: Please post in your site URL so that i can help you with the additional css.

    Regards,
    Tikaram

    #118347
    Masaaki Onikata
    Participant

    Hi there,

    It’s:

    http://miyabi-pr.com/

    The site is all in Japanese.
    I hope this doesn’t cause too much trouble.

    Thank you!

    #118351
    tikaram
    Keymaster

    @onikata : There are some errors on your additional css. Please replace it will the following code.

    /*
    ここに独自の CSS を追加することができます。
    
    詳しくは上のヘルプアイコンをクリックしてください。
    */
    
    li {
    margin-top: 1em;
    margin-bottom: 1em;
    }
    
    /*---------------------------
    表の罫線なし
    --------------------------*/
    table {
       border:none;
    }
    
    /* ---------------------------
    表の罫線1ピクセル */
    .tokusho {
    border: 1px;
    }
    /* -- --------------------------- */
    
    button {
       font-size: 1.0em;
       border-style: none;
       padding: 15px 35px;
       background-color: #95bf3e;
       color: #fff;
    }
    
    button.style-test:hover {
       background-color: #25ee42;
       color: #fff;
    }
    
    .midashi {
    width:30%;
    }
    
    div.kaigyo {
    display: inline-block;
    }
    
    /* ------------------------------- */
    
    /* Line Spacing CSS */
    body,
    button,
    input,
    select,
    textarea {
    line-height: 1.9;
    }

    Regards,
    Tikaram

    #118404
    Masaaki Onikata
    Participant

    It’s worked!!

    Thank you so much!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Changing Line Spacing’ is closed to new replies.