Viewing 15 posts - 16 through 30 (of 32 total)
  • #303698
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    But the code is within the child theme functions.php right?

    #303707
    Kibana
    Member
    Post count: 54

    Hi, yes it is within the child theme functions.php

    #303890
    David Martin – Support
    Moderator
    Post count: 20834

    So when you activate the child theme, you activate my code.

    I need a username with those FTP details.

    #303943
    Kibana
    Member
    Post count: 54
    This reply has been marked as private.
    #304463
    David Martin – Support
    Moderator
    Post count: 20834

    Please test now.

    I have added this CSS to your child theme:

    .woocommerce-cart.woocommerce .container {
        padding: 0;
    }

    And updated the PHP to:

    // Remove each style one by one
    add_filter( 'woocommerce_enqueue_styles', 'jk_dequeue_styles' );
    function jk_dequeue_styles( $enqueue_styles ) {
       if( is_checkout() || is_cart() ) {
          unset( $enqueue_styles['woocommerce-smallscreen'] );	// Remove the smallscreen optimisation
       }
       return $enqueue_styles;
    }
    #304475
    Kibana
    Member
    Post count: 54

    I’m having the feeling the issue is not completely clear. The white space on both the left and right side when viewing the website on mobile is seen throughout the complete website. Not only the cart. The cart issue as discussed before has been solved with your code.

    Did you view the website on mobile? Then you’ll see exactly what I mean. Or make the webbrowser on your PC/MAC smaller (as small as mobile view) to see the issue. Please look at my screenshots again. The white space on the left and right side is still there.

    Thanks.

    #304487
    David Martin – Support
    Moderator
    Post count: 20834

    hmm, it seems that bootstrap is forcing a CSS override.

    Please add this CSS and test again:

    @media (max-width: 767px) {
    body {
        padding-right: 0;
        padding-left: 0;
    }
    }
    #304522
    Kibana
    Member
    Post count: 54

    Awesome! Works like a charm. Thanks for your help David.

    #304523
    David Martin – Support
    Moderator
    Post count: 20834

    🙂 Glad we got there and this has helped you out.

    #315953
    Kibana
    Member
    Post count: 54

    Hi David,

    I’m still not completely happy with the way the cart page looks. The information shown on the cart page is too much to the sides without any white room for white space. Can you advise me on how to solve this?

    Attachments:
    You must be logged in to view attached files.
    #316101
    David Martin – Support
    Moderator
    Post count: 20834

    What theme version is this for?

    #316484
    Kibana
    Member
    Post count: 54

    I’m running 3.4.41

    #316750
    David Martin – Support
    Moderator
    Post count: 20834

    The supplied login details are not working, can you check those and update

    #316824
    Kibana
    Member
    Post count: 54
    This reply has been marked as private.
    #317001
    David Martin – Support
    Moderator
    Post count: 20834

    Please test now it should be fixed. You may need to clear your plugin/browser cache.

    Thanks.

Viewing 15 posts - 16 through 30 (of 32 total)

You must be logged in to reply to this topic.