Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter greypacker

    (@greypacker)

    Hi Andrew,
    I did as you suggested, and still have the same issue.
    Clips of CSS and functions.php

    /*
    Theme Name: Twenty Seventeen Child Theme
    Theme URI: http://hyperlinkcode.com/blog/twenty-seventeen-child-theme/
    Description: A bare-bones child theme for use with WordPress Twenty Seventeen Theme. Pick matching colors quickly at html-color-names.com.
    Author: Edward Zivkovic
    Author URI: http://www.ezau.com/
    Template: twentyseventeen
    Version: 1.0.0
    */

    /* Add Custom CSS after this line */

    /* Demo Johnson Box code courtesy of: http://hyperlinkcode.com/blog/html-johnson-box/ */

    <?php
    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’)
    );
    }

    Could it be anything to do with WAMP?
    Best wishes
    Paul

    Thread Starter greypacker

    (@greypacker)

    Hi Andrew,
    Is there anything wrong with these?

    Thread Starter greypacker

    (@greypacker)

    Hi Andrew, Sorry if I’ve done something wrong about posting in CSS missing.
    here is my child CSS header and I have included, the functions php header too.

    /*
    Theme Name: Accelerate Child Theme
    Theme URI: http://themegrill.com/themes/accelerate/
    Description: Child Theme for Accelerate
    Author: ThemeGrill
    Author URI: http://themegrill.com
    Template: accelerate
    Version: 1.0
    */

    <?php
    /*
    * Child theme functions file
    *
    */
    function accelerate_child_enqueue_styles() {

    $parent_style = ‘accelerate_style’; //parent theme style handle ‘accelerate_style’

    //Enqueue parent and chid theme style.css
    wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style( ‘accelerate_child_style’,
    get_stylesheet_directory_uri() . ‘/style.css’,
    array( $parent_style ),
    wp_get_theme()->get(‘Version’)
    );
    }
    add_action( ‘wp_enqueue_scripts’, ‘accelerate_child_enqueue_styles’ );
    ?>

    Thank you
    Grey

    Hello,
    I’m having problems editing a child theme, within the editor. It keeps giving the “head-up”, even though it is a child theme, and correctly set up as such.
    I’m not techie, so could you please tell me, how to edit the wp-config file
    thanks.
    At the moment I’m running an older WP, which allows me to edit in the main editor.
    I do not want to use the Additional CSS

    Thread Starter greypacker

    (@greypacker)

    Hi Andrew,
    Running windows 7 pro 64bit
    Wampserver latest
    Theme accelerate by themegrill
    with the theme’s own child, they made it
    Activated the child, main theme is installed
    Go to Appearance-edit
    Get the “Heads-up” about using a child, not edit main theme, but it is a child theme.
    Cannot use editor, comes back cannot save.
    Interestingly enough, did a reinstall of everything BUT used WP4.6.8, and refused the update to 4.9, and can edit child .css.
    As an aside, The new idea of flagging CSS errors is good But useless, if you can’t edit them.
    Thanks for your time
    Grey

    Thread Starter greypacker

    (@greypacker)

    Hi Andrew,
    Thank you for your reply.
    In my post I said I had created a child theme, in fact I used the themes official child theme.
    As I also said, WP4.9 still refuses to allow me to edit it, advising me to create a child theme, which it is.
    Is this a bug in 4.9 or am I doing something wrong?
    I do not want to use the “Additional CSS”, I have been using HTML and CSS, for a good many years and feel comfortable in a proper editor.
    Thank you
    Grey

Viewing 6 replies - 1 through 6 (of 6 total)