How to Center Collection Grid Links on Images in the Shopify Dawn Theme
When customizing your Shopify store, small details can make a big difference in user experience. A common design element in the Dawn theme is the collection grid, but sometimes, the default placement of grid links might not align with your store’s aesthetic. In this post, we’ll walk through the steps to reposition these links from below the grid to the center of each image, creating a more streamlined and visually appealing layout.
The Challenge
In the standard Dawn theme, collection grid links are positioned under each grid item. This traditional layout, while functional, may not always capture the user’s attention effectively. For a more modern and engaging design, centering these links on the image itself can be a game changer.
If you prefer video tutorials over text, feel free to skip this post and watch the video below. If not, please continue reading.
Notice how the links are now prominently displayed, creating a more engaging user interface.
Customizing your Shopify store doesn’t have to be daunting. With a few lines of CSS, you can significantly enhance the visual appeal of your site. This simple change to the collection grid links can make your site more intuitive and visually striking.
Have you tried this customization? How did it work for your store? Let us know in the comments below!
A certified Shopify expert, brings over 10 years of experience to the forefront of e-commerce development. As a co-founder of WebFix Lab, he has significantly contributed to WordPress and WooCommerce solutions, serving over 1000+ active users with premium plugins. Recognized as an Upwork Top-Rated Developer and honored with the BASIS Outsourcing Award in 2020, Shahriar now focuses his expertise on Shopify development at KlinKode, where he continues to innovate and drive success in the digital retail space.
Comments (2)
Luke Murphy
May 21, 2024 - 8:54 am
hi, i applied the code to centre my collection gris link. It worked fine on desktop and i was happy with the result. However, although the effect appears in mobile preview on my computer when i access the site through a mobile phone directly the effect is not applied. any help is greatly appreciated
Comments (2)
Luke Murphy
May 21, 2024 - 8:54 amhi, i applied the code to centre my collection gris link. It worked fine on desktop and i was happy with the result. However, although the effect appears in mobile preview on my computer when i access the site through a mobile phone directly the effect is not applied. any help is greatly appreciated
Shahriar Kabir
May 22, 2024 - 1:50 pmI believe it’s your mobile browser cache. Could you check with other mobiles or mobile browsers?