And how can I know which PHP file or CSS file the web element belong to through firebug?
CSS: the right hand Firebug pane will show you the location of the css declaration(s) that are being applied to the selected element.
PHP: no so direct. The php files "build" the html files so a single html page may be made from many chunks of php.
This gets easier with experience but one way is to use the id of the element you are interested in, or one nearby, or a comment in the code, and search for that in the includes/files...
Or use the text in the page as a search term: find the constant in the language files where it is defined, then find the file where the constant is used.
This is much easier when you work on a local pc-based copy of your shop.
If you find multiple places/files where the search term is used, put a comment in the file and see if it appears in the html page.
There's lots of trial and error until you get some intuition about how things work.
But of course this all something to do later..after you have completed the urgent upgrade away from the unsecure 1.38 which of course you are busy with at the moment....
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...