• Resolved zer0blok

    (@zer0blok)


    Hi,

    I was trying to change the appearance of my child-theme by editing the functions.php file -the changes i was making didn’t work, so i deleted them and restored the functions.php file to its original state: the Site is not loading as it should anymore. To confirm, everything was working as it should before i touched the file.

    Does anyone have an idea of what’s gone wrong?

    Functions.php looks like this:

    <?php
    function my_theme_enqueue_styles() {
    
        $parent_style = 'scrawl';
        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 ),
            wp_get_theme()->get('Version')
        );
    }

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Theme Appearance is ‘broken’’ is closed to new replies.