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

Which controls?

Discussion in 'Styling and Customization Questions' started by Gabby, Aug 28, 2012.

  1. Gabby

    Gabby Well-Known Member

    What controls do I use to work with these two elements?

    Thank you.

  2. Chris D

    Chris D XenForo Developer Staff Member

    The style property for that is called sectionmain

    The best way to find that is to go into your Admin CP, and search in the top right corner for sectionmain

    One of the results will be a style property.

    There you can change the background colour and the border.
    Shelley and Jake Bunce like this.
  3. Gabby

    Gabby Well-Known Member

    Thank you so much! :)
    Chris D likes this.
  4. Shelley

    Shelley Well-Known Member

    Another route if you only wanted to style that area without it affecting the forum_list or other areas.which would be added in EXTRA

    .discussionList.sectionMain  {
        background-color: red !important;
        border: 1px solid darkred !important;
    MichaelDance and Chris D like this.
  5. Gabby

    Gabby Well-Known Member

    Thank you so much Shelley I will try this too. :)
  6. Neil E.

    Neil E. Active Member

    Without EXTRA.css, styling XF would be very difficult. When a styling property applies to all iterations of an item, EXTRA is the only way to apply it to one iteration only. In one instance I found it easier to let styling properties apply to all, then I used EXTRA to remove the styling from the one area I didn't want styled.
    Gabby likes this.

Share This Page