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

XF 1.5 What CSS .class / #id I can use to add custom styling?

Discussion in 'Styling and Customization Questions' started by RoldanLT, Feb 21, 2016.

  1. RoldanLT

    RoldanLT Well-Known Member

    What CSS .class or #id,
    I can use to add custom styling for thread listing Sticky and Closed thread?
    Like strike-through closed thread then change font color for Sticky threads or add background.

    Thanks!
     
  2. Jake B.

    Jake B. Well-Known Member

    Really depends on what you want to change. It'll all branch from these though:

    Sticky:
    Code:
    .discussionListItem.sticky
    Closed:
    Code:
    .discussionListItem.locked
    If you want to change font color, or strikeout the title you'd use:

    Sticky:
    Code:
    .discussionListItem.sticky .title
    Closed:
    Code:
    .discussionListItem.locked .title
     
    RoldanLT likes this.
  3. Brogan

    Brogan XenForo Moderator Staff Member

  4. RoldanLT

    RoldanLT Well-Known Member

    Works Great, Thanks a lot Jake.
    Too lazy to inspect element :D.

    Thanks also Brogan :)
     

Share This Page