Hi, three questions for my website
- How do I remove the shaded box at the bottom of my mobile menu, and move up the Instagram Icon?
- How do I increase my newsletter container width, mobile only?
- How do I change my font color from blue to white?
A user seeks help with three customization issues on their Shopify Dawn theme store:
1. Mobile menu styling: Remove the shaded box at the bottom of the mobile menu and reposition the Instagram icon upward.
2. Newsletter container width: Increase the newsletter container width on mobile devices only.
3. Sale text color: Change the sale price font color from blue to white on collection pages (but not product pages).
Multiple solutions were provided:
DaisyVo offered CSS code for all three issues via Theme Settings > Custom CSS, with screenshot results showing the changes.
dmitry_5 provided alternative CSS snippets addressing all three requests through custom CSS.
MSirac suggested editing theme code files directly (component-list-social.css, component-menu-drawer.css, and base.css) rather than using custom CSS, noting this approach is healthier for theme customization.
theycallmemakka provided CSS to be added to theme.liquid file above the </head> tag.
The original poster responded positively to DaisyVo’s solution but requested clarification on issue #3: how to isolate the color change to collection pages only, excluding product pages. The discussion remains open pending this refinement.
Hi, three questions for my website
Hi @skymochi
To complete your requests, please follow these steps:
Question 1 will be done with this code
@media screen and (max-width: 768px){
.menu-drawer__utility-links {
background: transparent !important;
}
.menu-drawer__utility-links ul.list.list-social.list-unstyled {
position: unset !important;
justify-content: right !important;
}
.menu-drawer__localization.header-localization {
display: none !important;
}
}
Here is the result: https://prnt.sc/MoFKvmGO_vOF
Question 2 will be done with this code
@media screen and (max-width: 768px){
.footer-block__newsletter {
width: 100% !important;
}
}
Here is the result: https://prnt.sc/4qvaYwxam5pt
Question 3 will be done with this code
.price__container * {
color: white !important;
}
Here is the result: https://prnt.sc/ih-4guAZn3gM
Please paste all 3 codes into the same position I guide you above
I hope this helps
Best,
Daisy
Hello @skymochi
You can apply these changes to your theme’s custom CSS to resolve the issues mentioned above:
https://help.shopify.com/en/manual/online-store/themes/theme-structure/extend/add-css
@media only screen and (max-width: 767px) {
.menu-drawer .menu-drawer__utility-links {
display: none;
}
.footer .footer-block__newsletter {
width: 100%;
}
.product-grid-container .grid__item .card-information .price__sale span {
color: #fff;
}
}
Hi Skymochi,
For first error, you should go to edit code and find the component-list-social.css folder. Then, find this code and remove it:
@media only screen and (max-width: 749px) {
.list-social {
justify-content: center;
}
}
then find .list-social and change it as this:
.list-social {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
}
then you should find other css folder which named by component-menu-driver.css. And remove this code in it:
.menu-drawer .list-social {
justify-content: flex-start;
margin-left: -1.25rem;
}
For second, open base.css and find this code:
#NewsletterForm--sections--16565348171849__footer {
width: 100%;
max-width: 500px;
padding: 10px; /* remove this line*/
box-sizing: border-box;
}
remove padding line.
For last, I think you can check the costume part of theme coding is not a healthy solution.
Best,
Buy a coffee for me
Hi @skymochi ,
I have written custom CSS for this solution. Please follow below steps and let me know your feedback.
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code just above tag
If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
Makka
Hi Daisy, thank you!
For #3 — do you know how to isolate it so it only affects my collections page but not the product page as well?