-
AuthorPosts
-
December 24, 2014 at 11:19 am #372401
Hi
On my mobile menu, the shopping cart is visible all the time. I only want to display it, if an item from the shop is selectet for purchase. Ho can I do that?
Thanks and merry xmas.
filz51December 24, 2014 at 6:45 pm #372466Hey filz51!
That’s how it should behave by default. Are you sure you do not have any products in the cart? If there are products in your cart then it will display in the menu all the time.
Send us a link and we’ll take a look.
Cheers!
ElliottJanuary 2, 2015 at 9:16 am #374014Hi Elliot
The adress is https://magiclift.ch
I’m sure I don’t have any item in the cart.
Thanks for having a look.
regards, filz51January 2, 2015 at 7:02 pm #374145Hi!
Your site is asking me for a login.
Best regards,
ElliottJanuary 7, 2015 at 8:59 am #376016Hi Elliott
I moved to another hoster. The site is up again. Please take a look.
Also the social Bookmarks don’t appear anymore in the header on mobile devices. I used for this the following code in my custom.css:@media only screen and (max-width: 767px) {
/* Add your Mobile Style here */
.main_menu, #header_main_alternate {
left: -73;
display: block;
}
.responsive #header .social_bookmarks {
display: block!important;
}
.social_bookmarks li a {
font-size: 16px;
}}@media only screen and (max-width: 767px) {
/* Add your Mobile Style here */
.responsive.html_header_top #header_main .social_bookmarks {
top: -35%; }
#header_main { z-index: 10; }}@media only screen and (max-width: 480px) {
/* Add your Mobile Style here */
.responsive.html_header_top #header_main .social_bookmarks { top: -48%; right: 9%; }}January 7, 2015 at 9:35 pm #376468Hey!
I can’t tell because most of the scripts are being blocked on your site. Deactivate all plugins and then add this to your .htaccess file.
<IfModule mod_headers.c> Header add Access-Control-Allow-Origin "*" </IfModule>
And let us know when your done so we can take another look.
Regards,
ElliottJanuary 9, 2015 at 8:41 am #377251Hi Elliot I get an Internas Server Error when I put these lines into the .htaccess-file. Would it be a solution if I provide you the ftp-login and admin login for my site?
Thanks and kind regards, Filz51January 9, 2015 at 7:43 pm #377560Hi!
Ok all of the scripts are loading fine now but your site is very slow and it keeps crashing my browser. Deactivate all plugins and upload a fresh copy of Enfold from themeforest.
Try adding this to your custom CSS.
.responsive #top .cart_dropdown { right: -60px; }
Best regards,
ElliottJanuary 9, 2015 at 9:33 pm #377601Hi Elliot
I did how you told me. But the empty cart is still there and the social bookmarks do still not appear. I have the impression, that the site loaded faster before I uploaded the fresh theme copy. What else can I do?
Regards, Filz51January 12, 2015 at 5:12 pm #378372Hey!
Try moving it over a bit more.
.responsive #top .cart_dropdown { right: -160px; }
For your social bookmarks it’s probably your custom CSS which is hiding them.
@media only screen and (max-width: 767px) { /* Add your Mobile Style here */ .responsive.html_header_top #header_main .social_bookmarks { top: -35%; } #header_main { z-index: 10; }} @media only screen and (max-width: 480px) { /* Add your Mobile Style here */ .responsive.html_header_top #header_main .social_bookmarks { top: -48%; right: 9%; }}
I tried viewing your site again but now it’s saying it’s private so I still cannot check.
Regards,
ElliottJanuary 14, 2015 at 7:56 am #379299Hi Elliott
This moved away the shopping cart when it’s empty. But when you got a product in the cart, it should appear. How to solve this? The site is up again, so you can check.
Regards, Filz51January 15, 2015 at 5:29 pm #380150Hey!
I checked your site again but it looks like you removed the AJAX cart and set the add to cart button to link directly to your cart page. You have to enable the AJAX cart for that to work.
Regards,
ElliottFebruary 19, 2015 at 1:18 pm #398850Hi Elliot
I don’t know what you mean with “enabling the ajax cart”. where can I do this?
Regards, filz51February 19, 2015 at 6:54 pm #399153February 28, 2015 at 5:34 pm #403866Hi Elliott
I enabled it but still the shopping cart shows up even when empty. I installed a fresh enfold copy but no changes. What else do I have to do? I only want to display the shoping cart when it is not empty.
Cheers, filz51
March 2, 2015 at 6:12 am #404291Hi!
I checked the site and the cart_dropdown isn’t showing even when you add an item. Please replace the code with this:
@media only screen and (max-width: 767px) { .responsive #top .cart_dropdown { right: -160px; } .responsive #top .cart_dropdown.visible_cart { right: 7.5%px; } }
Also, the social icons are visible on mobile. Please remove browser cache then reload the page. Use this to adjust the position:
@media only screen and (max-width: 767px) { .responsive.html_header_top #header_main .social_bookmarks { top: 0; right: -60%; }}
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.