Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #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.
    filz51

    #372466

    Hey 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!
    Elliott

    #374014

    Hi 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, filz51

    #374145

    Hi!

    Your site is asking me for a login.

    Best regards,
    Elliott

    #376016

    Hi 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%; }}

    #376468

    Hey!

    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,
    Elliott

    #377251

    Hi 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, Filz51

    #377560

    Hi!

    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,
    Elliott

    #377601

    Hi 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, Filz51

    #378372

    Hey!

    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,
    Elliott

    #379299

    Hi 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, Filz51

    #380150

    Hey!

    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,
    Elliott

    #398850

    Hi Elliot
    I don’t know what you mean with “enabling the ajax cart”. where can I do this?
    Regards, filz51

    #399153

    Hi!

    You can find it in Dashboard > WooCommerce > Settings > Products > Display.

    Regards,
    Elliott

    #403866

    Hi 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

    #404291

    Hi!

    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

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.