Shopify themes, liquid, logos, and UX
Hi All,
How do I modify the Dawn website code to add padding for a Custom Liquid I've added (i.e. a HubSpot contact form). The Form is too left justified and want to add padding around it. Here's the page in question: https://thebrandaudit.ca/pages/contact
Thanks in advance for the help!
Christina
CEO & Founder - The Brand Audit
Solved! Go to the solution
This is an accepted solution.
Hi @TheBrandAudit,
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>
.hs-form-iframe {
padding-left: 50px !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 Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This is an accepted solution.
Hi @TheBrandAudit,
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>
.hs-form-iframe {
padding-left: 50px !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 Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This worked perfect - thank you SO much for the quick help - very much appreciated!
- Here is the solution for you @TheBrandAudit
- Please follow these steps:
- Then find the base.css or theme.css file.
- Then add the following code at the end of the file and press 'Save' to save it.
.hbspt-form {
display: flex !important;
justify-content: center !important;
}
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase
Post purchase upsell, downsell offers to improve sales and AOV
Salemate Post Purchase Upsell
Hi @TheBrandAudit ,
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:
Step2: Search for the file theme.liquid and add this script before the end of tag </head> or </body>:
.hbspt-form {
padding-left: 30px !important;
}
In this step, you can change value of padding-left as you want to fix position of form.
In my example, I choose 30px.
Step 3: Save and reload page
And the result will be ok in both mobile and desktop view:
#Mobile:
#Desktop
It's a pleasure to assist you.
Good luck! ^^
If they are helpful, please give us likes and mark as the solution.
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
We 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, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024