• Resolved inisheer

    (@inisheer)


    I’m having an odd problem with something that has always been extremely simple in the past.
    I’m using twenty seventeen theme, and trying to add a child theme to it. I have taken the standard step of adding a twentyseventeen-child folder to “themes” and putting in a style.css and functions.css file. But none of the changes I make to style.css are showing up on the site.
    Style.css file is:

    /*
     Theme Name: Twenty Seventeen Child Theme
     Theme URI: https://yourwebsite.com
     Author: Your Name
     Author URI: https://yourwebsite.com
     Template: twentyseventeen
     Description: Child theme for Twenty Seventeen.
     Version: 0.1
     License: GNU General Public License v2 or later
     License URI: https://www.gnu.org/licenses/gpl-2.0.html
     Tags:
     Text Domain: twentyseventeen-child
     */

    functions.php file is:

     <?php
     add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
     function theme_enqueue_styles() {
     wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
     }

    Site is: devtester16.com
    you need to login to see. [redacted]
    Thanks – this has always been a really simple formality in the past but this time it doesn’t work.
    Bob

    Moderator note:

    Never off credentials

    https://codex.www.ads-software.com/Forum_Welcome#The_Bad_Stuff

    Now for the why: The internet is a wonderful place full of very nice people and a few very bad ones. I’m sure everyone here is very nice however, by giving some ones keys to your house you are trusting they wont steal anything. Likewise the person who takes the keys is now responsible for the house FOREVER.

    So, bottom line: Do not ask for or offer credentials on the forums.

Viewing 3 replies - 1 through 3 (of 3 total)
  • But none of the changes I make to style.css are showing up on the site.

    like what?

    right now, there are no additional styles in the file.

    what are you trying to change in the formatting?

    Thread Starter inisheer

    (@inisheer)

    Michael I tried a few different things. Sorry – I did take them out before posting question.

    I’ve thrown a few basic, random things back into the child style.css via the editor in dashboard, just to test. Not sure they’re written correctly, but none are having any effect:

    .site-description {
    display: none;
    }

    .page .panel-content .entry-title {
    color: #000066;
    }

    p {
    color: #000066;
    }
    .main-navigation a:hover {
    color: #d01818;
    }

    • This reply was modified 7 years, 10 months ago by inisheer.
    Thread Starter inisheer

    (@inisheer)

    Ah! You know something. It actually is working. Problem is just caching in my browser not showing changes right away. Sorry for the dumb question! Appreciate your effort to help.
    Bob

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Child Theme Not Working with twentyseventeen’ is closed to new replies.