listmonk
listmonk copied to clipboard
Web views of campaigns created with visual editor are not mobile-responsive due to missing viewport meta tag
Version:
- listmonk: [v5.1.0 Docker]
- OS: [Ubuntu 24.04.2 LTS]
When viewing campaigns created with visual editor on mobile devices, the content doesn't scale properly, making it difficult to read.
Campaign web views created with visual editor (accessed via /campaign/:campUUID/:subUUID) are not mobile-responsive because they lack the viewport meta tag in the HTML <head> section.
The head section is empty:
<html>
<head></head>
<body>...
With meta tag:
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
</head>
<body>...
Screenshots:
Hi @drlogout
You can add the meta tag yourself in Admin -> Templates
Unfortunately this is not possible for a "Visual Template". There is no option to edit the HTML of the template (first image) like for the standard/HTML templates (second image).