Title: Centered Version with background
Last modified: July 25, 2017

---

# Centered Version with background

 *  [traderex](https://wordpress.org/support/users/traderex/)
 * (@traderex)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/centered-version-with-background/)
 * Hi!
    I need help with the CSS of this plugin.
 * I want this to be centered (text and pictures) & have a full background should
   be 1200px in white.
 * I added this code:
 * div.crp_related{
    background-color: #ffffff; display: table; text-align: center;
   margin-left: auto; margin-right: auto; }
 * It works except there is a space right and left from the pictures, where the 
   background doesn’t appear
 * Where is my mistake?
    Thank you in advance! best regards

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/centered-version-with-background/#post-9351593)
 * what’s the site url where this appears?
 *  Thread Starter [traderex](https://wordpress.org/support/users/traderex/)
 * (@traderex)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/centered-version-with-background/#post-9352356)
 * [https://traderex.de/home/wissen/kryptowaehrungen/](https://traderex.de/home/wissen/kryptowaehrungen/)
   
   password:visitor123 thanks 🙂
 *  Thread Starter [traderex](https://wordpress.org/support/users/traderex/)
 * (@traderex)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/centered-version-with-background/#post-9374920)
 * any news? 🙂
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/centered-version-with-background/#post-9378247)
 * The easiest option of this is to use the manual install (in FAQ) and put this
   in a separate “div” that is set to a white background and width of 100%.
 * Another option is to set the width of .crp_related to 100% and then apply a margin
   of a custom width to the ul:first-child to get the width to work better.
 * I’m trying to implement a better grid system that can be used as the centering
   is always an issue with the ul, li style with floats.
    -  This reply was modified 8 years, 10 months ago by [Ajay](https://wordpress.org/support/users/ajay/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Centered Version with background’ is closed to new replies.

 * ![](https://ps.w.org/contextual-related-posts/assets/icon-256x256.png?rev=2985705)
 * [Contextual Related Posts](https://wordpress.org/plugins/contextual-related-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contextual-related-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contextual-related-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/contextual-related-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contextual-related-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contextual-related-posts/reviews/)

## Tags

 * [background](https://wordpress.org/support/topic-tag/background/)
 * [centered](https://wordpress.org/support/topic-tag/centered/)

 * 4 replies
 * 2 participants
 * Last reply from: [Ajay](https://wordpress.org/support/users/ajay/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/centered-version-with-background/#post-9378247)
 * Status: not resolved