Shopify themes, liquid, logos, and UX
Hello, can someone please help me to put shadowing under the header?
url: https://errival.com/products/errival%E2%84%A2-mini-rubber-band-shotgun
Like this:
Solved! Go to the solution
This is an accepted solution.
Hello @Ryan1998 ,
Follow these steps:
1. Go to Online Store -> Theme -> Edit code
2. Open your base.css file and paste the following code at the bottom:
header.header {
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 4px 16px 0 rgba(0, 0, 0, 0.19);
}
Thanks
This is an accepted solution.
add this css on base.css file
-moz-box-shadow: 0 8px 6px -6px black;
box-shadow: 0 6px 14px -14px black;
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
This is an accepted solution.
Seems you break the css file that's why its not working.
try this edit theme.liquid search for </body> and just before of it add this code
<style>
header.header {
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 4px 16px 0 rgba(0, 0, 0, 0.19);
}
</style>
This is an accepted solution.
-moz-box-shadow: 0 8px 6px -6px black;
box-shadow: 0 6px 14px -14px black;
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
This is an accepted solution.
Hello @Ryan1998 ,
Follow these steps:
1. Go to Online Store -> Theme -> Edit code
2. Open your base.css file and paste the following code at the bottom:
header.header {
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 4px 16px 0 rgba(0, 0, 0, 0.19);
}
Thanks
Thanks for reply, doesn't seem to be working though
This is an accepted solution.
Seems you break the css file that's why its not working.
try this edit theme.liquid search for </body> and just before of it add this code
<style>
header.header {
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 4px 16px 0 rgba(0, 0, 0, 0.19);
}
</style>
yes👍
This is an accepted solution.
add this css on base.css file
-moz-box-shadow: 0 8px 6px -6px black;
box-shadow: 0 6px 14px -14px black;
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
Thanks for reply, doesn't seem to be working though🙁
i think its your mistak... where this css put in your store
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
This is an accepted solution.
-moz-box-shadow: 0 8px 6px -6px black;
box-shadow: 0 6px 14px -14px black;
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025