{"id":24335,"date":"2012-09-28T05:16:59","date_gmt":"2012-09-28T09:16:59","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=24335"},"modified":"2017-02-17T06:41:25","modified_gmt":"2017-02-17T11:41:25","slug":"wordpress-how-to-edit-widget-area-class","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/wordpress-how-to-edit-widget-area-class.html","title":{"rendered":"WordPress. How to edit widget area class"},"content":{"rendered":"<p>\r\n<\/p>\r\n<p>In this tutorial you will learn the way to add or edit widget area class. You may need it to change styling \/ positioning or some widget.<\/p>\r\n<ol>\r\n<li>\r\n\t\t\t\tPlease open your admin panel and go to <strong>Appearance >> Widgets<\/strong> to locate your widget and its widget area. Widget area is the header titles &#8211; where you place your widgets.<br \/>\r\n<a href=\"\/help\/wp-content\/uploads\/2012\/09\/wordpress_how_to_change_or_edit_widget_area_class_1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/09\/wordpress_how_to_change_or_edit_widget_area_class_1-300x167.jpg\" alt=\"\" title=\"wordpress_how_to_change_or_edit_widget_area_class_1\" width=\"300\" height=\"167\" class=\"alignnone size-medium wp-image-24336\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/wordpress_how_to_change_or_edit_widget_area_class_1-300x167.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/wordpress_how_to_change_or_edit_widget_area_class_1-150x83.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/wordpress_how_to_change_or_edit_widget_area_class_1.jpg 315w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t\t\t<\/li>\r\n<li>\r\n\t\t\t\tNow as you know widget area title you may open your FTP \/ filemanager and locate corresponding file to edit it.<br \/>\r\n\t\t\t\tOpen <strong>wp-content\/themes\/your_theme_folder\/includes<\/strong> folder and <strong>&#8220;sidebar-init.php&#8221;<\/strong> in any text editor.\r\n\t\t\t<\/li>\r\n<li>\r\n\t\t\t\tNow you need to locate your widget area title &#8211; it is &#8220;Header&#8221; in our case. As you can see there are a lot of options but the one we need is &#8220;before widget&#8221; only.<br \/>\r\n\t\t\t\tThe id may look strange but it means that it is provided automatically. And the class value is here as well &#8211; you may edit it as you need &#8211; remove \/ change \/ add any class you need.<br \/>\r\n\t\t\t\tUpdate it as you need, save it and test your website &#8211; the changes should be displayed properly.<br \/>\r\n<a href=\"\/help\/wp-content\/uploads\/2012\/09\/wordpress_how_to_change_or_edit_widget_area_class_2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/09\/wordpress_how_to_change_or_edit_widget_area_class_2-300x118.jpg\" alt=\"\" title=\"wordpress_how_to_change_or_edit_widget_area_class_2\" width=\"300\" height=\"118\" class=\"alignnone size-medium wp-image-24337\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/wordpress_how_to_change_or_edit_widget_area_class_2-300x118.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/wordpress_how_to_change_or_edit_widget_area_class_2-150x59.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/wordpress_how_to_change_or_edit_widget_area_class_2.jpg 678w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t\t\t<\/li>\r\n<\/ol>\r\n<p>Thank you for paying attention to our video tutorials. Please contact us if you have any issues in editing the template. Good Luck!!!<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"\/help\/files\/wordpress\/wordpress_how_to_change_or_edit_widget_area_class.htm\" target=\"blank\">WordPress. How to change or edit widget area class<\/a><\/p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>In this tutorial you will learn the way to add or edit widget area class<\/p>\n","protected":false},"author":29,"featured_media":24341,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[1175,651,559,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/24335"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=24335"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/24335\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/24341"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=24335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=24335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=24335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}