My cart icon is slightly below my search icon in the header. Can I fix this? They are both custom icons.
Topic summary
A user is experiencing a vertical alignment issue where their custom cart icon sits slightly below the search icon in their website header.
Responses provided:
- Multiple developers requested the store URL to diagnose the problem
- The user shared their site: wintheory.com
Proposed solutions:
Two CSS fixes were offered:
-
Transform approach: Add
transform: translateY(-2px);to the#cart-icon-bubbleselector -
Flexbox approach: Apply
align-items: flex-start !important;to.header-localization:not(.menu-drawer__localization)
Both solutions should be added to either the custom CSS file or a custom code section in the theme settings. The issue remains open as the user hasn’t confirmed which solution worked.
Hi EhanOSHOP,
Please share your website Url so i make the changings
Hello There,
Please share your store URL and password.
So that I will check and let you know the exact solution here.
Hello @EthanOSHOP
can you share store URL?
the URL is wintheoryco.com
.header-localization:not(.menu-drawer__localization) {
align-items: flex-start !important;
}
try to paste this code in your css file or in custom code section.in theme setting
