Archived topic
Squares instead of icons after update of GP
10 replies · Started by Josef on July 21, 2020
Hi, I have squares instead of icons after updating GP.
No caching plugins are active.
Thanks for help.
Hi there,
Try switching to SVG icons:
https://docs.generatepress.com/article/svg-icons/
Let me know if this helps :)
Hi. I’ve tried.
Now it shows square+correct icon.
=0
That is strange.
Are you using a child theme or modified the parent theme in any ways?
I'm seeing this which should say generatepress by default:
https://www.screencast.com/t/IRvGS65i9
I am using child theme. Site was done 2 years ago and now I do some changes and plugin updates once in a while.
Today were all plugins updated after many months 6 or 9 maybe.
Is the issue solved if you activate the parent theme to test?
Good point.
I’ve switched to pure GP and it works.
So some bug in my theme appeared after update of new GP.
I’ll have a look into my theme.
Glad to hear :)
When I look in the code (where those redundant square icons come from), I see path to GP theme.
To "style.css.min".
See image:
and investigate more please on site https://www.ivb.cz/
I can "fix" this by adding:
.menu-toggle:before, .search-item a:before, .dropdown-menu-toggle:before, .cat-links:before, .tags-links:before, .comments-link:before, .nav-previous .prev:before, .nav-next .next:before, .generate-back-to-top:before {
content: none !important;
}
to my code. But that is not a nice way.
If the issue doesn't exist in the parent theme then it's definitely something going on with your child theme.
Can you try reinstalling a fresh child theme here to test?
https://docs.generatepress.com/article/using-child-theme/
I would assume it's fine as well.