-
Notifications
You must be signed in to change notification settings - Fork 5
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
OpenSource.org | Post top margin causing display issues #92
Comments
Hey @toncijajic I have been able to identify when the issue has been introduced (Fev, 21st): Before this pull request, blog posts used to have featured images. The post was displayed to overlap the image, hence the negative margin. Here is a screenshot from my local environment before this PR with dummy content: Since the theme does not use the feature image, we don't need this negative margin anymore. I can remove it from the template's stylesheets if that works for you. ExtraWhile investigating this issue, I have done a small Q/A and I have monitored 2 issues:
Please take a look at my feedback and let me know how you want to move forward. |
@geoffguillain it feels weird the navigation is disappearing, it should follow the user scrolling down. |
Hey @toncijajic This was done on purpose on large screens: dotOrg/themes/osi/assets/scss/_7_vendor.plugins.scss Lines 110 to 113 in 09f69df
The header is transforming to a minimized version, this can be seen on mobile. When it is happening on the desktop the menu is hidden. By the way, the styles of this minimized version of the header are not desktop-ready, cf. screenshot. Could you please double-check that you want to re-enable the sticky header on large screens and some directions about the expected output if so? |
Hey @toncijajic, I have created a PR for the original request. The blog posts on the develop server are fixed: Please have a look, and let me know if I can merge this to production. |
Thanks for the info @geoffguillain!
Very weird.
Yup, I'll confirm this shouldn't be happening.
Will do once I confirm with the partner that the print preview they use is working correctly, too. |
@geoffguillain we're seeing some issues with H1 headings disappearing on the pages. Examples:
Could you spin up these changes on a fresh production clone so we can remove the environment variables and know what to fix? |
Hey @toncijajic
The issue is not the staging server but the repo. Some commits/PR has been pushed only to the production branch. I have cherry-picked the commits that I have found about the title and imported them to the develop branch. That should be enough for testing: I would recommend archiving the current develop branch and creating a new one based on trunk to align both environments. |
@geoffguillain, thanks for the analysis! Give us a day to get our ducks in a row and we'll ping back on the next steps. |
@geoffguillain I've assessed the open issues:
With this in mind, it sounds like we should wait for #93 to be completed (hopefully within a day or so). I can also communicate with the partner that we require a response and closure on #71 in order to move forward with this. Let me know if that's a good plan of action for you. |
👋 @geoffguillain checking back in with you on this ⬆️ |
Hey @xpurichan #93 - The extra requests have been solved and pushed to production Looking at the other linked issues, I do not see comments about code living in development. I assume we could:
Let me know if you have any questions. |
@geoffguillain , let's move forward with that. I do see #71 getting some attention now, so we'll notify them there once the change is made. |
Hey @xpurichan Issue
Branches
Please take a look and let me know if you have any questions. |
@geoffguillain thanks! Good idea to also redo the development site, so it's all new? |
@toncijajic |
@geoffguillain let's merge this to prod if not merged already, and we can close it. |
Code in this issue has been merged to prod |
Neat, closing - thank you! |
A
margin-top: -350px;
was causing the top of the post to move "out of the page", we need to investigate why it happened.Details
This bit of code was forcing the post out of page (screenshot: https://d.pr/i/QUAFjl):
dotOrg/themes/osi/assets/scss/_6_components.wp-content.scss
Line 69 in 09f69df
I fixed it temporarily by unsetting it via custom CSS:
However, that code has been there since August 2023, so something else must've changed to cause this issue.
We should investigate what and fix it.
The text was updated successfully, but these errors were encountered: