Hi Markus,
I'm testing the latest version for our upcomming new site and just WOW - NLS has come a long way and has become an even more amazing tool :-)
Our newsletter has a width of 720px and when I making a custom theme and change all the '600px' widths to '720px' in newsletterStudio.css, then the newsletter width in 'Content' is 720px, but I can't make the inserted images wider than (the default) 600px minus margins. Also in the 'Preview' the newsletter is still 600px wide when previewed in 'Desktop'.
Is there a setting somewhere to change the default width for a 'Workspace' ?
And is is possible to change the default margin (preferable all 4 values) for a 'Workspace'?
However, the width in the preview is currently hardcoded in our CSS. If you looking to /App_Plugins/NewsletterStudio/newsletterStudio.css you should be able to find all selectors that used the width 600px.
You could then create your own "plugin" and only insert a stylesheet to override these selectors.
I know that this is not a great experience but we have not got any requests for this so far so have not invested a lot of time into making it easy.
I hope that you're willing to give this a try!?
Please let me know if you need any further assistance to try it out!
Cheers!
Edit: The padding settings do not have any settings at the moment I'm afraid.
I'm sure willing to try out overriding the PixelsPerColumn, but not a hardcore coder, so I have no idea how/where to do it, so assistance would be much appreciated, thanks :-)
Change default email width?
Hi Markus, I'm testing the latest version for our upcomming new site and just WOW - NLS has come a long way and has become an even more amazing tool :-)
Our newsletter has a width of 720px and when I making a custom theme and change all the '600px' widths to '720px' in newsletterStudio.css, then the newsletter width in 'Content' is 720px, but I can't make the inserted images wider than (the default) 600px minus margins. Also in the 'Preview' the newsletter is still 600px wide when previewed in 'Desktop'.
Is there a setting somewhere to change the default width for a 'Workspace' ?
And is is possible to change the default margin (preferable all 4 values) for a 'Workspace'?
TIA and have a nice day :-)
Hi!
Thanks a lot for your kind feedback! Have been working hard on the new version =D
First of all, the experience for using a custom width is not 100% straight forward but I think it should be possible.
The email editor has 4 columns at max, there is a setting that represents the width in pixels for each column.
Out of the box this is set to 150px (4x150=600). You should be able to override this during startup.
However, the width in the preview is currently hardcoded in our CSS. If you looking to /App_Plugins/NewsletterStudio/newsletterStudio.css you should be able to find all selectors that used the width 600px.
You could then create your own "plugin" and only insert a stylesheet to override these selectors.
I know that this is not a great experience but we have not got any requests for this so far so have not invested a lot of time into making it easy.
I hope that you're willing to give this a try!?
Please let me know if you need any further assistance to try it out!
Cheers!
Edit: The padding settings do not have any settings at the moment I'm afraid.
Thanks for your fast response!
I found where to edit the 'Preview' width - it's in '~/Themes/MyTheme/Views/Email.cshtml'
I'm sure willing to try out overriding the PixelsPerColumn, but not a hardcore coder, so I have no idea how/where to do it, so assistance would be much appreciated, thanks :-)
Hi!
Sounds like a great solution to use a custom theme to override the defaults for rendering.
When it comes to the constant there is several ways to override this. You could just use this in your Startup.cs-file or create a composer:
There is more info about composers and how to create them here: https://our.umbraco.com/documentation/implementation/composing/
It works like a charm - thank you :-)
is working on a reply...