Shopify themes, liquid, logos, and UX
I'm having trouble aligning all of the content of my email signup section to the left with CSS.
Can someone please assist?
Solved! Go to the solution
This is an accepted solution.
Hey @Jessicax,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
.newsletter__wrapper {
max-width: var(--page-width) !important;
margin: auto !important;
text-align: left !important;
padding-left: 5rem !important;
padding-right: 5rem !important;
}
.newsletter__subheading {
max-width: none !important;
}
.newsletter-form {
justify-content: flex-start !important;
max-width: none !important;
align-items: flex-start !important;
}
@media only screen and (max-width: 989px) {
.newsletter__wrapper {
padding-left: 1.5rem !important;
padding-right: 1.5rem !important;
}
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Hey @Jessicax,
Can you share the link to your store please? Thanks!
This is an accepted solution.
Hey @Jessicax,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
.newsletter__wrapper {
max-width: var(--page-width) !important;
margin: auto !important;
text-align: left !important;
padding-left: 5rem !important;
padding-right: 5rem !important;
}
.newsletter__subheading {
max-width: none !important;
}
.newsletter-form {
justify-content: flex-start !important;
max-width: none !important;
align-items: flex-start !important;
}
@media only screen and (max-width: 989px) {
.newsletter__wrapper {
padding-left: 1.5rem !important;
padding-right: 1.5rem !important;
}
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Hello,
Just ran across this solution and it works great - but it makes my background not full width.
For reference my store is bombsupply.com - what would I need to add or modify to make the background color full width but keep the text where it is?
Hello @Jessicax
Can you share store URL?
@Jessicax Please share your store URL to help you on this.
@JessicaxPlease follow below steps for aligning all of the content of my email signup section to the left in footer section.
.newsletter__wrapper {
text-align: left;
}
.newsletter__subheading {
margin-left: 0;
margin-right: 0;
}
.newsletter-form {
margin-left: 0;
margin-right: 0;
flex-direction: row;
justify-content: left;
}
4. Save.
Please provide your support by click "Like" and "Accepted" if our solution works for you. Thanks for your support.
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