Sirv Media Block: Sizing, Alignment and Caption
-
I’m having some trouble placing images into posts using the Sirv media block.
For example, to add a Sirv media block, I edit a post, click the add block button, then choose “Sirv Media”.
My goal is to add a responsive, lazy-loaded image that is narrower than the post width, is centered, and has a caption.
Currently, the image I add is stretched/distorted to the full post width, is left aligned and has no caption (the caption appears in the alt attribute, but is not visible on the page).
On the Sirv media | “Add new media” tab, there is a setting for responsive or static images. I would like the images to be responsive. I see that once the static option is selected, there is a Width option. Is there a way to set a width and max-width option for the responsive image setting? For example, the width of my posts is 1000px. For a particular image, I would like its width to be set to 600px and max-width should be 100%.
I have set the Align option to Center. I see a class of data-align attribute with a value of aligncenter is added, but there seems to be no effect. The image is left aligned.
Please let me know if there is a way that I can get the images placed as desired.
- The topic ‘Sirv Media Block: Sizing, Alignment and Caption’ is closed to new replies.