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

Images incorrectly sized on the home page #40

Open
bobbingwide opened this issue Mar 16, 2024 · 1 comment
Open

Images incorrectly sized on the home page #40

bobbingwide opened this issue Mar 16, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@bobbingwide
Copy link
Owner

image

This happened before when I used the block editor.
The most recent update I did was to the categories.
I reckon there's something wrong with the site editor but haven't analyzed it yet.

<ul class="sb thumbnail wp-block-post-template is-layout-grid wp-container-core-post-template-layout-35 wp-block-post-template-is-layout-grid"><li>
<figure class="wp-block-post-featured-image is-layout-grid wp-container-core-post-template-layout-3 wp-block-post-template-is-layout-grid">
<a href="https://seriouslybonkers.com/bigram/spoon-blade/" target="_self">
<img loading="lazy" width="1024" height="1024" src="https://seriouslybonkers.com/wp-content/uploads/2024/03/Spoon-Blade.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Spoon Blade" style="object-fit:cover;" decoding="async" srcset="https://seriouslybonkers.com/wp-content/uploads/2024/03/Spoon-Blade.png 1024w, https://seriouslybonkers.com/wp-content/uploads/2024/03/Spoon-Blade-400x400.png 400w, https://seriouslybonkers.com/wp-content/uploads/2024/03/Spoon-Blade-150x150.png 150w, https://seriouslybonkers.com/wp-content/uploads/2024/03/Spoon-Blade-768x768.png 768w" sizes="(max-width: 1024px) 100vw, 1024px"></a>
</figure>
<h3 class="wp-block-post-title has-medium-font-size"><a href="https://seriouslybonkers.com/bigram/spoon-blade/" target="_self">Spoon Blade</a></h3>
</li>
...
</ul>
@bobbingwide bobbingwide added the bug Something isn't working label Mar 16, 2024
@bobbingwide bobbingwide self-assigned this Mar 16, 2024
@bobbingwide
Copy link
Owner Author

bobbingwide commented Apr 5, 2024

I fixed it on the live site by editing the .html templates and uploading them in sb v0.5.0

The problem still exists in the site editor.
I haven't investigated it further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant