Shopify themes, liquid, logos, and UX
Hello,
I want my collection on my home page to look like this, can you help me? With this shape, size, and the collection text on the right bottom. I send you the picture of the result I want.
I use theme dawn: my website is womber.fr and the password is PROPAGANDAAA
Thanks!
Cordially,
Solved! Go to the solution
This is an accepted solution.
Hi @PAUL8
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
<style>
@media screen and (max-width: 749px) {
.section-collection-list .collection-list:not(.slider) {
padding-left: 0;
padding-right: 0;
}
.collection-list-wrapper.page-width.isolate.no-heading.no-mobile-link.section-template--22415287386377__collection_list_KzNFVH-padding {
padding: 0 !important;
}
.section-template--22415287386377__collection_list_KzNFVH-padding .card--standard .card__inner,
.section-template--22415287386377__collection_list_KzNFVH-padding .card .card__inner .card__media {
border-radius: 0 !important;
background: transparent;
}
.section-template--22415287386377__collection_list_KzNFVH-padding .card__content {
position: absolute;
bottom: 10px;
right: 0%;
}
.section-template--22415287386377__collection_list_KzNFVH-padding h3.card__heading {
color: #fff;
}
.section-collection-list .collection-list:not(.slider) {
gap: 0;
}
.section-template--22415287386377__collection_list_KzNFVH-padding .card__information {
text-align: right;
}
}
</style>
And Save.
result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
yeah sure. Add this one.
.section-template--22415287386377__collection_list_KzNFVH-padding .card__content {
position: absolute;
bottom: 0;
}
.section-template--22415287386377__collection_list_KzNFVH-padding .card__information {
text-align: right;
padding-right: 10px;
}
.section-template--22415287386377__collection_list_KzNFVH-padding h3.card__heading {
color: #fff;
}
.section-template--22415287386377__collection_list_KzNFVH-padding a.full-unstyled-link {
padding-right: 10px;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Replace this code.
To this one.
@media screen and (min-width: 990px) {
.grid--2-col-desktop .grid__item {
width: calc(30% - (var(--grid-desktop-horizontal-spacing) / 3));
max-width: calc(33% - (var(--grid-desktop-horizontal-spacing) / 3));
}
}
.card__content {
position: absolute;
bottom: 0;
}
.card__information {
text-align: right;
padding-right: 10px;
}
h3.card__heading {
color: #fff;
}
a.full-unstyled-link {
padding-right: 10px;
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Hi @PAUL8
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
<style>
@media screen and (max-width: 749px) {
.section-collection-list .collection-list:not(.slider) {
padding-left: 0;
padding-right: 0;
}
.collection-list-wrapper.page-width.isolate.no-heading.no-mobile-link.section-template--22415287386377__collection_list_KzNFVH-padding {
padding: 0 !important;
}
.section-template--22415287386377__collection_list_KzNFVH-padding .card--standard .card__inner,
.section-template--22415287386377__collection_list_KzNFVH-padding .card .card__inner .card__media {
border-radius: 0 !important;
background: transparent;
}
.section-template--22415287386377__collection_list_KzNFVH-padding .card__content {
position: absolute;
bottom: 10px;
right: 0%;
}
.section-template--22415287386377__collection_list_KzNFVH-padding h3.card__heading {
color: #fff;
}
.section-collection-list .collection-list:not(.slider) {
gap: 0;
}
.section-template--22415287386377__collection_list_KzNFVH-padding .card__information {
text-align: right;
}
}
</style>
And Save.
result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thanks! And can you help me to have the collection name on the bottom right on the desktop version?
This is an accepted solution.
yeah sure. Add this one.
.section-template--22415287386377__collection_list_KzNFVH-padding .card__content {
position: absolute;
bottom: 0;
}
.section-template--22415287386377__collection_list_KzNFVH-padding .card__information {
text-align: right;
padding-right: 10px;
}
.section-template--22415287386377__collection_list_KzNFVH-padding h3.card__heading {
color: #fff;
}
.section-template--22415287386377__collection_list_KzNFVH-padding a.full-unstyled-link {
padding-right: 10px;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hello,
Your solution was very great, can you help me to do the same on this page of my website?
thanks!
Oh, I only add this one on the homepage collection.
Replace the code above.
With this one.
@media screen and (min-width: 990px) {
.grid--2-col-desktop .grid__item {
width: calc(30% - (var(--grid-desktop-horizontal-spacing) / 3));
max-width: calc(33% - (var(--grid-desktop-horizontal-spacing) / 3));
}
}
.card__content {
position: absolute;
bottom: 0;
}
.card__information {
text-align: right;
padding-right: 10px;
}
h3.card__heading {
color: #fff;
}
a.full-unstyled-link {
padding-right: 10px;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
What do I have to delete and what do I have to replace?
This is an accepted solution.
Replace this code.
To this one.
@media screen and (min-width: 990px) {
.grid--2-col-desktop .grid__item {
width: calc(30% - (var(--grid-desktop-horizontal-spacing) / 3));
max-width: calc(33% - (var(--grid-desktop-horizontal-spacing) / 3));
}
}
.card__content {
position: absolute;
bottom: 0;
}
.card__information {
text-align: right;
padding-right: 10px;
}
h3.card__heading {
color: #fff;
}
a.full-unstyled-link {
padding-right: 10px;
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
And finally, can you edit the code? Because now I have products like this and I don't want them... I just wanted the collection like this
Did you already solved this one?
Yes thanks i
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024