Is there a way in the SmoothSailing layout to set it up so that on your friends page, for the different security settings, the background of the Subject bar is a different color according to the security setting
( Read more... )
It's not possible using CSS because the subject bars always have the same class. It would be possible by overriding the Entry::lay_print_subjectline method. I've provided the modified version below. You'll have to change the variable settings in the big if statement at the start of the function with the hex codes for the colors you want to use.
Mike ### modified to print different background colors based on security settings
( ... )
To clarify, I've seen this (and likely would have been better off putting the comment there), but I'm wondering about the ability to have more than 2 icons. Is it possible to not specifiy just "protected" entries, but entries posted to a given filter?
Comments 8
Mike
### modified to print different background colors based on security settings ( ... )
Reply
Reply
Is it possible to use a modification of the code above to change the actual icon of the lock?
For example, a friends-only post would be ( ... )
Reply
Reply
Leave a comment