1. 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

Discussion in 'XenForo Questions and Support' started by reddy ink, Nov 23, 2014.

  1. reddy ink

    reddy ink Active Member

    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
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    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?
     
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  4. reddy ink

    reddy ink Active Member

    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

     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    The template name for that page is resource_category.

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

    reddy ink Active Member

    Thanks a Lot!

    I am trying to learn these templates (newbie) and looking for some guidance.

     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    The FAQ in my signature explains how to identify the name of the template.
     

Share This Page