I’ve finally figured out how to access the wp-content files of the site to make the child theme.
I’ve followed the instructions and created the folder in wp-content where the original theme directory is too.
My style.css doc is as follows:
/*
Theme Name: Jolene Child
Theme URI: https://gandmrecruitment.com/wp-content/themes/jolene
Description: Jolene Child Theme
Author: John Does
Author URI: https://gandmrecruitment.com/wp-content/themes/
Template: jolene
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: jolene-child
*/
#top-navigation,
.img-container {
margin-right: auto;
margin-left: auto;
}
.img-container {
max-width: 890px;
}
#top-navigation {
max-width: 810px;
}
Also following the instructions I made a functions.php file which is as follows:
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array(‘parent-style’)
);
}
After uploading the files I went to preview the child theme and it just looks pretty messed up, here’s a zoomed out screen shot https://imgur.com/mkNQQzT
Have I made a mistake in the .css or .php files?