Andre Daub Active member Jan 20, 2021 #1 Hi, can you tell me how to change the Text Color for this section to white? Under Styles - email there is no option for this section? Regards, André
Hi, can you tell me how to change the Text Color for this section to white? Under Styles - email there is no option for this section? Regards, André
Paul B XenForo moderator Staff member Jan 20, 2021 #2 Is that the summary email? It could be this class - summaryBlock-header. You can try adding something to the extra.less template to change the text colour. Ensure you use the correct style - the one configured for activity summary emails. Upvote 0 Downvote
Is that the summary email? It could be this class - summaryBlock-header. You can try adding something to the extra.less template to change the text colour. Ensure you use the correct style - the one configured for activity summary emails.
Andre Daub Active member Jan 20, 2021 #3 Code: .summaryBlock-header { font-size: @xf-fontSizeLarger; color: @xf-majorHeadingTextColor; background: @xf-majorHeadingBg; border-bottom: @xf-borderSize solid @xf-borderColorLight; border-top-left-radius: @xf-borderRadiusSmall; border-top-right-radius: @xf-borderRadiusSmall; padding: @xf-blockPaddingV @xf-blockPaddingH; a { color: #ffffff; } } That was ist. Thank you. Upvote 0 Downvote
Code: .summaryBlock-header { font-size: @xf-fontSizeLarger; color: @xf-majorHeadingTextColor; background: @xf-majorHeadingBg; border-bottom: @xf-borderSize solid @xf-borderColorLight; border-top-left-radius: @xf-borderRadiusSmall; border-top-right-radius: @xf-borderRadiusSmall; padding: @xf-blockPaddingV @xf-blockPaddingH; a { color: #ffffff; } } That was ist. Thank you.
Andre Daub Active member Jan 21, 2021 #4 And another question, my button looks god, but not in the (confirm register) mail. It seems that there is another button: In chrome i saw that this is the css: Code: .msg-body a:link, .msg-body a:visited, .rte a:link, .rte a:visited { color: #cfcfcf; } .msg-body a:hover, .rte a:hover { color: #cbcbcb; } But adding this to the core.less template and changing the color of the links, does not change anything. Upvote 0 Downvote
And another question, my button looks god, but not in the (confirm register) mail. It seems that there is another button: In chrome i saw that this is the css: Code: .msg-body a:link, .msg-body a:visited, .rte a:link, .rte a:visited { color: #cfcfcf; } .msg-body a:hover, .rte a:hover { color: #cbcbcb; } But adding this to the core.less template and changing the color of the links, does not change anything.
Paul B XenForo moderator Staff member Jan 21, 2021 #5 That's just the standard button class. Presumably the buttons on the site also appear like that. You can edit that template and change the text colour inline to e.g. white. HTML: class="button" style="color: white">{{ phrase('confirm_your_email') Upvote 0 Downvote
That's just the standard button class. Presumably the buttons on the site also appear like that. You can edit that template and change the text colour inline to e.g. white. HTML: class="button" style="color: white">{{ phrase('confirm_your_email')