{"id":1461,"date":"2018-09-20T00:32:07","date_gmt":"2018-09-20T00:32:07","guid":{"rendered":"https:\/\/demos.websitevalet.com\/gp-dispatch\/?p=1461"},"modified":"2018-09-20T00:32:07","modified_gmt":"2018-09-20T00:32:07","slug":"aside-for-widgets","status":"publish","type":"post","link":"https:\/\/demos.websitevalet.com\/gp-dispatch\/2018\/09\/20\/aside-for-widgets\/","title":{"rendered":"Aside for Widgets"},"content":{"rendered":"<p>Sidebar Widgets are a main feature of any Magazine Blogging site. To aid with that Dispatch uses a nifty little plugin and a couple of custom CSS classes to make styling your sidebar a breeze.<\/p>\n<h2>Widget CSS Classes<\/h2>\n<p>Using the namesake plugin you can now add CSS Classes to Widgets. Simple.<\/p>\n<h3>Dispatch Widget Classes<\/h3>\n<p><strong>CSS Class:<\/strong> <code>zero-padding<\/code><br \/>\nRemoves the padding from the widget. Perfect for adding those banner ads for maximum space.<\/p>\n<p><strong>CSS Class:<\/strong> <code>no-background<\/code><br \/>\nRemoves the widget color background that is set in the Customizer.<\/p>\n<p><strong>CSS Class:<\/strong> <code>wpsp-card<\/code><br \/>\nUsed exclusively with the WP Show Posts Widget and with zero-padding and no-background.<br \/>\nRead more <a href=\"https:\/\/demos.websitevalet.com\/gp-dispatch\/using-wp-show-posts\/\">here<\/a><\/p>\n<h3>Adding your own classes<\/h3>\n<p>Want different color background for your widgets. Heres how to. Add you Custom Class Name to your widget. In this example we&#8217;ll go for a red color and name our class <code>red-background<\/code>. Now thats added lets add some CSS.<\/p>\n<pre><code>\r\n.widget.red-background {\r\n    background-color: #ff0000;\r\n}\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Sidebar Widgets are a main feature of any Magazine Blogging site. To aid with that Dispatch uses a nifty little plugin and a couple of &#8230; <a title=\"Aside for Widgets\" class=\"read-more\" href=\"https:\/\/demos.websitevalet.com\/gp-dispatch\/2018\/09\/20\/aside-for-widgets\/\" aria-label=\"Read more about Aside for Widgets\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":54,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_editorskit_title_hidden":false,"_editorskit_reading_time":0,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","_kadence_starter_templates_imported_post":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1461","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","infinite-scroll-item","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"acf":[],"taxonomy_info":{"category":[{"value":1,"label":"Uncategorized"}]},"featured_image_src_large":["https:\/\/demos.websitevalet.com\/gp-dispatch\/wp-content\/uploads\/sites\/14\/2018\/09\/chuttersnap-317195-unsplash-1024x684.jpg",1024,684,true],"author_info":{"display_name":"TheFrameGuy","author_link":"https:\/\/demos.websitevalet.com\/gp-dispatch\/author\/theframeguy\/"},"comment_info":0,"category_info":[{"term_id":1,"name":"Uncategorized","slug":"uncategorized","term_group":0,"term_taxonomy_id":1,"taxonomy":"category","description":"","parent":0,"count":2,"filter":"raw","cat_ID":1,"category_count":2,"category_description":"","cat_name":"Uncategorized","category_nicename":"uncategorized","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/demos.websitevalet.com\/gp-dispatch\/wp-json\/wp\/v2\/posts\/1461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demos.websitevalet.com\/gp-dispatch\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demos.websitevalet.com\/gp-dispatch\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demos.websitevalet.com\/gp-dispatch\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demos.websitevalet.com\/gp-dispatch\/wp-json\/wp\/v2\/comments?post=1461"}],"version-history":[{"count":0,"href":"https:\/\/demos.websitevalet.com\/gp-dispatch\/wp-json\/wp\/v2\/posts\/1461\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/demos.websitevalet.com\/gp-dispatch\/wp-json\/wp\/v2\/media\/54"}],"wp:attachment":[{"href":"https:\/\/demos.websitevalet.com\/gp-dispatch\/wp-json\/wp\/v2\/media?parent=1461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demos.websitevalet.com\/gp-dispatch\/wp-json\/wp\/v2\/categories?post=1461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demos.websitevalet.com\/gp-dispatch\/wp-json\/wp\/v2\/tags?post=1461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}