• Resolved Kelly

    (@kwhpublishing)


    I’m trying to create a Child Theme for Magazine Basic, based on the instructions here… https://bavotasan.com/2011/creating-a-child-theme-in-wordpress/
    Obviously, I’ve substituted the word “Premium” with “Basic”.

    However, my website has no CSS and my theme says it is missing it’s parent theme etc.

    I have a folder called “magazine-basic-child” and a style.css containing…

    /*
    Theme Name: Magazine Basic – Child theme
    Theme URI: https://themes.bavotasan.com/2008/magazine-basic/
    Description: A basic child theme for Magazine Basic
    Author: c.bavota
    Author URI: https://themes.bavotasan.com/
    Template: magazine-basic
    Version: 1
    */

    @import url(“../magazine-basic/style.css”);

    I haven’t changed any folder names, this is a fresh install. I’ve never had a problem creating a child theme before, and I’m at a loss to what the problem is!

Viewing 2 replies - 1 through 2 (of 2 total)
  • It looks like you’ve done it right, but obviously there is something wrong.

    If you look at the folder structure on your site using your control panel’s file manager or FTP, is the parent theme in this folder:
    /wp-content/themes/magazine-basic

    The other thing to check is to make sure something didn’t prevent you from uploading the style.css for your child theme to the /wp-content/themes/magazine-basic-child folder, and that the permissions are correct for it. You might try accessing https://yourdomain.com/wp-content/themes/magazine-basic-child/style.css and verify that it contains your changes, specifically the correct name of the parent theme in the “Template” declaration.

    If your server is configured to create them, you should also check for error_log files in your theme folders and the root folder for your site. They may give you a hint as to the problem.

    You say it’s a fresh install, but if you have a caching plugin installed and activated that may be causing an issue too.

    If you post a link to the site, we can take a look.

    Thread Starter Kelly

    (@kwhpublishing)

    It was a caching plugin, I think. I ran another fresh installation and it was fine. Thank you for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Creating a Child Theme’ is closed to new replies.