Course text

Home Forums Legacy Support Support queries Styling issues Course text

Tagged: 

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #346497
    Hello, please indicate to me: 1. how to reproduce <br> code in course text. 2. how to give less space between title and new chapter. Now the title is in the middle between previous paragraph and the new one. http://prnt.sc/10nbf6a Thanks
    #346665
    Diana
    Participant
    When you will hit enter, the line will change automatically, and it will pick up it as next line Point 2: space between this and this one: https://prnt.sc/10nxtkx ??
    #346688
    I do not want to start a new chapter, but simply start a new line. Usually you have to press enter + shift or use <br>. Now what we have to do? Point 2: I do not want to give the same space between the text preceeding and following the titles, so the solution is to reduce the space in the point you indicated to me or enlarge the space between the end of the chapter and the subsequent title.
    #346968
    Diana
    Participant
    We are using facebook's draft JS framework here in this editor, and it takes 50 characters in a line and then automatically break it into different line. So it's not possible to break it in a new line or this library don't have such functionality. Here, what I did is edited the course in backend and added break tag in text mode https://prnt.sc/10p06ib It worked Point 2: This css will work for you. But it will only work for h4 tags .single-course .vibe_editor_rich_text h4{ line-height:0.2 !important; }
    #347082
    Point 2: The code works, but also the space above the title is reduced. Please note the difference between the space at the end of each chapter and the new title and the one at the end of first paragraph http://prnt.sc/10p7o8j Point 1: I also tryed to edit the course in backend and add break tag in text mode, this is the result: http://prnt.sc/10p7rda
    #347260
    Diana
    Participant
    As I mentioned that reducing space will work for h4 tags then please do not use this h4 tag to anywhere on the single course page where you don't want to reduce the space, because I don't have any alternative than this according to your requirement Point 1: On my setup Before: https://prnt.sc/10ptop5 After : https://prnt.sc/10ptphu https://prnt.sc/10ptpzg
    #347264
    Unforunately if I insert <br> code the result is this. Today I cannot check, because once written something it disappears. It's very difficult to write a few simple lines.
    #347879
    Diana
    Participant
    Then there is no other option, I cannot share any custom css for this
    #348830
    I inserted the CSS: .single-course .vibe_editor_rich_text h4{ line-height:0.2 !important; } this is the result: http://prnt.sc/10wfw3t I tryed to change 0.2 into 1.2 but still with a no good result. http://prnt.sc/10wfy6i Please tell me how to have the space between the end of a chapter and the title higer than the one between the title and the new paragraph. Thank you
    #348891
    Diana
    Participant
    The above css will work for h4 tags(h4 typography), so if you are using h4 tags in other title as well, this will cause issue there. This is what happen here, and I have no other alternative
    #349475
    Hi Diana, I removed the code you gave to me, but the result is no good. As you can see the title is near the previous paragraph. I tryed to leave a line blanc but also in this way the text appeared in not so good way. Please suggest to me how to display correctly the text http://prnt.sc/110043e
    #349714
    Diana
    Participant
    This reply has been marked as private.
    #350025
    Yes, thank you! :-)
    #350269
    Diana
    Participant
    Closing then
Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Course text’ is closed to new replies.