Support » Plugin: Google Analytics Dashboard Widget by Analytify » Need CSS to Move Dropdown Button

  • Resolved jetxpert

    (@jetxpert)


    Hi there!

    It would be great if you can provide a CSS code to move up or down the dropdown button located inside your widget.

    Click here for details.

    Thank you!

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

    (@artisticasad)

    Hi @jetxpert

    Thank you for your suggestion. The team is already working on providing a better UI for the widget and you will find that in the upcoming updates of the plugin.

    Thank you,

    Thread Starter jetxpert

    (@jetxpert)

    Hi @artisticasad,

    That’s great news. Thank you. Until then, can you provide a CSS code or tell us what php or css file we can modify (temporarily) to add, for example, a “margin-top” CSS command to the file?

    Again, thank you.

    Thread Starter jetxpert

    (@jetxpert)

    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:

    Plugin: Admin Custom Login
    Screenshot: http://prntscr.com/tsql4s

    Plugin: WPFront Notification Bar
    Screenshot: http://prntscr.com/tsqm77

    Thank you!

    Plugin Support Asad Shahbaz

    (@artisticasad)

    Thank you for sharing the examples, we will look into them.

    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.

    Thread Starter jetxpert

    (@jetxpert)

    @artisticasad,

    Thank you so much. Unfortunately, it does not work. Plus, our theme’s css styles are scattered over many style.css files. Meaning, there isn’t one single style.css file we can refer to.

    We use the Avada Theme, so if you know the proper (main) CSS file path for this theme, please share.

    As an option — and as requested before — it would be awesome if you can incorporate a Custom CSS tab in the Settings section of your plugin for this purpose. Would be a lot faster, easier to change your plugin’s styling.

    By the way, your plugin is awesome. Keep up the great work!

    Again, thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Need CSS to Move Dropdown Button’ is closed to new replies.