Skip to content

Fix Mastodon theme design issues - #630

Merged
akirk merged 2 commits into
mainfrom
fix/mastodon-theme-design-issues-596
Mar 28, 2026
Merged

Fix Mastodon theme design issues#630
akirk merged 2 commits into
mainfrom
fix/mastodon-theme-design-issues-596

Conversation

@akirk

@akirk akirk commented Mar 28, 2026

Copy link
Copy Markdown
Owner

Partially fixes #596.

Summary

  • Hide .teaser div in Mastodon theme to prevent post content appearing twice (especially visible with YouTube/video links)
  • Add image gallery grid layout (2-column CSS grid) for posts with multiple images, instead of showing them full-width one after another
Screenshot 2026-03-28 at 13 24 07
  • Fix profile header banner: the JS that moves the header image to the page header now works in the Mastodon 3-column layout, with proper gradient overlay and readable text. The focus point is not yet respected.
Screenshot 2026-03-28 at 13 26 26 Screenshot 2026-03-28 at 13 26 20
Mastodon Friends

Test plan

  • View a status post with a YouTube link — text should appear only once
  • View a post with multiple images — they should display in a grid
  • View a friend's profile page with a header image — banner should display above the chips area with readable text
@github-actions

github-actions Bot commented Mar 28, 2026

Copy link
Copy Markdown
Contributor

Test this PR in WordPress Playground

You can test this pull request directly in WordPress Playground:

Launch WordPress Playground

This will install and activate the plugin with the changes from this PR.

- Hide .teaser div in Mastodon theme to prevent post content showing twice
- Add JS/CSS image gallery grid for posts with multiple images
- Fix header image banner display on author profile pages
@akirk
akirk force-pushed the fix/mastodon-theme-design-issues-596 branch from 185ea90 to 90bafd7 Compare March 28, 2026 12:23
@akirk
akirk marked this pull request as ready for review March 28, 2026 12:27
@akirk
akirk merged commit b64b546 into main Mar 28, 2026
25 checks passed
@akirk
akirk deleted the fix/mastodon-theme-design-issues-596 branch March 28, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant