- This topic has 22 replies, 3 voices, and was last updated 6 years, 8 months ago by Tom.
-
AuthorPosts
-
July 30, 2017 at 1:56 pm #357229Javi
Done, but still the same result :s
I have tried all the combinations with all the above CSSs but I can’t see the cart style like the menu items style. I believe I am doing something wrong (I am an amateur).
Anyways, donation on its way!July 30, 2017 at 6:18 pm #357303TomLead DeveloperLead DeveloperThanks for the donation!
I’m still seeing the CSS in your Simple CSS area. It’s near the bottom, above your media queries.
July 31, 2017 at 11:17 am #357674JaviHi Tom, as always, you are right π I have just removed this code and now the cart style has the menu items style. That is what I want π
.mobile-bar-items.wc-mobile-cart-items { display: block; }
Thanks!
Anyways, now the cart icon does not disappear in the “mobile” resolution but in the “tablet” one.
Tablet:
Mobile:
July 31, 2017 at 10:43 pm #357882TomLead DeveloperLead DeveloperAre you adding code to display the mobile header at a wider width?
August 1, 2017 at 1:19 am #357937JaviYes, this one:
@media( max-width: 1060px ) { #site-navigation, #sticky-navigation { display: none !important; opacity: 0; } #mobile-header { display: block !important; opacity: 1; width: 100% !important; } .mobile-header-navigation.is_stuck { box-shadow:0 2px 2px -2px rgba(0, 0, 0, .2); } .mobile-header-logo .main-navigation.mobile-header-navigation .menu-toggle { display: inline-block; float: right; clear: none; width:auto; } #mobile-header .menu { display: none; } .site-header { display: none; } .mobile-header-navigation .mobile-header-logo { float: left; display: block; } .mobile-header-navigation .mobile-header-logo img { position: relative; vertical-align:middle; padding: 10px; display: block; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } .nav-float-left .mobile-header-navigation .mobile-header-logo, .rtl .mobile-header-navigation .mobile-header-logo { float: right; } .nav-float-left.mobile-header-logo .main-navigation.mobile-header-navigation .menu-toggle, .rtl.mobile-header-logo .main-navigation.mobile-header-navigation .menu-toggle { float: left; } .mobile-header-logo .mobile-header-navigation .mobile-bar-items { position: relative; float: right; } .rtl.mobile-header-logo .mobile-header-navigation .mobile-bar-items { float: left; } body:not(.mobile-header-logo) .mobile-header-navigation .mobile-bar-items { position: absolute; right: 0; top: 0; } body:not(.mobile-header-logo).rtl .mobile-header-navigation .mobile-bar-items { left: 0; right: auto; } } .mobile-header-navigation .main-nav ul li a, .mobile-header-navigation .menu-toggle, .mobile-header-navigation .mobile-bar-items a { line-height: 72px; } .mobile-header-navigation .mobile-header-logo img { height: 72px; }
August 1, 2017 at 9:45 am #358137TomLead DeveloperLead DeveloperAt the top, inside the media query, add this:
.mobile-bar-items.wc-mobile-cart-items { display: block; }
Right above where it says #site-navigation.
August 1, 2017 at 1:42 pm #358250JaviNow it is perfect π You are amazing! Thanks a lot to both of you! Congrats again for the theme and the support. All the best!
August 2, 2017 at 12:35 am #358445TomLead DeveloperLead DeveloperThank you! Glad we could help π
-
AuthorPosts
- You must be logged in to reply to this topic.