{"id":24532,"date":"2016-05-04T06:11:52","date_gmt":"2016-05-04T10:11:52","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=24532"},"modified":"2016-05-27T05:36:02","modified_gmt":"2016-05-27T09:36:02","slug":"firebug-how-to-determine-a-file-with-needed-code","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/firebug-how-to-determine-a-file-with-needed-code.html","title":{"rendered":"Firebug. How to determine a file with needed code"},"content":{"rendered":"<p>\r\n\t\t\tIn this tutorial we will learn the way to use Firebug tool to determine the file we need to update for specific styling.\r\n\t\t\tFirebug software make life much easier as it allows us editing website in web browser and a lot of other stuff.\r\n\t\t<\/p>\r\n\t\t<ol>\r\n\t\t\t<li>\r\n\t\t\t\tTo open Firebug panel we need to press F12 while we have browser opened or just right click the element we need to update and then press &#8220;Inspect Element with Firebug&#8221; button:\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_11.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_11-217x300.jpg\" alt=\"\" title=\"How_to_determine_a_file with_needed_code_1\" width=\"217\" height=\"300\" class=\"alignnone size-medium wp-image-24533\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_11-217x300.jpg 217w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_11-108x150.jpg 108w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_11.jpg 298w\" sizes=\"(max-width: 217px) 100vw, 217px\" \/><\/a>\r\n\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\tYou will see similar panel, on the left you will see HTML structure and on the right &#8211; styles specific to elements selected:\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_21.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_21-300x81.jpg\" alt=\"\" title=\"How_to_determine_a_file with_needed_code_2\" width=\"300\" height=\"81\" class=\"alignnone size-medium wp-image-24534\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_21-300x81.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_21-150x40.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_21.jpg 1002w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\tTo change style you just need to click the right panel style and update the value:\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_3-300x253.jpg\" alt=\"\" title=\"How_to_determine_a_file with_needed_code_3\" width=\"300\" height=\"253\" class=\"alignnone size-medium wp-image-24535\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_3-300x253.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_3-150x126.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_3.jpg 350w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\tBut you should always remember that you can&#8217;t use Firebug to change style or any other changes &#8211; it is used only to preview changes.\r\n\t\t\t\tHowever you can use it to see the file and the exact line to edit so you could alter source files and have the changes on life website.\r\n\t\t\t\tBefore each css rule in the right panel you can see blue link on the right and when you hover it you will see full path to the file you need to edit to update website, also there is number showing the exact line on the file:\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_4.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_4.jpg\" alt=\"\" title=\"How_to_determine_a_file with_needed_code_4\" width=\"299\" height=\"293\" class=\"alignnone size-full wp-image-24536\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_4.jpg 299w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/How_to_determine_a_file-with_needed_code_4-150x146.jpg 150w\" sizes=\"(max-width: 299px) 100vw, 299px\" \/><\/a>\r\n\r\n\t\t\t<\/li>\r\n\t\t<\/ol>\r\n\t\t<p>\r\n\t\t\tAs you can see &#8211; editing website becomes much easier with this tool\r\n\t\t\tThank you for watching our video tutorials. Please contact us if you have any issues in editing the template.\r\nGood Luck!!!\r\n\t\t<\/p>\r\n\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n\r\n<a href=\"\/help\/files\/development\/How_to_determine_a_file_with_needed_code.htm\" target=\"blank\">Firebug. How to determine a file with needed code<\/a>","protected":false},"excerpt":{"rendered":"<p>In this tutorial we will learn the way to use Firebug tool to determine the file we need to update for specific styling.<\/p>\n","protected":false},"author":29,"featured_media":24537,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[938],"tags":[1369,918,939],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/24532"}],"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=24532"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/24532\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/24537"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=24532"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=24532"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=24532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}