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

XF 1.3 style properties and add node ids ?

Discussion in 'Styling and Customization Questions' started by Allan, Apr 28, 2014.

  1. Allan

    Allan Well-Known Member

    Simple question, is't possible to add ids to node in style property?

    Example: Add your ids (separated by a comma): 1,36,85 etc ..
     
  2. EQnoble

    EQnoble Well-Known Member

    nah in style properties you can't but you can add a rule like this in extra.css ...


    to style message boxes only in 'styling and customization questions' you can view the source of the page you are interested in and see what nodes its contained within (look at the <body> tag, the class names there are what you want to be looking at)


    .node47 .message {
    background-color: #C0C0C0;
    }


    if i wanted to make that apply to node48 as well for some reason i could do this...

    .node47 .message, .node48 .message {
    background-color: #C0C0C0;
    }

    There is a couple ways to go about it but the straight css mode is the fastest and easiest
     
    Last edited: Apr 28, 2014
    Lisa and Allan like this.
  3. Lisa

    Lisa Well-Known Member

    I've styled single nodes loads of times using something similar to @EQnoble's example. It's very easy to do.
     
    Allan likes this.
  4. Allan

    Allan Well-Known Member

    Thank you guys :)
     

Share This Page