This isn’t something that we have any control over with the plugin. We don’t ship with any CSS for the frontend. If you can provide a link to where this is perhaps shown in action, I could poke at it momentarily to see why the email wasn’t changed too, based on existing CSS. Otherwise, just need to check on your CSS selectors yourself.
Thanks for your speedy reply! Honestly, I’m unsure of where the CSS formatting would be pulled from for the BP Registration Options emails – would it be from the primary theme file?
Otherwise, the backend page where I’m making HTML pages is on /wp-admin/admin.php?page=bp_registration_options under the Admin Pending Email Message setting.
This is the excerpt of code where I’ve attempted to format the shortcode in the Admin Pending Email Message input box:
<p>[username] ( <span style="color: #f06449">[user_email]</span> ) would like to become a member of your website. To accept or reject their request, please go to <a style="color: #f06449" href="/wp-admin/admin.php?page=bp_registration_options_member_requests">Member Requests</a>.</p>
Disclaimer: I have very basic knowledge of HTML/CSS or how shortcodes are handled in WordPress.
It’s not pulling colors from our plugin at all, is what I’m saying. The only CSS we ship is for our admin pages.
The better question is why is the orange color only applying to one link, and not the other. Best guess I have at the moment is that potentially?the CSS is somehow ignoring email addresses?
Also is this from an email you received away from the website completely? Perhaps in Google Mail, or some other mail application? Or is this a spot you’re seeing on your website?
Thanks for clarifying, I appreciate your patience with my lack of knowledge 😅
The other link has inline CSS which is how it has a different colour.
This is from an email received away from the website.
My suspicion is I need to avoid using inline CSS entirely and figure out how to style the emails before they’re sent: I just have no idea how to do that right now.
Given that it’s presently sounding all embedded in the email message itself with inline CSS, my next question would be more about what’s adding it to the emails, for just some of the links, and not others. So the idea of trying your own inline CSS isn’t the worst approach to try, but I’m not sure we’re fully preserving CSS in our textarea setting.
If the question is about why something is applying to one hyperlink but not the other, that’s the same question I have as well 😅 I’m not sure where to go from here to help troubleshoot further.
Given my lack of technical background, I will probably just remove the [user_email] shortcode entirely. Emails will be visible when viewing the Member Requests page anyway.
Again, greatly appreciate your help Michael 🙏🏼