• Hi Andrea, I’m experiencing a strange behavior of the location pin, which is only visible, when you are logged in as administrator.

    I know this doesn’t sound very plausible, but this is the case on my page nevertheless.

    The background is visible, but not the locator icon. Disabling all css does not change this.

    Any ideas how this can be?

    Regards
    Carsten

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Andrea Tarantini

    (@dontdream)

    Hi Carsten,

    Sorry for the late reply!

    I found this code, try adding it to your bp-custom.php file:

    add_action ('wp_enqueue_scripts', 'load_dashicons');
    function load_dashicons ()
    {
    	wp_enqueue_style ('dashicons');
    }
    Thread Starter Carsten Lund

    (@carsten-lund)

    Hi Andrea, that’s perfectly fine!

    Thanks for the code, unfortunately it didn’t make any difference.

    This is really strange how user role can influence the visibility, but it does. The icon is there, but not visible.

    View post on imgur.com

    Best
    Carsten

    Plugin Author Andrea Tarantini

    (@dontdream)

    Hi Carsten,

    Can you confirm the dashicons.css file is included in the page?

    <link rel='stylesheet' id='dashicons-css' href='https://.../wp-includes/css/dashicons.css?ver=5.2.4' type='text/css' media='all' />

    Thread Starter Carsten Lund

    (@carsten-lund)

    Hi Andrea, I have no css folder under wp-includes?

    View post on imgur.com

    Regards
    Carsten

    Plugin Author Andrea Tarantini

    (@dontdream)

    Hi Carsten,

    It should be there, and if it’s missing, you may want to download a fresh copy of WordPress.

    Thread Starter Carsten Lund

    (@carsten-lund)

    Hi Andrea, sorry, it might help if I looked under C, yes of course the css folder was there ??

    Can you confirm the dashicons.css file is included in the page?

    <link rel=’stylesheet’ id=’dashicons-css’ href=’https://…/wp-includes/css/dashicons.css?ver=5.2.4&#8242; type=’text/css’ media=’all’ />

    Where should I find this code?

    Plugin Author Andrea Tarantini

    (@dontdream)

    Hi Carsten,

    No problem! You can see whether the dashicons.css file is included, using the browser command ‘View page source’.

    If you find the file is not included while logged-off, the add_action code I mentioned earlier should help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Visibility issue with the locator icon’ is closed to new replies.