Shopify themes, liquid, logos, and UX
Hi there,
i am using dawn theme version 15.0.2. My store url is vulph.com. On mobile site slideshow image, the heading and button size is too big and cannot be positioned at the bottom. I need help to reduce the size of both heading and the button and position the both at very bottom as explained in the image below. thanks
Solved! Go to the solution
This is an accepted solution.
Hi @alihk ,
I have reviewed your requirement, you just need to edit css script and the issue will be resolved. You can follow my instructions!
Step 1: Go to Admin -> Online store -> Theme > Edit code:
Step 2: Search for the file base.css. And add this code snippet to the end of the file.
@media screen and (max-width: 768px) {
.banner__buttons .button {
min-height: 40px !important;
}
.slideshow__text.banner__box {
transform: translateY(10rem) !important;
}
}
Step 3: Save your code and reload this page.
=>> The result:
I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.
Have a nice day sir!
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now I Donate Us Here!
This is an accepted solution.
Hi @alihk
You can add the below code to Custom CSS part of the section from Editor (Customize)
@media screen and (max-width: 749px) {
.banner__text.rte {
margin-top: 4px;
}
.banner__box>*+.banner__buttons {
margin-top: 1rem;
}
}
If this information was helpful to you, please give it a Like. If it resolved your issue, kindly hit Like and mark it as the Solution! Thank you!
Hi @alihk,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
@media screen and (max-width: 749px) {
.banner__buttons .button {
min-height: 4rem !important;
}
.slideshow__text.banner__box {
transform: translateY(90px) !important;
}
}
</style>
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 as a solution. Thank you 😍
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕ .
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
This is an accepted solution.
Hi @alihk ,
I have reviewed your requirement, you just need to edit css script and the issue will be resolved. You can follow my instructions!
Step 1: Go to Admin -> Online store -> Theme > Edit code:
Step 2: Search for the file base.css. And add this code snippet to the end of the file.
@media screen and (max-width: 768px) {
.banner__buttons .button {
min-height: 40px !important;
}
.slideshow__text.banner__box {
transform: translateY(10rem) !important;
}
}
Step 3: Save your code and reload this page.
=>> The result:
I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.
Have a nice day sir!
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now I Donate Us Here!
this has worked up to some extent. is it possible to bring heading and sub-heading closer to the button and reduce the gap between heading, sub-heading and button as explained in the image.
This is an accepted solution.
Hi @alihk
You can add the below code to Custom CSS part of the section from Editor (Customize)
@media screen and (max-width: 749px) {
.banner__text.rte {
margin-top: 4px;
}
.banner__box>*+.banner__buttons {
margin-top: 1rem;
}
}
If this information was helpful to you, please give it a Like. If it resolved your issue, kindly hit Like and mark it as the Solution! Thank you!
this worked well. thanks😊
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