• Hello

    I have just done a new WP installation and created a child theme before I’ve done anything else, such as create pages, posts etc. However, when I activate the child theme the site has no formatting at all and, try as I might, I cannot get it to look as it does with the parent theme.

    I have tried deactivating all the plugins, but that doesn’t make any difference.

    The style.css file for the parent theme is in it’s own css folder within its theme folder, but I have referenced that in the child theme’s Import URL tag.

    Looking at the source code for the parent site, I notice that style.css has ?ver=3.8.1 referenced – see below. Would this stop the child theme being able to pick up the parent style file?

    <link rel=’stylesheet’ id=’main_css-css’ href=’http://www.hands-on-hr.com/wp-content/themes/aeron/css/style.css?ver=3.8.1&#8242; type=’text/css’ media=’all’ />

    I don’t have the child theme working at the moment, only the parent theme.

    This is what my child theme style.css says:-

    //*
    Theme Name: Aeron Child
    Theme URI: http://www.ab-themes.com
    Description: Aeron Child Theme
    Author: John Doe
    Author URI: http://www.ab-themes.com
    Template: aeron
    Version: 2.1.4
    */

    /* =Imports styles from the parent theme
    ————————————————————– */
    @import url(‘../aeron/css/style.css’);

    /* =Theme customization starts here
    ————————————————————– */

    Any help greatly appreciated.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Child theme – no formatting – been trying for hours!’ is closed to new replies.