You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#106808 Default margins for images in em

Posted in ‘Suggestions & Feature Requests’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Friday, 12 February 2021 15:40 GMT

ClaudioRomeo
I use profiles.
In the Plugin Parameters → Image Manager Extended → Default Values area I can only set the margins to 10px max.
How can I set the default value to 20px?
Moreover, how can I set the default value to 1em?

Ryan
I would suggest using css styles for this rather than applying inline margin styles, especially if you want to use em values. So for example, you could add thie following to your template stylesheet, and then select it to apply to the image from the Stylres list:

.img_margin {
    margin: 1em;
}

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.