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

XF 1.2 Related Class Name

Discussion in 'Styling and Customization Questions' started by davb, Dec 9, 2013.

  1. davb

    davb Member

    It would be nice, in the style properties if there is related class name specified to modify the theme. Or it is tough to search. Sometimes i use the page inspector to find the css class name of an element and modify the css in the style.

    classname.jpg
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    Style Properties are not intrinsically tied to a class themselves. For the most part, they are, however, its not always the case.

    If you need to know the class name, hovering over the title should reveal the property name. You can than do a template search to find the template(s) that use it and can edit the associated classes.
     
    davb likes this.
  3. davb

    davb Member

    Thanks a lot, now i found the class name by just hovering over the style, it is mentioned in the popup baloon.

    However, i am struggling to find the class located in the css file

    the class name is accountUsername, i need to set to the font color after hover

    admin.jpg admin2.jpg
     
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    Perform a template search:

    ACP -> Appearance
     
  5. davb

    davb Member

    did not help may be i am doing something wrong
     
  6. Jeremy

    Jeremy XenForo Moderator Staff Member

    I just performed the search myself and its found in two templates:

    navigation.css and navigation_visitor_tab.
     
  7. davb

    davb Member

    ya me too, thanks a lot it is in navigation.css
     

Share This Page