Automattic / Automattic/jetpack

Related Posts: Twenty Fifteen theme overrides styles for Pages in RP results

Open
#1,941 2 comments 0 reactions 0 assignees View on GitHub
[Feature] Related Posts [Pri] Low [Status] Auto-allocated [Status] Stale Bug
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:

![screen shot 2015-04-09 at 10 07 18 am](https://cloud.githubusercontent.com/assets/5512652/7068417/3a8e89e8-dea0-11e4-9a73-b3696a672fa0.png)

This is coming from:

https://github.com/WordPress/WordPress/blob/master/wp-content/themes/twentyfifteen/style.css#L1721-L1727

cc @xyu

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.