# Onebox تبدو سيئة في تعليقات Discourse (أسفل منشور WP)

**URL:** <https://meta.discourse.org/t/onebox-looks-horrible-on-discourse-comments-below-wp-post/78364>\
**Category:** WordPress\
**Created:** [18 يناير 2018، 1:20م UTC](https://meta.discourse.org/t/onebox-looks-horrible-on-discourse-comments-below-wp-post/78364 "2018-01-18T13:20:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [19 يناير 2018، 6:59م UTC](https://meta.discourse.org/t/onebox-looks-horrible-on-discourse-comments-below-wp-post/78364/2 "2018-01-19T18:59:31Z")

</div>

The problem with Discourse oneboxes displayed in WordPress comments is that the Discourse onebox styles aren’t set WordPress. All of the Discourse onebox markup is present in the WordPress comment, so it’s possible to add the Discourse onebox styles to your WordPress site.

You can hide the body of the onebox with the following CSS on your WordPress site. This will just leave the onebox header - a link to the original article.

```css
.comment-content .onebox .onebox-body {
    display: none;
}

```

---

_[View the full topic](https://meta.discourse.org/t/onebox-looks-horrible-on-discourse-comments-below-wp-post/78364)._
