golbinex
Forum Replies Created
-
After updating to 1.5.4, issue seems to be fixed. Thanks.
Just a small note: it seems that word-break:break-all is applied to course description now, breaking words in half instead of pushing whole word to another row. I fixed this with custom CSS rule word-break:normal, bold text still works fine. Other users will possibly also want previous word-breaking behaviour.
It seems that issue is caused on line-breaks. When the text is short enough to be on single line, bold text is fine. Here are URLs demonstrating that issue:
Courses overview:
https://kourilkova8.cz/courses-test-page/Course page:
https://kourilkova8.cz/course/test-course/Thanks for consideration. I figured out how to sort courses by name. From SVN commits I see that you import updates from Github. Is there any public git repository? It would be easier for me to merge future updates with my patched version from git repository than from SVN one.
I try to make it as intuitive for common users as possible. Hiding button is an option, but it could leave some users confused or they could think there are no more details about the course. However patching enroll-button.php is not that hard, so you can treat that issue as solved.
Thank you for considering adding sorting option to course block, I didn’t figure out how to sort courses yet.
Thank you. Unfortunately I cannot change the href link of the button to course details instead of enrollment. This cannot be done with CSS. I’ve modified enroll-button.php to get desired href link and name, this however breaks plugin updates.
Also another suggestion I have is to customize how courses are ordered. I inserted Course list as a block in Gutenberg. Courses are however ordered by their date of creation. Would it be possible to make them get ordered by course name?
OK, I managed to get CSS working and I’ve solved all of requested features except for “Start Course” button. Href cannot be changed with CSS.