January 15, 2019 at 2:54 am #301479
I've recently noticed there's no space (border/margin/padding?!) between some of my in content/aligned images and text, on a site that I'm using the News Pro theme. For example, here you can see https://buff.ly/2JMAoT3 the image has no space on the right-side.
I haven't made any changes to anything that may have caused it to happen!
The latest version of Genesis 2.7.3 is installed and I have WordPress (Guttenberg) 5.0.3. I haven't published any new posts/pages with the new Guttenberg editor but have been editing some pages where the content is just one block. I reverted back to the Classic Editor as I thought this may be the issue but it's still occurring.
I've tested it in Chrome & Safari on a Mac, and Chrome on Android and getting them same results.
Can anyone help?
Thanks in advance.
PS Incidentally, while testing the above I notice bullet points are all over the place on Safari on the page example above. Does anyone know why that it is?https://buff.ly/2JMAoT3January 15, 2019 at 8:41 am #304216
This issue is probably related to your caching, minification or lazy load of images. After any update, it's always a good idea to delete all caches and regenerate them.
I looked at your CSS and do not see any padding or margin on the right side of the image either. You might want to consider adding some.
January 15, 2019 at 9:45 am #304692
Thanks for your help.
I've completely disabled WP Rocket (at first I turned off the ones you and they suggest), flushed my other cache and even downgraded WordPress core to 4.9.9 (pre-Gutenberg)..however..
I still have the same issue. When the page loads - for a split-second - the spacing is there but then it goes again.
Do you know what and where I need to add the CSS? I assume it was never there (something else was handling the spacing?).
Thanks and regards
ChrisJanuary 16, 2019 at 9:00 pm #322236
I've solved this issue! I raised a support ticket and they told me to try testing other plug-ins.
It appears that the Social Warfare plug-in was causing the issue. I de-activated the free and paid versions of Social Warfare and the alignment went back to normal. After reactivating both Social Warfare plug-ins, the alignment is still OK. If it comes back, I'll contact Social Warfare.
I've updated this as I'm sure there's plenty of Studiopress users, who also use Social Warfare.
All the best!
The topic ‘No Spacing Between Image and Text’ is closed to new replies.