Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Nota
  • #322399
    lew-egr
    Member
    Post count: 15

    Hi, i’d like to change the color of the overlays used when AJAX updating items on the page, for instance updating items in the cart. It’s currently a light grey.

    I see there is a ‘Color – Fullscreen overlays’ option in the customiser but this appears to have no effect on these areas.

    Can you point out which CSS needs to be targetted?

    Many thanks

    #322404
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Could you clarify the overlay color you refer to? Not sure I am 100% following you on this.

    Thanks,
    David.

    #322421
    lew-egr
    Member
    Post count: 15
    This reply has been marked as private.
    #322424
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can you try to add the code below to the custom css option?

    .woocommerce .processing {
        background-color: transparent!important;
    }

    -Rui

    #322427
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    The slideout cart loading overlay uses this CSS, here you can change the RGBA color values and the color opacity:

    .shopping-bag .loading-overlay {
       background-color: rgba(0,0,0, 0.4)!important;
    }

    The actual cart page overlay is controlled via WooCommerce itself, this can be changed using:

    .woocommerce .blockUI.blockOverlay {
       background-color: rgba(0,0,0, 0.4)!important;
    }
    #322428
    lew-egr
    Member
    Post count: 15

    Hi, that has no effect.

    What controls this functionality – JqueryUI?

    Thanks

    #322430
    David Martin – Support
    Moderator
    Post count: 20834

    @lew-egr – can you test the CSS I supplied above? That works for me locally.

    #322432
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    The overlay is already with a different color to me. don’t forget to clear the browser cache.

    Where are you adding the custom css? It should be in this field.
    https://www.dropbox.com/s/prukpcb03amvl62/Screenshot%202017-04-26%2014.21.17.png?dl=0

    -Rui

    #322436
    lew-egr
    Member
    Post count: 15

    Sorry David, i only saw Rui’s reply.

    .woocommerce .blockUI.blockOverlay {
    background-color: rgba(0,0,0, 0.4)!important;
    }

    was the answer i was looking for!

    Both of you, thanks for your help!

    #322437
    David Martin – Support
    Moderator
    Post count: 20834

    Glad to help you out!

    Thanks,
    David

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register