how to display cart icon in header on all devices
-
Hello, I changed (tried to) the storefront header to display side-by-side the hamburger menu – logo – cart icon, for all devices.
I got the hamburger menu to display on desktop by hiding the main menu and overriding the hamburger display:none as follows:@media only screen and (min-width: 768px) {
.primary-navigation {
display: none !important;
}
.handheld-navigation, .main-navigation.toggled .handheld-navigation, .main-navigation.toggled div.menu, .menu-toggle {
display: block !important;
}
}
However, no matter what I try, I cannot get the cart icon to display below 768px (breakpoint) I can get the actual cart contents and text span (amount and qty) to show with similar markup to the above with a float: right, but I don’t want those.
I disabled the footer mobile menu (which is where the cart icon would show up) and tried umpteen css tweaks, searched every file I could see for a clue but to no avail. Is it a code thing?
My site is “under construction” but I haven’t done much to the original in the demo linked. Thank you.The page I need help with: [log in to see the link]
- The topic ‘how to display cart icon in header on all devices’ is closed to new replies.