AMP Conflicting with ‘Align Center’ GB Image
-
Hello!
I’m one of the developers of Astra Theme. We came across one issue, most probably a bug?
Here is what we did.
We added Image Block in the Gutenberg editor.
Screenshot – https://monosnap.com/file/ZV8HJ8oQMDT6PcV0oD72v1ef1lr9hrThen we set the alignment for the image as ‘Align Center’.
Screenshot – https://monosnap.com/file/MW8xxaeL35Lru881vpGickPYwkr5RwNow, we viewed the image in the frontend and it seems to be not appearing properly.
Screenshot – https://monosnap.com/file/Z7B77bCsgSYsV1fBlTeiAIIkklz7WQIt is actually going out of the Viewport because there is width added to the image which is inline – 100vw.
Screenshot – https://monosnap.com/file/gWmWlEQetVRHIqMPAV4jUfVOD94MX3Due to this inline CSS, the image is not appearing properly.
Would it be possible from you guys to remove the inline CSS and add it as external CSS?
In this way, we will be able to override the CSS and then the image will look properly. All I want to do is change the 100vw to 100%.
Please let us know if you have any doubts.
The page I need help with: [log in to see the link]
- The topic ‘AMP Conflicting with ‘Align Center’ GB Image’ is closed to new replies.