Posted: February 7, 2018 at 5:43 pm
|
How can I change the background of the heading of the default messages to include a repeating image instead of a color? I have an image in the media area of wordpress that I would like to use. Thanks, Laura |
Hi Laura, If you go in to edit those message templates, quite likely the first line of html you’ll see will be this: You’ll actually change that line of html to include a style rule to show a background image. You’ll remove this part: Then, about a half dozen or so lines of html later you’ll see this: |
|
|
Thank you. What would the image url be for images that are in the wordpress media area? |
Yes. When you go to view the images in the WordPress Media page, then click on an image, there will be an image URL value. You’ll use that URL in your html code. |
|
|
Did what you suggested on the change of the background of the heading in the email and got this: https://gyazo.com/6e78995b6561a48652661f7a30366353 My code: Can you tell me where I went wrong? Thanks. |
|
Oops! Saw the problem there, but still having issue with second <table> entry. Code: |
I’m afraid the code you posted here is not complete and doesn’t show where the missing tag is. Can you copy the entire contents of the Main Content field, then paste into a pastebin or github Gist, then link to that code bin/gist here? |
|
|
I’ve never used github before. I see that they need a file name including an extension. What would I use for that?? Here is the url link if that helps. Doesn’t seem like it would get you there to me. Thanks!! |
Anything at all. As your posting html you can When you create a gist the URL will look something like this: https://gist.github.com/Pebblo/16bf7bc52af949fd60e0ee1e6db801a9 That is a gist I just created for your other thread. Or you can use pastebin: Paste all of the code into that, give it a title (whatever you prefer) and hit ‘create new paste’, then post the URL it generates for that new paste. |
|
|
I just figured out I was misunderstanding Josh’s explanation. I thought I was removing the color of the <table> that is farther down the page. I now realize there was a <table> in the header that needed a color removed. This one is solved. Thanks! |
|
I do see that some of the emails I’m receiving in my tests do not have the formatting I’ve placed into all the emails in the Default Message Templates. Is there somewhere else that emails need to be edited? |
You’ll not only need to edit each message template type Registration Approved, Payment Received etc but also each individual context for that message type, for example a Registration Approved message type can have the Event Admin, Primary Registrant and Registrant contexts. Each of the above contexts have their own editable template, see: https://eventespresso.com/wiki/messages-system-working-with-message-contexts/ |
|
The support post ‘Change the heading in all messages to include a repeating background image’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.