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

XF 1.4 Get Miscellaneous Field Values?

Discussion in 'XenForo Questions and Support' started by ForoStyle, Apr 20, 2015.

  1. ForoStyle

    ForoStyle Active Member

    What is the variable to get the values of the Miscellaneous field (Use this box to enter any additional CSS you would like to include) in CSS?

    I tried
    but it doesn't work.
  2. Amaury

    Amaury Well-Known Member

    What are you trying to do?
  3. ForoStyle

    ForoStyle Active Member

    In the Page Width Controller property, I have added some CSS in the Miscellaneous field, i.e. max-width : xxx, etc.

    I just need to get the values I entered in the Miscellaneous field because I'll apply it to another element.

    I can't use:
    .myElement {
        @property "pageWidth";
        @property "/pageWidth";
    because I don't need the other pageWith CSS (margin,padding,width,height) to be included.
  4. Mike

    Mike XenForo Developer Staff Member

    It should be accessible via @pageWidth.extra .

Share This Page