{"id":2874,"date":"2018-02-20T03:11:35","date_gmt":"2018-02-20T03:11:35","guid":{"rendered":"https:\/\/docs.contentviewspro.com\/?p=2874"},"modified":"2023-12-27T10:33:05","modified_gmt":"2023-12-27T10:33:05","password":"","slug":"show-borders-around-post-grid","status":"publish","type":"docs","link":"https:\/\/contentviewspro.com\/documentation\/article\/show-borders-around-post-grid\/","title":{"rendered":"Show borders around each post in Grid"},"content":{"rendered":"<p>Please add this code to the <strong>Custom CSS<\/strong> field in the Content Views >> Settings page:<\/p>\n<pre style=\"font-size:13px\">\n\/* Show borders around each post in Grid *\/\n.pt-cv-ifield {border: 1px solid #eee; padding: 15px;}\n<\/pre>\n<p>That will work for all grids.<\/p>\n<p>To show the border for a specific view only, please use this CSS instead:<\/p>\n<pre style=\"font-size:13px\">\n#pt-cv-view-VIEW_ID   .pt-cv-ifield {border: 1px solid #eee; padding: 15px;}\n<\/pre>\n<p>(and replace <strong>VIEW_ID<\/strong> with <a href=\"https:\/\/contentviewspro.com\/documentation\/article\/what-is-id-of-a-view\/\">ID of your View<\/a>)<\/p>\n<p>Best regards,<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Please add this code to the Custom CSS field in the Content Views >> Settings page: \/* Show borders around each post in Grid *\/ .pt-cv-ifield {border: 1px solid #eee; padding: 15px;} That will work for all grids. To show the border for a specific view only, please use this CSS instead: #pt-cv-view-VIEW_ID .pt-cv-ifield {border: &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/contentviewspro.com\/documentation\/article\/show-borders-around-post-grid\/\"> <span class=\"screen-reader-text\">Show borders around each post in Grid<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"doc_category":[47],"doc_tag":[29],"class_list":["post-2874","docs","type-docs","status-publish","hentry","doc_category-customize-css-style","doc_tag-custom-css"],"year_month":"2026-09","word_count":69,"total_views":"1","reactions":{"happy":"0","normal":"1","sad":"0"},"author_info":{"name":"admin1","author_nicename":"admin1","author_url":"https:\/\/contentviewspro.com\/documentation\/author\/admin1\/"},"doc_category_info":[{"term_name":"Customize CSS\/Style","term_url":"https:\/\/contentviewspro.com\/documentation\/cats\/customize-css-style\/"}],"doc_tag_info":[{"term_name":"custom CSS","term_url":"https:\/\/contentviewspro.com\/documentation\/tags\/custom-css\/"}],"_links":{"self":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/2874","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/comments?post=2874"}],"version-history":[{"count":1,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/2874\/revisions"}],"predecessor-version":[{"id":5419,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/2874\/revisions\/5419"}],"wp:attachment":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/media?parent=2874"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/doc_category?post=2874"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/doc_tag?post=2874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}