Support » Plugin: WP Statistics » WP Statistics interfering with ACF

  • Resolved fashioncoree

    (@fashioncoree)


    Hi!

    When enabling WP Statistics the styling of the ACF backend breaks, look at the image I’ve included.
    If I disable WP Statistics, everything works fine.

    Issue

    Best Regards

    Edit: Image did not show up, here is the link : http://imgur.com/PaXaLtT

    • This topic was modified 2 years, 3 months ago by  fashioncoree.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Greg Ross

    (@gregross)

    What is ACF?

    What is broken based on the image?

    Hi again!

    Advanced Custom Fields, a very popular plugin when it comes to creating custom fields in WordPress.

    The dropdown(up)/popup breaks, I can only see half of the content inside the menu.
    If I disable Statistics, everythings fine.

    Best Regards

    Plugin Contributor Greg Ross

    (@gregross)

    Could you provide the config details your using for the field select in ACF?

    I’m using repeatable and flexible content, I think it’s only provided in the paid version of ACF.
    I asked the author to have a look and he asked me to check with the author of this plugin instead.

    Within flexible content I just need to set up a few test rows to recreate the issue.
    I will see if I can figure out why this is happening.

    Best Regards

    Edit: OK, I’ve narrowed it down to log.min.css, will keep looking.

    Edit2: It’s this code :
    .postbox {
    overflow: hidden
    }

    I’ve removed it for now, is it possible to specify this a bit more so that it only affects your plugin?

    • This reply was modified 2 years, 3 months ago by  fashioncoree.
    • This reply was modified 2 years, 3 months ago by  fashioncoree.
    Plugin Contributor Greg Ross

    (@gregross)

    Possible, I’ll take a look.

    Plugin Contributor Greg Ross

    (@gregross)

    Try replacing the .postbox selector with:

    
    #wp_statistics_editor_meta_box,
    #wp-statistics-browsers-widget,
    #wp-statistics-countries-widget,
    #wp-statistics-hitsmap-widget,
    #wp-statistics-hits-widget,
    #wp-statistics-pages-widget,
    #wp-statistics-recent-widget,
    #wp-statistics-referring-widget,
    #wp-statistics-search-widget,
    #wp-statistics-summary-widget,
    #wp-statistics-words-widget,
    #wp-statistics-top-visitors-widget,
    #wps_hits_postbox,
    #wps_top_visitors_postbox,
    #wps_search_postbox,
    #wps_words_postbox,
    #wps_recent_postbox,
    #wps_map_postbox,
    #wps_pages_postbox,
    #wps_summary_postbox,
    #wps_browsers_postbox,
    #wps_referring_postbox,
    #wps_countries_postbox
    {
    	overflow: hidden;
    }
    

    And see if everything looks right.

    Plugin Contributor Greg Ross

    (@gregross)

    Oh, you’ll have to delete the .min.css version of the css file and copy the modified, unminified version over it as well.

    yep, that works 🙂

    Thank you so much, Greg!

    Best Regards

    Plugin Contributor Greg Ross

    (@gregross)

    I’ve committed the fix and it will be in the next release.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WP Statistics interfering with ACF’ is closed to new replies.