hippooflove Posted September 6, 2013 Share Posted September 6, 2013 This is a general question regarding finding the correct files to look in when trying to solve and change things on your website. For example I want to change a line in a file because it is directing people to the wrong place. I click on the website using "inspect elements" see the line and know what I want to change. The problem I have is finding that line in my files in the CPanel. How do you find where that line is in your files? It take me hours to locate it so I must be missing something and would like somebody to point me in the right direction please. Barry Link to comment Share on other sites More sharing options...
Dh42 Posted September 6, 2013 Share Posted September 6, 2013 You might try using a text editor such as notepad++ (free) or sublimetext (not free, but free trial) They both have line numbers in the files. One thing though, the line numbers will never match up, because you are comparing a compiled file against a non compiled file. The easiest thing to do is search for css classes or id's since they are rarely dynamic. Link to comment Share on other sites More sharing options...
hippooflove Posted September 6, 2013 Author Share Posted September 6, 2013 Thanks for that but I unless I am getting it completely wrong you need to know what file it is in before you can paste into Notepad++ etc. for example on my website www.homesteadandgarden.co.uk in the footer there are images of credit cards. The direct for those is incorrect. So I need to find what file they are in so I can edit the lines. That is my problem. I cannot find what files to look in . That is the problem i need to solve. How do you find what file to look in? Barry Link to comment Share on other sites More sharing options...
Recommended Posts