Hello guys, you know how to say how I make these lines as it is in the image
Thanks ![]()
I use Refresh Theme
https://492dea-24.myshopify.com/pages/landing-page-apr-25-23-07-50
pass- Humblee3030
A user working with the Refresh theme on Shopify seeks help creating grid-shaped dividing lines between collection items on mobile, similar to a reference image they provided.
Solution provided:
A support representative shares CSS code that:
nth-child(2n) selectornth-child(n + 3) selectorAdditional adjustments:
column-gap and row-gap to 0translateY(-40px).sticky-header.header-wrapperThe solution involves multiple CSS snippets that progressively refine the layout based on the userโs feedback and additional screenshots. Each code modification is accompanied by result images showing the implementation.
Hello guys, you know how to say how I make these lines as it is in the image
Thanks ![]()
I use Refresh Theme
https://492dea-24.myshopify.com/pages/landing-page-apr-25-23-07-50
pass- Humblee3030
Hi @Suco , Pls insert this code to your file css :
@media only screen and (max-width: 967px) {
.collection-list__item.grid__item:nth-child(2n) {
border-left: 1px solid black !important;
}
.collection-list__item.grid__item:nth-child(n + 3) {
border-top: 1px solid black !important;
}
}
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it asa solution. Thank you
![]()
Hi @Suco , Pls insert this code to your file css
@media only screen and (max-width: 967px) {
.collection-list__item.grid__item:nth-child(2n) {
border-left: 1px solid black !important;
}
.collection-list__item.grid__item:nth-child(n + 3) {
border-top: 1px solid black !important;
border-bottom: 1px solid black !important;
}
.collection-list {
transform: translateY(-40px) !important;
}
.grid:has(.card-wrapper) {
column-gap: 0 !important;
row-gap: 0 !important;
}
.page-width {
padding: 0 !important;
}
}
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it asa solution. Thank you
![]()
Hi , thanks so muck the lines is great but , can adjust the icon in header?
I think the code change alignment
Hi @Suco , Pls insert this code to your file css :
@media only screen and (max-width: 967px) {
sticky-header.header-wrapper {
padding: 0 10px !important;
}
}
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it asa solution. Thank you ![]()