• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

how to find the template of certain page

#1
I am looking for the template of profile page, so I go to profile page, and see class="profilePage", so i go to AdminCP>Appearence>Search Templates->Template Contains: profilePage, and it shows member_view, member_view.css, sidebar.css, alert_profile_post_insert,
so how could i know which is the right template file for profile page.
 

Brogan

XenForo moderator
Staff member
#2
How can I find out which template to edit?
Using your browser, view the page source and look for a line of code near the top of the page which begins
<div id="content" class="; the class is the name of the template. So for the main forum page, the line of code is:
<div id="content" class="forum_list">, which makes the template forum_list.


http://xenforo.com/community/threads/frequently-asked-questions.5183/

For the profile page, it is <div id="content" class="member_view">