Support » Plugin: Google Analytics Dashboard Widget by Analytify » Need CSS to Change Button & Selector Colors

  • Resolved jetxpert

    (@jetxpert)


    Hi there!

    It would be great if you can provide CSS codes for changing the colors of the buttons, selectors, and page numbers located inside your widget.

    Click here for details.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Asad Shahbaz

    (@artisticasad)

    Hi @jetxpert

    The current color scheme of the widget is non-changeable unless you add your own CSS code for it.

    I understand that not everyone likes the same color scheme so for that, you can include a CSS file with your own styles to modify the colors as you desire.

    Cheers! ✌

    @artisticasad,

    Thank you for your reply. So, can you help and provide the basic file folder, location, and CSS code? That was my original request.

    FYI, we attempted to add a CSS code to our theme’s options CSS code box, but your plugin did not respond to it. We used the !important factor as well, but still no response.

    Again, can you kindly provide a code? Most developers in the WP community provide it when requested.

    Again, thank you.

    Update:

    We managed to change the styling of your plugin by adding/changing CSS code contained in the following file:

    /wp-content/plugins/wp-analytify/assets/default/css/styles.css

    We realize the above is temporary and will change during next plugin update. However, hoping you will incorporate a feature into your Settings panel that will allow us to add custom CSS code to your file (like many other plugin developers do).

    Here’s an example of plugins (and screenshots) that allow you to do so:

    [links redacted]

    Thank you!

    Plugin Support Asad Shahbaz

    (@artisticasad)

    To save your custom style you can add the CSS in your theme. Following is the code that you can use in your theme’s functions.php file.

    function wp_analytify_my_custom_styles() {
    	wp_enqueue_style( 'wp_analytify_my_custom_styles', get_stylesheet_directory_uri() . '/YOUR CSS FILE PATH', array(), false );
    }
    add_action( 'admin_enqueue_scripts' , 'wp_analytify_my_custom_styles' );

    Replace the “YOUR CSS FILE PATH” with the actual path to your CSS file in the theme. You can add this file for the Analytify’s custom styling specifically.

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