Title: Remove border around posts
Last modified: April 22, 2024

---

# Remove border around posts

 *  Resolved [fhqmd](https://wordpress.org/support/users/fhqmd/)
 * (@fhqmd)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/remove-border-around-posts/)
 * There is a 1px grey (#e2e2e2) around my posts in the post grid. How can I remove
   it. I tried searching for the CSS code but I just can’t find anything.

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

 *  Plugin Support [Habib](https://wordpress.org/support/users/habibjh/)
 * (@habibjh)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/remove-border-around-posts/#post-17707272)
 * Hi [@fhqmd](https://wordpress.org/support/users/fhqmd/),
 * What layout are you using? Can you share any screenshots? There are some layout
   with default border from style.
 * And also please mention what version (shortcode, elementor or gutenberg) are 
   you using.
 * I’m putting some css. You can put the CSS in your Customize > Additional CSS 
   section.
 * `.tpg-shortcode-main-wrapper .layout1 .rt-holder, .tpg-shortcode-main-wrapper.
   isotope1 .rt-holder, .tpg-shortcode-main-wrapper .carousel1 .rt-holder {
   box-
   shadow: none;-moz-box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.3);padding: 0;border:
   none;}
 * If the CSS doesn’t work please reply with the necessary information that I mentioned
   above.
 *  Thread Starter [fhqmd](https://wordpress.org/support/users/fhqmd/)
 * (@fhqmd)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/remove-border-around-posts/#post-17707307)
 * Thank you Habibur!
 * The CSS code worked like a charm! 🙂
 *  Plugin Support [Habib](https://wordpress.org/support/users/habibjh/)
 * (@habibjh)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/remove-border-around-posts/#post-17709128)
 * Feel very happy to listen that your issue has fixed. Please remove the below 
   line from your CSS –
   `-moz-box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.3);
 * Just keep the below CSS on your Customize.
   `.tpg-shortcode-main-wrapper .layout1.
   rt-holder, .tpg-shortcode-main-wrapper .isotope1 .rt-holder, .tpg-shortcode-main-
   wrapper .carousel1 .rt-holder { box-shadow: none; padding: 0; border: none;}
 * Thanks
    -  This reply was modified 2 years, 1 month ago by [Habib](https://wordpress.org/support/users/habibjh/).

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

The topic ‘Remove border around posts’ is closed to new replies.

 * ![](https://ps.w.org/the-post-grid/assets/icon-256x256.gif?rev=2647621)
 * [The Post Grid – Shortcode, Gutenberg Blocks and Elementor Addon for Post Grid](https://wordpress.org/plugins/the-post-grid/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-post-grid/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-post-grid/)
 * [Active Topics](https://wordpress.org/support/plugin/the-post-grid/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-post-grid/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-post-grid/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Habib](https://wordpress.org/support/users/habibjh/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/remove-border-around-posts/#post-17709128)
 * Status: resolved