Support » Plugin: Email Templates » Email Template on Mobile

  • Firstly I’d like to say I love this plugin, you’ve done an amazing job putting it together.

    The only change I’d like to see is the layout for emails on mobile, it doesn’t look as slick as emails received on desktop.

    When using a boxed email template with a body of 680px, the emails show as fullwidth on mobile leaving a large gap at the top and bottom of the email: https://i.imgsafe.org/49/4984c91231.png

    Is there any way to make it responsive on smaller devices? By reducing the width of the body, not sure if this can be achieved through CSS.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support gonzalesc

    (@gonzalesc)

    Hi.
    680px is very wide to a mobile device, for this reason, the plugin put it in full width.

    Regards

    Hello,

    If the width is set to 300px for example then it’s too small on desktop view. I was just wondering if there was a workaround.

    Thanks

    Plugin Support gonzalesc

    (@gonzalesc)

    Well.
    The plugin put full width by default in mobile device.

    If you need custom it, I suggest to you rebuild the template email using the hook “mailtpl/customizer_template

    <?php
    if( !function_exists('timersys_customizer_template') ) {
    	function timersys_customizer_template($template_file) {
    		
    		$template_file = '/path/your/template.php';
    
    		return $template_file;
    	}
    
    	add_filter('mailtpl/customizer_template', 'timersys_customizer_template', 10, 1);
    }
    ?>

    Regards

    I have the same issue. I just get here to post about it while found this post.
    I’m not great in coding so I just pasted this code to CSS section but nothing happened.
    So I understand we need to do something more. Could you advise on that, please?
    The plugin is great one of the best I think but them two grey strips at the bottom and at the top.

    Plugin Support gonzalesc

    (@gonzalesc)

    Hi.
    The plugin show a default template but if you wish put your own template, you need use the mailtpl/customizer_template hook. In this code you must point the path to the template that you builded.

    $template_file = '/path/your/template.php'; should be the path of you new template.

    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Email Template on Mobile’ is closed to new replies.