O Old Nick Well-known member Oct 31, 2020 #1 Hello, i made some changes in cell-user, here it is but these changes affects the pop-up user too How to prevent that ? Thanks !
Hello, i made some changes in cell-user, here it is but these changes affects the pop-up user too How to prevent that ? Thanks !
Solution SyTry Oct 31, 2020 Hello, This code is working for me, in your EXTRA.less template : Code: /* CSS for Message Macros */ [data-template="thread_view"] { .pairs--justified { padding: 6px; background: white; margin-top: 4px; border-radius: 3px; border: 1px solid @xf-borderColor; } } Regards, SyTry
Hello, This code is working for me, in your EXTRA.less template : Code: /* CSS for Message Macros */ [data-template="thread_view"] { .pairs--justified { padding: 6px; background: white; margin-top: 4px; border-radius: 3px; border: 1px solid @xf-borderColor; } } Regards, SyTry
SyTry Well-known member Oct 31, 2020 #2 Hello, you may use a condition for this, like "if template is thread_view" so, how did you change that? Via CSS? Regards, SyTry Upvote 0 Downvote
Hello, you may use a condition for this, like "if template is thread_view" so, how did you change that? Via CSS? Regards, SyTry
O Old Nick Well-known member Oct 31, 2020 #3 Hello, yes via CSS, this is my code, i add a template condition but when you open the user's pop-up in thread-view page the pop-up is affect (not in other pages).... Less: [data-template="thread_view"] .pairs { padding: 6px; background: white; margin-top: 4px; border-radius: 3px; border: 1px solid @xf-borderColor; } Upvote 0 Downvote
Hello, yes via CSS, this is my code, i add a template condition but when you open the user's pop-up in thread-view page the pop-up is affect (not in other pages).... Less: [data-template="thread_view"] .pairs { padding: 6px; background: white; margin-top: 4px; border-radius: 3px; border: 1px solid @xf-borderColor; }
SyTry Well-known member Oct 31, 2020 #4 And if you add message_macros to your condition? Upvote 0 Downvote
O Old Nick Well-known member Oct 31, 2020 #5 tried but doesn't work, CSS code is not applied anymore. Upvote 0 Downvote
SyTry Well-known member Oct 31, 2020 #6 Hello, This code is working for me, in your EXTRA.less template : Code: /* CSS for Message Macros */ [data-template="thread_view"] { .pairs--justified { padding: 6px; background: white; margin-top: 4px; border-radius: 3px; border: 1px solid @xf-borderColor; } } Regards, SyTry Upvote 2 Downvote Solution
Hello, This code is working for me, in your EXTRA.less template : Code: /* CSS for Message Macros */ [data-template="thread_view"] { .pairs--justified { padding: 6px; background: white; margin-top: 4px; border-radius: 3px; border: 1px solid @xf-borderColor; } } Regards, SyTry
O Old Nick Well-known member Oct 31, 2020 #7 yet I had started with .pairs--justified and then as it worked too with .pairs I no longer thought about it ! Thank you very much !! Upvote 0 Downvote
yet I had started with .pairs--justified and then as it worked too with .pairs I no longer thought about it ! Thank you very much !!