Hmathison84
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Esteem] Child theme issuesI was just going by Esteem’s function file which has:
wp_enqueue_style( 'esteem_style', get_stylesheet_uri() ); wp_enqueue_style( 'esteem-responsive', ESTEEM_CSS_URL . '/responsive.css' ); wp_enqueue_style( 'esteem-fontawesome', get_template_directory_uri().'/fontawesome/css/font-awesome.css', array(), '3.2.1' );They defined the constant themselves in function.php
define( 'ESTEEM_CSS_URL', ESTEEM_PARENT_URL . '/css' );Forum: Themes and Templates
In reply to: [Esteem] Child theme issuesI was able to edit things in the footer, but not in the header….
Forum: Themes and Templates
In reply to: [Esteem] Child theme issuesOh, and the above site isn’t the one I’m working on with Esteem. This is: http://www.cctomatoes.hmdesignnh.com/
Forum: Themes and Templates
In reply to: [Esteem] Child theme issuesI don’t think the header is the problem:
/*
Theme Name: CC
Theme URI: http://hmdesignnh.com
Description: CC Theme 2.0
Author: HM Design
Author URI: http://hmdesignnh.com
Template: esteem
Version: 1.2.3
*/The css is showing on the page source, just none of the styles added to it edit the page at all. also having an array for “CC-style” loads the esteem style twice, which is confusing because i’m wording it the way the codex does.
Forum: Themes and Templates
In reply to: [Esteem] Child theme issuesWhoops, the code up there is from when I was tinkering around, here’s the actual code:
`
<?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘esteem_style’, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘esteem-responsive’, ESTEEM_CSS_URL . ‘/responsive.css’ );
wp_enqueue_style( ‘esteem-fontawesome’, get_template_directory_uri().’/fontawesome/css/font-awesome.css’, array(), ‘3.2.1’ );
wp_enqueue_style( ‘esteem_admin_style’, ESTEEM_ADMIN_CSS_URL. ‘/admin.css’ );
wp_enqueue_style( ‘CC-style’, get_stylesheet_directory_uri() . ‘/style.css’, array( ‘esteem_style’ )
);
}
?>
`