badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

laura2

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Responsive Menu button #55309
    laura2
    Participant

    This is what I put in my child theme style.css, but it doesn’t seem to have worked.

    <?php
    function my_theme_enqueue_styles() {

    $parent_style = ‘attitude-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 ),
    wp_get_theme()->get(‘Version’)
    );
    }
    add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );
    ?>

Viewing 1 post (of 1 total)