get_footer() lost its style
-
Hi everyone!
I am doing a child theme with some added funcionalities (REST API connection to a database) and to maintain the look&feel of my pages, I am using the same style as my parent theme (twentyseventeen). When I am adding some PHP pages to my child theme’s folder, I am adding the get_header() function, and it is working properly. But when I add the get_footer() function, which is the default one, with social media links and so on, the icons lost their style and there is text beside them. It looks like the CSS was not affecting or being overwritten by another one.
I really don’t know why the style is being properly applied to the header but not to the footer in the same page with no extra css files. I am doing the get_footer() call after the wrap div closure, maybe that could be the problem but I also tried to call the function before closing the main tag or between other divs and I got the same result:
</main><!-- #main --> </div><!-- #primary --> </div><!-- .wrap --> <?php get_footer() ?>
Any tip or clue will be welcomed. Thank you very much for your support and very much appreciated help.
Kind regards,
maije
- The topic ‘get_footer() lost its style’ is closed to new replies.