lost icons
-
hi anders,
how do i get the original icons from Hitchcock onto my child theme?
Ive lost all of the social menu icons and the arrows in posts to navigate to the next post,
many thanks Conver93
-
Hi @conver93,
It sounds like an issue with the child theme enqueues overwriting the dependencies of the parent theme styles. Can you post the enqueue code you’re using now?
— Anders
Hello Anders,
I have the same issue with the arrows, but on this site, it’s the arrows on the bottom of the blog page, to see more tiles
Regards, Elisabeth.
-
This reply was modified 5 years, 11 months ago by
EigenWijsheid.
I copied the assets folder to my child theme, works fine now
Great, good this works for you. I don’t use a childtheme, so it won’t work for me. I’ll open a new topic.
Correct me if I wrong, but I think the folder location of the Font Awesome font and css has changed in some theme update.
I believe the fonts and CSS used to be under the folder /fa/ and are now under /assets/fonts/font-awesome/For example :
– OLD location for the CSS : /fa/css/font-awesome.css
– NEW location for the CSS : /assets/fonts/font-awesome/css/font-awesome.cssThis means that if you are using a Child Theme, the enqueue code needs to be adjusted to point to the correct folders.
Here is what I have in my CHILD’s functions.php file to make it work :
add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX); function enqueue_child_theme_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); wp_enqueue_style( 'hitchcock_fontawesome', get_template_directory_uri() . '/assets/fonts/font-awesome/css/font-awesome.css' ); }Correct me if I am wrong, but this does work for me! Hope it works for others too.
Christophe -
This reply was modified 5 years, 11 months ago by
The topic ‘lost icons’ is closed to new replies.
