Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: CSS editing for my site

Discussion in 'Misc WordPress Requests' started by greypacker, Nov 24, 2017.

  1. greypacker

    Guest

    Reply To: CSS editing for my site, by greypacker

    Hi Andrew, Sorry if I’ve done something wrong about posting in CSS missing.
    here is my child CSS header and I have included, the functions php header too.

    /*
    Theme Name: Accelerate Child Theme
    Theme URI: http://themegrill.com/themes/accelerate/
    Description: Child Theme for Accelerate
    Author: ThemeGrill
    Author URI: http://themegrill.com
    Template: accelerate
    Version: 1.0
    */

    <?php
    /*
    * Child theme functions file
    *
    */
    function accelerate_child_enqueue_styles() {

    $parent_style = ‘accelerate_style’; //parent theme style handle ‘accelerate_style’

    //Enqueue parent and chid theme style.css
    wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style( ‘accelerate_child_style’,
    get_stylesheet_directory_uri() . ‘/style.css’,
    array( $parent_style ),
    wp_get_theme()->get(‘Version’)
    );
    }
    add_action( ‘wp_enqueue_scripts’, ‘accelerate_child_enqueue_styles’ );
    ?>

    Thank you
    Grey

    Reply To: CSS editing for my site
     
    #1

Share This Page

Web Hosting