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

creating style setting

Discussion in 'XenForo Development Discussions' started by Hugilore111, Apr 10, 2016.

  1. Hugilore111

    Hugilore111 Member

    Hello everybody
    How to create atemplate with the setting of my plugin
    like on a picture
    23.jpg
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You will need to have debug mode enabled, then in the master style create a new group, then in the new group, create a new property and set it as property type CSS.
     
  3. Hugilore111

    Hugilore111 Member

    Thank you so much Brogan
    and how to get the values of style?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    I'm not entirely sure what you mean.
    In addition to the SP though, you will also need a CSS template with something like this:

    Code:
    .myClass
    {
        @property "myProperty";
          
        @property "/myProperty";
    }
    The settings in the SP will be present between the @property tags.
     
    Hugilore111 and maszd like this.
  5. Hugilore111

    Hugilore111 Member

    Thanks Brogan, it works
    and how to work with this
    456.jpg
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    What are you trying to achieve with the style property?
     

Share This Page