marknhewitt

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Child Theme Primary Nav #66145
    marknhewitt
    Power User

    I think it may be to do with the website being in a subdomain, seems to work fine is on a normal domain 🙁

    If I download to version 1.2.4 the menu works fine again

    • This reply was modified 6 years ago by marknhewitt. Reason: additional info
    in reply to: Child Theme Primary Nav #66141
    marknhewitt
    Power User

    Child style.css

    /*
    Theme Name: Septera Child Theme
    Template: septera
    Version: 1.0.3.1
    */
    

    Child functions.php

    <?php 
    function my_theme_enqueue_styles() {
    
        $parent_style = 'parent-style';
    
        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 )
        );
    }
    add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
    

    Just in case you ask 🙂

Viewing 2 posts - 1 through 2 (of 2 total)