Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter wpusercan

    (@wpusercan)

    You’re right it seems to have been a plugin. I used to use TinyMCE Advanced for styling. Once I disabled it, everything seems to work ok. Thanks.

    Thread Starter wpusercan

    (@wpusercan)

    It’s now working! Not sure why it wasn’t before.

    Thread Starter wpusercan

    (@wpusercan)

    I created the folder “twentyseventeen-child”. I added the style.css as:
    /*
    Theme Name: Twenty Seventeen Child
    Theme URI: https://www.ads-software.com/themes/twentytwentyone/
    Description: Twenty Seventeen child theme
    Author: www.ads-software.com
    Author URI: https://www.ads-software.com/
    Template: twentyseventeen
    Version: 1.0.0
    Text Domain: twentyseventeenchild
    */

    And then I created functions.php in the same folder with:


    <?php
    add_action( 'wp_enqueue_scripts', 'twentyseventeen_enqueue_styles' );

    function twentyseventeen_enqueue_styles() {
    wp_enqueue_style(
    'twentyseventeen-parent-style',
    get_parent_theme_file_uri( 'style.css' )
    );
    }
    ?>

    Thanks for you help. Even if the style sheet part didn’t work, I don’t now why the child theme is not picking up the page-blah.php templates from the parent’s folder. My WP installation resides in its own /index/ folder in my site root, if that matters.

    • This reply was modified 4 months, 1 week ago by wpusercan.
    Thread Starter wpusercan

    (@wpusercan)

    If you literally take the stock twenty seventeen theme and create a simple child theme for it as in the instructions (it supposedly only required those 2 files), hopefully you can validate what I’m seeing. If you say that the child theme looks like the parent theme on your end, then I’ll know something about my installation isn’t right, maybe a conflict with some plug in, I don’t know. It’s a very basic site for my portfolio.

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