Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #111924
    Parure
    Participant

    Hello,

    My site is: http://parure-bijouterie.be/

    I search for insert the following code :
    white-space: pre-wrap;
    but only for articles and pages. Not for all site.

    They are inherit from body.
    And when i add the code in the body, all widget and other objet change too.
    I will only change the code for the content of pages and articles.

    Can you help me ? Thanks

    Ps: Sorry for my english.

    #111985
    Mahesh
    Keymaster

    @parure: Where do you actually want the white space? Putting white space on body will ruin the design, with text on your site displaying randomly (causing design issue). Heading does have white-space property.
    Let me know how may I help you further.

    Regards,
    Mahesh

    #112040
    Parure
    Participant

    Thx for your response.
    I need white space for all pages and posts i write or create.

    If you see the page : http://parure-bijouterie.be/nos-formations/pedicure-medicale/
    You can see that i don’t have white space in the text. and it’s on this page and all other pages that i need white spacing.

    are you understand my request ?

    For other pages, i have add <br> for creating white space.
    But we work in a school and other persons write pages and don’t have any knowledge in html…
    For this reason, i search to automatize this white spacing.

    Thx a lot

    #112089
    Mahesh
    Keymaster

    @parure: Go to Dashboard=> Appearance=> Customize=> Additional CSS box and add the following CSS:

    #primary {
        white-space: pre-line;
    }

    Regards,
    Mahesh

    #112101
    Parure
    Participant

    It work perfectly.
    Thx a lot.

    Jessy

    #112169
    Mahesh
    Keymaster

    @parure: Thank you for your appreciation. Have a nice day!

    Regards,
    Mahesh

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘White-space in text’ is closed to new replies.