Shopify themes, liquid, logos, and UX
Hi everyone,
I asked a question yesterday about aligning the text for my "Collection Autumn" section to the left on my homepage.
I received a solid answer:
However, when I go to my contact page, the titles and subtitles there are also aligned to the left.
How can I fix this issue and keep the left alignment only on my homepage?
tranquilo.store
Thanks!
Solved! Go to the solution
This is an accepted solution.
Hey @Tranquilo
Replace your code with the code below and then it should be good.
{% if template == 'index' %}
<style> .section-title--wrapper { align-items: flex-start !important; } .section-title--wrapper .section-description { max-width: 100% !important; margin-left: 0 !important; } </style>
{% endif %}
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hey @Tranquilo
Replace your code with the code below and then it should be good.
{% if template == 'index' %}
<style> .section-title--wrapper { align-items: flex-start !important; } .section-title--wrapper .section-description { max-width: 100% !important; margin-left: 0 !important; } </style>
{% endif %}
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thanks king! 🙂
Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
Hello @Tranquilo
Go to online store ---------> themes --------------> actions ------> edit code------->assets-----> theme.min.css
add this code at the end of the file.
.section-title--wrapper {
align-items: center !important;
}
.section-title--wrapper .section-description {
max-width: 100% !important;
margin-left: auto;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
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