Shortcode formatting

Below is an image shortcode. I have looked everywhere and cannot find anything on formatting the shortcode. I am trying to add some bottom padding for the image as indicated by the padding-bottom=“2em” in the shortcode. Please advise. Thank you.

[x_image type=“thumbnail” float=“right” padding-bottom=“2em” src="/wp-content/uploads/our-products-pic.jpg" alt=“Our Products” title=“Our Products” info=“none” info_place=“top” info_trigger=“hover”]

Hi @kstidham,

Thanks for reaching out.

Your shortcode should look like this:

[x_image type="thumbnail" float="right" style="padding-bottom:2em;" src="/wp-content/uploads/our-products-pic.jpg" alt="Our Products" title="Our Products" info="none" info_place="top" info_trigger="hover"]

Please check these resources that might help you in the future.

Hope that helps.

Thank you.

That will work. Thanks.

Hi @kstidham

Glad to help you.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.