Shopify themes, liquid, logos, and UX
Hi Shopify Experts,
I'd like to ask how can I put some space below with this format?
Solved! Go to the solution
This is an accepted solution.
hello @NateX
add span tag and add margin-top in your <h1> tag like this
<h1 style="line-height:20px;"><span style="margin-top:10px";> heading here </span></h1>
This is an accepted solution.
hello @NateX
update your code to the below code
<div class="one-six small--one-whole center" style="opacity: 1; margin-bottom: 50px; display: inline-block;">
<img style="padding-left:50px; width: 130px;" src="{{ 'tree-small.svg' | asset_url }}" />
<img style="padding-left:50px; width: 130px;"src="{{ 'tree-small.svg' | asset_url }}" />
<img style="padding-left:50px; width: 130px;" src="{{ 'tree-small.svg' | asset_url }}" />
<img style="padding-left:50px; width: 130px;" src="{{ 'tree-small.svg' | asset_url }}" />
<img style="padding-left:50px; width: 130px;" src="{{ 'tree-small.svg' | asset_url }}" />
<img style="padding-left:50px; width: 130px;" src="{{ 'tree-small.svg' | asset_url }}" />
</div>
add line hight in your <h1> tag lik this
<h1 style="line-height:20px;"> heading here </h1>
Thanks!
Thanks. It does work on desktop, can you also help me to align the trees on mobile version?
This is an accepted solution.
hello @NateX
add span tag and add margin-top in your <h1> tag like this
<h1 style="line-height:20px;"><span style="margin-top:10px";> heading here </span></h1>
Thanks, that did work, what about for these trees on mobile? Seems they are not centered - 3 trees
This is an accepted solution.
hello @NateX
update your code to the below code
<div class="one-six small--one-whole center" style="opacity: 1; margin-bottom: 50px; display: inline-block;">
<img style="padding-left:50px; width: 130px;" src="{{ 'tree-small.svg' | asset_url }}" />
<img style="padding-left:50px; width: 130px;"src="{{ 'tree-small.svg' | asset_url }}" />
<img style="padding-left:50px; width: 130px;" src="{{ 'tree-small.svg' | asset_url }}" />
<img style="padding-left:50px; width: 130px;" src="{{ 'tree-small.svg' | asset_url }}" />
<img style="padding-left:50px; width: 130px;" src="{{ 'tree-small.svg' | asset_url }}" />
<img style="padding-left:50px; width: 130px;" src="{{ 'tree-small.svg' | asset_url }}" />
</div>
Perfect! Yeah, that did work. Thanks a lot!!!
User | RANK |
---|---|
186 | |
168 | |
78 | |
56 | |
45 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023