• Resolved meniscus1

    (@meniscus1)


    Hi! Thanks for this plugin. It’s the only one I’ve found that just… works. I also appreciate the seamless integration with the WP admin design, it looks like it’s part of WooCommerce and not a third party plugin. All plugin authors should follow your example.

    I was wondering where the spinner image was located/which class uses it? I’d like to change it for a more discreet spinner.

    Thanks a lot!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Oscar Gare

    (@oscargare)

    Hi! Thanks for your feedback. I really appreciate it so much ??

    The spinner is pure CSS. The plugin includes a “skeleton” and the default “dots.”

    Test the skeleton version by adding the following code snippet:

    add_filter(
    'wc_price_based_country_ajax_geolocation_placeholder_class',
    function( $class ) {
        return '-skeleton';
    }
    );

    Or you can use the same code snippet to use your custom CSS class.

    Thread Starter meniscus1

    (@meniscus1)

    Perfect! Thank you.

    hesaplar

    (@hesaplar)

    Would it be possible to change the size of place holders since it is causing a shift on my site? How can I make dots smaller in size?

    Thanks,

    Plugin Author Oscar Gare

    (@oscargare)

    Hi,
    Could you share a link so I can review the problem and give you a proper solution?

    hesaplar

    (@hesaplar)

    Hi Oscar, here is the link.

    https://www.teashop.com.tr/menu/

    Plugin Author Oscar Gare

    (@oscargare)

    Hi,

    Use the font-size property:

    .wcpbc-price.loading {
        font-size: 20px; // Set the value you need.
    }
    hesaplar

    (@hesaplar)

    Thanks Oscar, it works great!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Change the loading spinner’ is closed to new replies.