Home › Forums › Legacy Support › Support queries › Styling issues › Course text
Tagged: Course text
- This topic has 13 replies, 2 voices, and was last updated 3 years ago by Diana.
Viewing 14 posts - 1 through 14 (of 14 total)
-
AuthorPosts
-
March 16, 2021 at 2:47 pm #346497studiomedicopavesi_0412SpectatorHello, 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 ThanksMarch 17, 2021 at 8:31 am #346665DianaParticipantWhen 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 ??March 17, 2021 at 9:59 am #346688studiomedicopavesi_0412SpectatorI 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.March 18, 2021 at 10:51 am #346968DianaParticipantWe 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; }March 18, 2021 at 4:26 pm #347082studiomedicopavesi_0412SpectatorPoint 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/10p7rdaMarch 19, 2021 at 10:18 am #347260DianaParticipantAs 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/10ptpzgMarch 19, 2021 at 10:51 am #347264studiomedicopavesi_0412SpectatorUnforunately 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.March 23, 2021 at 5:15 am #347879DianaParticipantThen there is no other option, I cannot share any custom css for thisMarch 26, 2021 at 7:35 pm #348830studiomedicopavesi_0412SpectatorI 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 youMarch 27, 2021 at 5:21 am #348891DianaParticipantThe 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 alternativeMarch 30, 2021 at 3:18 pm #349475studiomedicopavesi_0412SpectatorHi 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/110043eMarch 31, 2021 at 10:05 am #349714DianaParticipantThis reply has been marked as private.April 1, 2021 at 9:38 am #350025studiomedicopavesi_0412SpectatorYes, thank you! :-)April 2, 2021 at 8:31 am #350269DianaParticipantClosing then
-
AuthorPosts
Viewing 14 posts - 1 through 14 (of 14 total)
- The topic ‘Course text’ is closed to new replies.