Shopify themes, liquid, logos, and UX
Hi, i recently upgraded to 8.1 prestige and I now have a white line between my announcement bar and header image
i tried pasting this code but it does not work:
.Header { box-shadow: none !important; }
please anyone ? thanks
Solved! Go to the solution
This is an accepted solution.
Hey @carlajickie , could you try adding the following into your theme.css file right at the bottom:
@media screen and (min-width: 700px)
#shopify-section-sections--20077799702876__header {
--header-padding-block: 1rem!important;
}
Alternatively, you can also look into your theme.liquid file for this: and adjust it from 1.2rem to 1rem. (the .2 is what is causing the space at the top). See screenshot below
Hello There,
Please share your store URL and Password.
So that I will check and let you know the exact solution here.
hi it's on pause right now but i took a larger screenshot it's the white line above the logo:
Hi @carlajickie
Could you drop your store link here to check?
- Helpful? Like and Accept a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
Hey @carlajickie
Could you please provide your Store URL and, if applicable, the Password too? Your cooperation is greatly appreciated!
Best Regards,
Moeed
Hey @carlajickie ,
Could you provide the store URL and password? I can check and give you some CSS to add. Most likely it is not a box shadow issue but probably a border bottom or a margin placed on the header. Let me know and I will send the CSS. Thanks again 🙂
This is an accepted solution.
Hey @carlajickie , could you try adding the following into your theme.css file right at the bottom:
@media screen and (min-width: 700px)
#shopify-section-sections--20077799702876__header {
--header-padding-block: 1rem!important;
}
Alternatively, you can also look into your theme.liquid file for this: and adjust it from 1.2rem to 1rem. (the .2 is what is causing the space at the top). See screenshot below
works thanks a lot !!
You are welcome, I'm happy to help! 😁
Let me know if you need help with anything else..also cool website & brand idea by the way!
Speak soon,
Alex
actually weirdly enough it stopped working ... 😕
Hey @carlajickie , it seems when you added the announcment bar, it changed the ID of the section so the CSS was no longer targeting the element as the selector changed.
@media screen and (min-width: 700px)
.customheader{
--header-padding-block: 1rem!important;
}
Alternatively, you could replace the previous CSS with this:
@media screen and (min-width: 700px)
.shopify-section.shopify-section-group-header-group.shopify-section--header{
--header-padding-block: 1rem!important;
}
I would recommend the first solution over this one though because this could affect other elements too. The first one with a custom class name makes sure that you are targeting this element (and only this element)
Let me know if that works for you @carlajickie 🙂
User | RANK |
---|---|
186 | |
168 | |
78 | |
56 | |
45 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023