Hey !
actually my header icon look like this :
but it’s not responsive actually it’s look like this in certain dimensions(around 876 x 1810 ) close to tablet ones:
how can i make this responsive ?
Thanks !!
Header icons render poorly at tablet-like dimensions (~876 × 1810), as shown in screenshots, with text/icons misaligned. The goal is to make the header area responsive.
Proposed fixes via Custom CSS:
Implementation: Shopify Admin > Online Store > Theme > Customize > Theme settings > Custom CSS, then paste the provided CSS rules.
Outcome: The author confirmed the CSS changes worked. A participant requested marking the reply as the accepted solution.
Notes: Images are central to illustrating the layout issue and the affected breakpoints. The solution relies on CSS media queries to toggle text visibility and adjust layout (width and flex) for .header__icon and related header elements.
Hey !
actually my header icon look like this :
but it’s not responsive actually it’s look like this in certain dimensions(around 876 x 1810 ) close to tablet ones:
how can i make this responsive ?
Thanks !!
Please add this code to Custom CSS in Online Store > Themes > Customize > Theme settings. This code will hide text and display only icons on small screen.
@media (max-width: 900px) {
.header__icon .small-hide { display: none !important; }
}
To complete your requests, please follow these steps:
@media screen and (min-width: 749px){
.header__icon {
width: unset !important;
}
.header__icons.header__icons--localization.header-localization details-modal.header__search details summary.header__icon {
display: flex !important;
}
}
I hope this helps
Best,
Daisy
hey ! thanks this work !
hey ! thanks ! is work !
If our reply was helpful, please consider giving it a Like or marking it as a Solution—it means a lot to us and keeps us motivated! ![]()