Automattic / Automattic/jetpack
Related Posts: Twenty Fifteen theme overrides styles for Pages in RP results
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
To repro:
1. Apply Twenty Fifteen theme.
2. Activate and connect Jetpack.
3. Enable Related Posts module.
4. Use [this code](http://jetpack.me/support/related-posts/customize-related-posts/#includepages) to show pages in RP results.
5. Page results have a bottom border from Twenty Fifteen. Screenshot:

This is coming from:
https://github.com/WordPress/WordPress/blob/master/wp-content/themes/twentyfifteen/style.css#L1721-L1727
cc @xyu
Contributor guide
Research direction
Reproduce the issue by applying Twenty Fifteen, connecting Jetpack, enabling Related Posts, and using the linked code to include pages. Inspect the Twenty Fifteen style.css rules at lines 1721-1727 and the Related Posts output to identify the conflicting styling. Done means page results no longer show the unwanted bottom border.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100