When using the post loop builder for any blog items (see bottom of home page or the blog page), the background images are blurred and pixelated even if I upload a large featured image. From what I could find in the code it is being caused by a hard-coded statement on the image CSS: sizes="(max-width: 300px) 100vw, 300px"
If I remove the (max-width: 300px) in a code inspector, the bg image shows correctly without being blurred or pixelated.
I have no idea where this is being added - any help is appreciated.
Thank you for getting back to us and my apologies for the delayed response.
The legacy blog post page does not have a way to change the image sizes. I recommend using the Post Loop Builder to create your blog archive pages. You can achieve this by using Global Sections. You can then use the display options to show this on the blog archive pagehttps://themenectar.com/docs/salient/page-builder-global-sections/.
While I can't mimic the same layout the legacy module provided, I got it close enough for the client. Thanks and consider this one closed - Thank you!!
When using the post loop builder for any blog items (see bottom of home page or the blog page), the background images are blurred and pixelated even if I upload a large featured image. From what I could find in the code it is being caused by a hard-coded statement on the image CSS: sizes="(max-width: 300px) 100vw, 300px"
If I remove the (max-width: 300px) in a code inspector, the bg image shows correctly without being blurred or pixelated.
I have no idea where this is being added - any help is appreciated.
The HTML I'm referencing is:
Hey Again,
Try adjusting the "Image Size" Field in the Element settings. See screenshot:
Best,
ThemeNectar Support Team
Hi Mark,
Thank you for getting back to us.
Try adjusting the image size option in the Post Lopp builder settings and disable the lock aspect ratio settings and see if this resolves your issue.
Try this and let us know how it goes.
Cheers,
I totally missed that option! That worked. I'll be more aware of the intricacies of that module in the future.
I appreciate the help - love the theme!!
Thank you!
The Blog Page still has the same issue because it uses the legacy Blog Post module, not the Post Loop. Can the image sizes be changed on this one?
https://kephart.com/keep-up/
Hi Mark,
Thank you for getting back to us and my apologies for the delayed response.
The legacy blog post page does not have a way to change the image sizes. I recommend using the Post Loop Builder to create your blog archive pages. You can achieve this by using Global Sections. You can then use the display options to show this on the blog archive pagehttps://themenectar.com/docs/salient/page-builder-global-sections/.
Try this and let us know how it goes.
Cheers,
While I can't mimic the same layout the legacy module provided, I got it close enough for the client. Thanks and consider this one closed - Thank you!!
Hello Mark,
You're welcome.
I am glad this is now resolved for you, We will go ahead and close the ticket.
If you have any more questions or run into any problems, please feel free to reach out.
Best regards,