Jump to content

How do we target 'Pinned' topics in CSS?


CSSlife

Recommended Posts

Posted

I am ideally wanting to change the background color of pinned topics. How would I go about this?

I tried adding this to extra.css to no avail:

 

[data-ipstooltip title="Pinned"] .ipsDataItem  {
	background: orange!important;
}

What can I do?

Posted

This isn't possible via css since there are no classes added to pinned topics. It would be a nice suggestion for 4.3 though :)

The css which you tried using isn't valid, nor do those elements exist in that order, which is why it's not working. Your only solution at the moment is to target the data-rowid value using css (which isn't very flexible) or modify the HTML.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...