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

XF 1.4 Variables guide

#1
I am trying to understand the variables used in XF

.member_list
.nabTab
.resource_index
etc.

Is there a guide for me to learn these and I was looking for RM categories title and others

Many thanks
 

Brogan

XenForo moderator
Staff member
#2
Those aren't variables.
The first one appears to be a template name, but you have appended a . to it.
The middle one is a CSS class.
The last one again is a template name appended with a .

There is no guide as such as editing the templates requires CSS and HTML knowledge.
What are you trying to do?
 
#4
Thank you for the reply. I am planning to remove titles and some explanations such as in the picture below. How to I do that?

I tried adding to extra.css
.category_list .titleBar {display: none;}

upload_2014-11-23_16-9-23.png

Those aren't variables.
The first one appears to be a template name, but you have appended a . to it.
The middle one is a CSS class.
The last one again is a template name appended with a .

There is no guide as such as editing the templates requires CSS and HTML knowledge.
What are you trying to do?
 

Brogan

XenForo moderator
Staff member
#5
The template name for that page is resource_category.

So it would be:
Code:
.resource_category .titleBar h1
{
    display: none;
}