Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I have added an external web app in shopify
I created a new page where I added this code :
<div style="width: 120%; height: 100vh; margin: 0 -10%; padding: 0; overflow: hidden;"> <iframe src="https://shredder-selector.vercel.app/" style="width: 100%; height: 100vh; border: none; margin: 0; padding: 0;"></iframe> </div>
I want it to take max width of page leave no blank spaces
Solved! Go to the solution
This is an accepted solution.
Hey @cbm
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>
.container.container--narrow {
max-width: 100% !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hey @cbm
Can you share the page link where you have added your iframe?
Best Regards,
Moeed
Here is the page link of shopify : https://store-airpurifiers.com/pages/test-selector
This is the test page
Here is the link of page that i want to open on iframe :
https://shredder-selector.vercel.app/
This is an accepted solution.
Hey @cbm
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>
.container.container--narrow {
max-width: 100% !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi Moeed Thanks alot it helped me solve my issue
Although now a new problem has encountered : https://store-airpurifiers.com/pages/test-selector
Now my iframe and webpage both are scrolling together which is making it difficult for user to use that external app , can you suggest some changes to it or if we can remove this particular footer then only iframe will be scrollable , what saY?