style.css and style.min.css child theme ISSUES!
-
Ok so thanks in advance for anyone who tries to help, ive made child themes before that work fine but this theme is making me bang my head against the wall.
So im making a child theme for my Oxygen theme.
The issue im running into is calling both the style.css and the style.min.css I think I have it right and when I edit the child theme nothing seems to change…
Should I be calling both style sheets for editing this theme?
What would the code look like for calling both style sheets using the functions.php
<?php add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX); function enqueue_child_theme_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_uri(), array('parent-style') ); }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘style.css and style.min.css child theme ISSUES!’ is closed to new replies.
