Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #366890

    NightFox
    Participant

    Hi there,

    Trying to indent the beginning of paragraphs of text document with X, can you please tell me how to do that?
    My indents are resulting in paragraphs.

    I just need to intent the text of the first line of the paragraph.

    Thx for any help you can provide.

    #366892

    NightFox
    Participant
    This reply has been marked as private.
    #367013

    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in!

    To indent the beginning of paragraphs of text document, please edit your page in Cornerstone and insert the following custom css code in Settings tab > Custom CSS

    p {
        text-indent: 30px;
    }
    
    p.noindent {
        text-indent: 0;
    }

    Please let us know if this works out for you.

    #367446

    NightFox
    Participant

    Thank you!

    Is there a way to just apply the intents to a singular page (it’s for a book chapter preview) – would be great to not have this impact the rest of the paragraphs of the site, which currently it is.

    Looking forward to your thoughts!

    #367458

    Zeshan
    Member

    Hi there,

    In that case, you could perhaps use the page ID of that specific page:

    .page-id-123 p {
        text-indent: 30px;
    }
    
    .page-id-123 p.noindent {
        text-indent: 0;
    }
    

    Replace 123 with the page ID. To locate a page id, review our KB article on How to Locate Page IDs.

    Thanks!

    #367566

    NightFox
    Participant

    That’s awesome thx so much

    #367618

    Thai
    Moderator

    You’re most welcome 🙂