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

XF 1.2 Is there an easier way to find the class in Style Properties

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

  1. davb

    davb Member

    Is there an easier way to find the class that i am trying to modify in the Style Properties.

    Right now, i am searching the #moderatorBar to modify the bg color, but i want to find it in the style properties first, if it is not available

    i want to add new style in extra.css

    thanks
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    I know that one is not available.

    However, to find out if something is in style properties or not, it will be surrounded by @ tags in the css template.
    For example:
    Code:
    @property "html";
    background-color: @pageBackground;
    @property "/html";
    The text in the quotes is the name of the style property.

    Then you can use ACP Search to locate it.
    In this case just search for html.
     
  3. davb

    davb Member

    Thanks brogan.

    right now, what i am doing is find css class or id using page inspector and try to find the relevant section in style properties if i can't find it, append new style in extra.css.

    When developing my first theme, i modified in many places css files directly, style properties and extra.css

    may be in my next theme, i will use only extra.css coz it is easy to rectify or modify later

    thanks
     

Share This Page