Shopify themes, liquid, logos, and UX
I want to my blog posts to be shown next to each other like a gallery view three next to each other. When you then clicking on one f them, you´re taken to that blog post. How can that be done?
Hey @Marvellous1,
Can you share the link to your store?
Hey @ThePrimeWeb
Yes, here it is: https://marvellousrose.com/da/collections/all
Thank you.
Hey @Marvellous1,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
Note: The 50% on max-width is how much space per blog, 100% means one post per row, now it's 50% because you only have 2 posts, if you have 3 or more posts and you want 3 in a row, change this to 33.33%, I didn't change it now because there will be an empty space for the third post if I do.
<style>
@media only screen and (min-width: 770px) {
.shopify-section--blog-posts {
display: inline-flex !important;
max-width: 50% !important;
}
.home-blog-columns-2 .home-blog-post {
width: 100%;
padding: 0;
}
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Hi @ThePrimeWeb ,
I hope you can help me once again.
I am trying to set up a new website in the "crafts theme" this time and i have same problem.
Can i use same method as below?
Thanks in advance.
I'm not sure, because each theme is built differently. But you can try and see. If it doesn't work just share the preview link for the draft theme with me and I'll check.
It is not working - here is the preview link:
https://ol85f6rorqym36pw-77320814928.shopifypreview.com
Hey @Marvellous1,
The structure here is different. You have categorized them. If there are in the same category, it should appear next to each other.
Thank you @ThePrimeWeb - I have tried to figure out where I am able categorize them ?
Do you know? I do not see where to change it.
Thank you ! I am learning so much.
Hey @DigiDecoded
Yes, here it is: https://marvellousrose.com/da/collections/all
Thank you.
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024