All things Shopify and commerce
Solved! Go to the solution
This is an accepted solution.
Hi @Zubair9
You can follow these step to achieve your result
Go to online store ->Edit code->index file
And past bellow code
body.template-index .main-content .videoBackground {
margin-top: -0;
}
@media screen and (max-width: 767px){
body.template-index .main-content .videoBackground {
margin-top: 0px !important;
}
}
Result :
This is an accepted solution.
Hi @Zubair9
Sorry, We can't get the notification for your reply, please Like and reply so that we can align with you
you can follow these step , Go to online store ->Edit code->theme.liquid file
And past code above the </head> tag
Hi @Zubair9 . Can you share your store URL?
mzubiii.myshopify.com
Password is zubair
This is an accepted solution.
Hi @Zubair9
You can follow these step to achieve your result
Go to online store ->Edit code->index file
And past bellow code
body.template-index .main-content .videoBackground {
margin-top: -0;
}
@media screen and (max-width: 767px){
body.template-index .main-content .videoBackground {
margin-top: 0px !important;
}
}
Result :
Please tell me the procedure in which file i have to add this code
Please sir reply me quickly and guide me where to insert this ...i have tried my own but all in vein
This is an accepted solution.
Hi @Zubair9
Sorry, We can't get the notification for your reply, please Like and reply so that we can align with you
you can follow these step , Go to online store ->Edit code->theme.liquid file
And past code above the </head> tag
Sir this is effective one for me i just added ! important next to margin-top: -0; ... working now
That's greet
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025