mhebsgaardc
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How do I change the colors and layout of my header?I have tried copying your suggestion into the style.css of my child theme, but it doesn’t change anything. It is more or less what i tried doing too.
For some reason it seems like my style.css-file in my child theme has no effect. Could that be?
The child theme style.css-file contains this:/*
Theme Name: WPEX Elegant Child Theme
Theme URI: http://www.syqle.dk/
Description: WPEX Elegant Child Theme
Author: SYQLE
Author URI: http://www.syqle.dk/
Template: wpex-elegant
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, flexible-width, custom-background, threaded-comments, custom-menu, featured-images, full-width-template, theme-options, translation-ready
Text Domain: wpex-elegant-child-theme
*/and I have enqueued it in my functions.php-file:
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
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’) );
}Does anything seem wrong?