• Resolved StanLight

    (@stanlight)


    Seems completely pointless 44 KB if you’re not using dashicons.

    Any suggestions on the code I need to insert in the theme/chld theme functions.php to stop this dashicons line appearing in the head?

    I’ve been hunting and hunting and can’t find anything ??

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Chad

    (@lynneandchad)

    This might help, but I wouldnt worry about it… 44KB isn’t a large amount of data.

    I’m also not sure how it will interplay with various plugins you may be using and/or the admin bar (if you’re displaying it) at the top of your page.

    Thread Starter StanLight

    (@stanlight)

    Thanks for your reply.

    >>44KB isn’t a large amount of data.
    I beg to differ. Especially when I take the time to optimise even 1 kb images.

    >>This might help,
    Thanks, I had found that page prior to starting this thread but it didn’t make sense. They lost me at the first line, “Try deregistering that stylesheet”

    There is some code provided on the page but it doesn’t seem like it is simply something you stick in functions.php…and it doesn’t work anyway, according to the poster himself

    (Besides, doesn’t the functions.php simply get overwritten when there’s an update, and is it not the standard advice to put changes in child themes?)

    Thread Starter StanLight

    (@stanlight)

    Ah, it looks like the functions.php gets overwritten on update only in the main theme folder and not the child theme folder.

    So the above solution works. Just posting this update for anyone else who comes across this thread.

    The code does remove the admin bar (which I don’t mind). But it does seem to make changes to some fonts displayed on the page. I’ll need to look into that a bit more.

    Thread Starter StanLight

    (@stanlight)

    now marked as resolved

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove dashicons.css from head’ is closed to new replies.