• Hi

    Im trying to create a child theme in order to customize some css – I’m using the enqueue method but the style doesn’t update. Code is below.

    function bizstudiolite_scripts(){
    
    	wp_enqueue_style('bizstudio-lite', get_stylesheet_uri().'style.css');
    
    }
    
    add_action('wp_enqueue_scripts', 'bizstudiolite_scripts');
Viewing 1 replies (of 1 total)
  • Thread Starter brendanbostock

    (@brendanbostock)

    I think I’ve worked it out – I changed some code:

    <?php
    
    function bizstudiolite_scripts(){
    
    	wp_enqueue_style('bizstudio-lite', get_template_directory_uri().'/style.css');
    
    }
    
    add_action('wp_enqueue_scripts', 'bizstudiolite_scripts');
Viewing 1 replies (of 1 total)
  • The topic ‘Help with Setting Up Child Theme using Enqueue’ is closed to new replies.