Okay
  Public Ticket #3801590
Post Loop Grid
Open

Comments

  •  3
    Mark started the conversation

    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:

    <div class="nectar-post-grid-item-bg-wrap">
    <div class="nectar-post-grid-item-bg-wrap-inner">
    <div class="nectar-post-grid-item-bg img-loaded">
    <img decoding="async" class="nectar-lazy skip-lazy loaded" src="https://kephart.com/wp-content/uploads/2024/11/Untitled-300x171.png" alt="" height="600" width="1050" sizes="(max-width: 300px) 100vw, 300px" srcset="https://kephart.com/wp-content/uploads/2024/11/Untitled-300x171.png 300w, https://kephart.com/wp-content/uploads/2024/11/Untitled-1024x585.png 1024w, https://kephart.com/wp-content/uploads/2024/11/Untitled-150x86.png 150w, https://kephart.com/wp-content/uploads/2024/11/Untitled-768x439.png 768w, https://kephart.com/wp-content/uploads/2024/11/Untitled.png 1050w">
    </div>
    </div>
    </div>
    
  •  8,996
    Tahir replied

    Hey Again,

    Try adjusting the "Image Size" Field in the Element settings. See screenshot: 3537213837.png

    Best,

     


    ThemeNectar Support Team 

  •  3,028
    Andrew replied

    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.4849132293.png

    Try this and let us know how it goes.

    Cheers,

  •  3
    Mark replied

    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!

  •  3
    Mark replied

    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/

  •  3,028
    Andrew replied

    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/8908600074.png

    Try this and let us know how it goes.

    Cheers,

  •  3
    Mark replied

    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!!

  •  1,947
    Judith replied

    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,