Text/Image Padding
Posted
#3179
(In Topic #587)

Standard member

No left padding on blogs
Where can I adjust the padding for images in blogs? Appreciate suggestions!!
Posted

Site director

If you can record a little screencast (e.g. using the free tool Jing) showing how to reproduce this layout, that would help diagnose the issue.
In theory Composr is meant to handle this automatically, but it depends on the various attachment settings.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Posted

Standard member

I simply copied the text into the editor and then inserted the image, left alinged.
Image below shows what it looks like.
I am guessing i have to edit the global.css for attachments but need pointers.
Thanks.

Posted

Site director

Sorry for the delay.
I've looked at this now, and I can easily reproduce the issue.
There's an option, "Simplified attachments UI", which is on by default. If it is on then it doesn't ask you about alignment when you add the attachment, and thus bypasses our inbuilt alignment styles; and thus you have to do only what the WYSIWYG editor (CKEditor can do).
And unfortunately CKEditor cannot do the alignment padding, which I didn't realise before.
I think that's pretty poor, this should be easy. So I've patched CKEditor, and this patch will be in our next release also.
alignment.zip
You can extract the attached zipped data/ckeditor/plugins/image2/dialogs/image2.js file and upload it to your site.
Or if you prefer you can disable the "Simplified attachments UI" option.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
1 guest and 0 members have just viewed this.