Shopify themes, liquid, logos, and UX
Hi! How can I reduce on www.10xfuel.com the spacing of these two column images?
thx!
Solved! Go to the solution
This is an accepted solution.
I see
Then try and do this,
In your theme go to "Edit Code" and search for theme.liquid, then right below the tag that says "<head>", paste the following code
<style>
li:first-child .multicolumn-card__image-wrapper.multicolumn-card__image-wrapper--half-width.multicolumn-card-spacing {
margin-right: 30px;
}
li:last-child .multicolumn-card__image-wrapper.multicolumn-card__image-wrapper--half-width.multicolumn-card-spacing {
margin-left: 30px;
}
li:first-child .multicolumn-card .multicolumn-card__info {
text-align: right;
margin-right: 30px;
transform: translateX(-17%)
}
li:last-child .multicolumn-card .multicolumn-card__info {
text-align: left;
margin-left: 30px;
transform: translateX(13%)
}
@media only screen and (max-width: 992px) {
li:first-child .multicolumn-card .multicolumn-card__info {
transform: translateX(-10%)
}
li:last-child .multicolumn-card .multicolumn-card__info {
transform: translateX(15%);
margin-left: 0;
}
}
</style>
Hey @10xfuel,
Please paste this into the Custom CSS
li:first-child .multicolumn-card__image-wrapper.multicolumn-card__image-wrapper--half-width.multicolumn-card-spacing {
margin-right: 30px;
}
li:last-child .multicolumn-card__image-wrapper.multicolumn-card__image-wrapper--half-width.multicolumn-card-spacing {
margin-left: 30px;
}
li:first-child .multicolumn-card .multicolumn-card__info {
text-align: right;
margin-right: 30px;
transform: translateX(-17%)
}
li:last-child .multicolumn-card .multicolumn-card__info {
text-align: left;
margin-left: 30px;
transform: translateX(13%)
}
@media only screen and (max-width: 992px) {
li:first-child .multicolumn-card .multicolumn-card__info {
transform: translateX(-10%)
}
li:last-child .multicolumn-card .multicolumn-card__info {
transform: translateX(15%);
margin-left: 0;
}
}
thx - where exactly in the Custom CSS?
Hey @10xfuel,
On your sidebar Just paste the whole thing.
thx! It's too long for this field:
This is an accepted solution.
I see
Then try and do this,
In your theme go to "Edit Code" and search for theme.liquid, then right below the tag that says "<head>", paste the following code
<style>
li:first-child .multicolumn-card__image-wrapper.multicolumn-card__image-wrapper--half-width.multicolumn-card-spacing {
margin-right: 30px;
}
li:last-child .multicolumn-card__image-wrapper.multicolumn-card__image-wrapper--half-width.multicolumn-card-spacing {
margin-left: 30px;
}
li:first-child .multicolumn-card .multicolumn-card__info {
text-align: right;
margin-right: 30px;
transform: translateX(-17%)
}
li:last-child .multicolumn-card .multicolumn-card__info {
text-align: left;
margin-left: 30px;
transform: translateX(13%)
}
@media only screen and (max-width: 992px) {
li:first-child .multicolumn-card .multicolumn-card__info {
transform: translateX(-10%)
}
li:last-child .multicolumn-card .multicolumn-card__info {
transform: translateX(15%);
margin-left: 0;
}
}
</style>
By 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, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024