Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 11 Years ago How do I inspect element and find what template is used in a certain spot on a page?
#1
Solved: 11 Years ago
This user has been denied support. This user has been denied support.
There's a title on one of my forum page that I'd like to change the class of, however I have no idea which template is being used by that part of the page. Is there a way I can figure out exactly which template is being used b y the text on this part of my page?
#2
Solved: 11 Years ago
If you're using Chrome, you can right click on it and press exactly what you said... "Inspect Element", and it should bring up the relevant codes. Smile
Founder of Surreal, proud MyBB user for 8 years!
Website | Forums
#3
Solved: 11 Years ago
This user has been denied support. This user has been denied support.
(2014-01-31, 10:02 PM)Downfall Wrote: If you're using Chrome, you can right click on it and press exactly what you said... "Inspect Element", and it should bring up the relevant codes. Smile

Yes, but I'm trying to figure out which template I need to edit to change the code.
#4
Solved: 11 Years ago
View the complete page source, there are HTML comments surrounding templates. Look for your element and then for the closest template start/end comment.
#5
Solved: 11 Years ago
Open your ACP (Admin Control Panel) and go to Configuration => Settings => Server and Optimization Options. Enable Output template start/end comments? -- this will enable the HTML comments mentioned by Destroy666.


Forum Jump:


Users browsing this thread: 1 Guest(s)