Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making text wrap around (or be next to) images in a single blog page. #11

Closed
iamsridhar opened this issue Jul 22, 2023 · 2 comments
Closed

Comments

@iamsridhar
Copy link

Trying to author blog posts using this template. How can I make text in the blog wrap around (or be next to) images within the body of the content of the blog?

I am embedding images in the blog using the figure short-code. Something like:
{{< figure src="/images/digital-payments-blog/hugoblog_1.png" command="Resize" options="100x" caption="Ditigal payment QR code in a mom-and-pop store" >}}

Thanks!

@tfsomrat
Copy link
Contributor

Hi, please follow the implementation guide: https://github.com/gethugothemes/hugo-modules/tree/master/images#shortcode-implementation

you can achieve this functionality with position:float-left or position:float-right

@iamsridhar
Copy link
Author

Thanks, works on desktop, but not responsive on mobile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants