Creating a child theme for Hirebee - Some styling gone
Dear Support team,
I am a Hirebee theme user and have experienced some loss in styling for some pages (but not all) when attempting to create a child theme from Hirebee original theme. To create the child theme, I followed instructions in the tutorial below:
https://docs.appthemes.com/tutorials...r-classipress/
Using FTP protocol, I performed the following as per tutorial:
1. In the themes folder (/
wp-content/themes/), I created a new folder named hirebee-child.
2. Inside the new child theme folder, I created two new files. style.css and functions.php
3. I added the following header to the child theme style.css
---
/*
Theme Name: My Hirebee Child Theme
Version: 1.0
Description: A child theme for Hirebee, freelance marketplace theme.
Author: Fabien Vignaud
Author URL:
http://www.accountingoutsourcing-eu.com
Template: hirebee
*/
---
4. I added the following code to functions.php
---
<?php
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
}
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
---
5. The child theme appears among my other themes, and when activated, some of the pages have the same styling as the original theme, but some other pages lost a big part of the original styling.
Could you please help? I will send you my details by e-mail,
Thank you and have a good day!
Fabien