Font size in Emails

  • Jennifer Howe
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 6 days ago #170961 by Jennifer Howe
Font size in Emails was created by Jennifer Howe
Hello,
Would it be possible to increase the font size on all emails and invoices?  My eyesight isn't great and I'm struggling to read the text.
Thanks
Jenny

Please Log in or Create an account to join the conversation.

More
1 month 6 days ago #170970 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Font size in Emails
Hi Jenny

If you want to change font-size in the email, try to look at the file components/com_eventbooking/themes/default/emailtemplates/email.php . In that file, there is css code to set font-size to 14px, change it to the value you want, then check to see if it works. If Yes, the change will need to be moved to template override so that the change won't be lost when you update to future releases of the extension

For font-size of PDF, it's hard. I will see if I can make it configurable in next releases of the extension

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Jennifer Howe
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 6 days ago #170984 by Jennifer Howe
Replied by Jennifer Howe on topic Font size in Emails
Sorry, I can't find this. The link you sent seems to be for Event booking rather than Membership pro.

Please Log in or Create an account to join the conversation.

More
1 month 6 days ago #170985 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Font size in Emails
Ah, sorry. For Membership Pro, the file is components/com_osmembership/view/emailtemplates/tmpl/email.php

Tuan

Please Log in or Create an account to join the conversation.

  • Jennifer Howe
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 6 days ago #170987 by Jennifer Howe
Replied by Jennifer Howe on topic Font size in Emails
Thanks for pointing me in the right direction. I found the CSS in the container.php file in the folder you suggested.

I am struggling to create an override.

Would I put the overide in this directory?
/components/com_osmembership/view/override/emailtemplates/container.php

or this?
components/com_osmembership/view/emailtemplates/tmpl/container.php

What should the text be in the new container field to override the original file?

class OSMembershipViewOverrideemailtemplatescontainer extends OSMembershipViewOverrideemailtemplatescontainer

Any help very much appreciated
Thanks

Please Log in or Create an account to join the conversation.

More
1 month 6 days ago #170988 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Font size in Emails
Hello

That's the layout, so override is not that complicated. Just copy that file to templates/template_name/html/com_osmembership/emailtemplates. template_name is name of the template you are using on your site

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Jennifer Howe
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 6 days ago #170991 by Jennifer Howe
Replied by Jennifer Howe on topic Font size in Emails
Brilliant, Thank you so much.

Please Log in or Create an account to join the conversation.

More
1 month 6 days ago #170992 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Font size in Emails
You're welcome

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc