Shopify themes, liquid, logos, and UX
Morning!
Wondering if someone could show me where to change the code (or just normal settings) to center collection titles on mobile only. My website is roosterwilson.com if you want to take a look. The pw to enter is doodledoo.
Thanks!
Solved! Go to the solution
This is an accepted solution.
1) Go to online store
2) Edit Code
3) Open your base.css file
4) Paste the following code:
@media only screen and (max-width: 768px) {
.title-wrapper--no-top-margin {text-align: center !important;}
}
5) Save.
Let me know if it work by marking it as a solution.
This is an accepted solution.
1) Go to online store
2) Edit Code
3) Open your base.css file
4) Paste the following code:
@media only screen and (max-width: 768px) {
.title-wrapper--no-top-margin {text-align: center !important;}
}
5) Save.
Let me know if it work by marking it as a solution.
Worked perfectly. Thank you!
Also wondering if you could help me center the name of the product (on mobile) after you click on the product.
Yes sure,
Just add the following code at the end of your base.css file.
@media only screen and (max-width: 768px) {
.product__title {text-align: center !important;}
}
Thank you!
Try this
@media only screen and (max-width: 600px) {
.collection__title {
text-align: center!important;
}
}
Hi @ryanrooster ,
This is Anthony from Beae Landing Page Builder, and I’m happy to assist you today.
While I acknowledge that this issue falls short of the desired outcome, I have an idea that I believe might be of help:
1. Go to Online Store -> Theme -> Edit code
2. Open your theme.liquid file
3. Paste below code before </body>:
<style>
@media only screen and (max-width: 767px){
h2.title.inline-richtext.h2.scroll-trigger.animate--slide-in {
text-align: center;
}
}
</style>
Best regards,
Anthony
Hey @ryanrooster
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.collection-hero__title {
text-align-last: center;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi @ryanrooster
Try this one.
@media only screen and (max-width: 749px){
h2.title.inline-richtext.h2.scroll-trigger.animate--slide-in {
text-align: center;
}
}
User | RANK |
---|---|
183 | |
169 | |
77 | |
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