-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Course Theme - Fix post title spacings for course and lesson default #7294
base: trunk
Are you sure you want to change the base?
Conversation
@Imran92 It looks like there are some conflicts that need to be resolved now. 🙁
Also, I think we need to change the branch from |
Thanks for taking a look @donnapep !
Resolved!
Yeah PR template has it at the bottom and also doesn't seem to automatically connect to the issue. Added it on the sidebar now 🤜 🤛
As it only fixes the spacings of the titles of the lesson and quiz template, I seems pretty safe to me to merge it in trunk. But it'll be a bit too much if one version update gets released only for this small update :P changed the target branch from trunk to frontend-improvements |
@@ -448,6 +448,13 @@ body.page-template-page-wide-width footer .wp-block-group { | |||
/* | |||
* Sensei-specific styles | |||
*/ | |||
body[class*="-template-single-course"] .wp-block-post-title, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that the following 2 CSS classes are the ones that style courses and lessons, so I'm wondering which use case this selector is needed for?
@Imran92 Can you provide an update here? |
Hi Donna 👋 I looked into it a bit to figure out what this #7294 (comment) selector was used for, but haven't figured out any. But I'll again try to find it out. In case I don't, I'll remove this particular selector and update this PR |
Changes proposed in this Pull Request:
Testing instructions:
The top spacing is calculated as the spacing between the bottom of the site title to the top of the post title.
Design
Mobile:
(Top)
(Bottom)
Desktop:
(Top)
(Bottom)
Course Desktop:
Lesson Desktop:
Course Mobile:
Lesson Mobile:
Related issue(s):
#7144