raincheck123
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Fastest Cache] Firefox 32 breaks pluginHi,
I have the same problem Firefox 32.1 not loading some pages on second visit, only when I clear browser cache will it work but only once, I rolled back to Firefox old version before the update and it all works fine with the old version, only if I disable the plugin now will my site work properly but then I don’t have any page chache system at all, this will happen to others i’m sure, is there a fix?
My url is https://karlmonaghanphotography.com I have disabled the cache system for now so my customers can use the site.Forum: Themes and Templates
In reply to: [Mountain Creek] child stylesheet not overridingYes my functions.php is showing up in themes editor as it should, I tried putting the code directly in there rather than using fileZilla but still no joy and it just moves the sidebar down the template and inside the content area, emptying the cache and refreshing didn’t change anything and was still calling the parent stylesheet, my style.css in the child theme has no custom styling in it yet so nothing to bother it there, seems to work for you fine so the code is all good, i’m grateful for all your help on this.
cheers,
RancheckForum: Themes and Templates
In reply to: [Mountain Creek] child stylesheet not overridingHi,
yes it is functions.php and not function.php in my child theme folder and completely empty before putting the code in there with no spaces at the top so all that’s in there is your script from the top like this:
<?php
/**
* Mountain Creek child theme functions and definitions
*/function mountain_creek_child_styles() {
wp_register_style( 'main_style', get_stylesheet_directory_uri() . '/style.css');wp_enqueue_style( 'main_style');
}
add_action( 'wp_enqueue_scripts', 'mountain_creek_child_styles' );would this be right? and no closing tag.
cheers,
RaincheckForum: Themes and Templates
In reply to: [Mountain Creek] child stylesheet not overridingHi again,
Thank you for trying that, unfortunately that didn’t work this end, it just moved my sidebar to the bottom of the page and the parent stylsheet is still been referenced, so still at a loss really.cheers,
RaincheckForum: Themes and Templates
In reply to: [Mountain Creek] child stylesheet not overridingHi Andrew,
I have just tried that, I created a functions.php file in my child theme folder and popped your code in but now I get this at the top of my screen: <?php //Opening PHP tag function mountain_creek_child_add_css() { wp_enqueue_style( ‘main_style_overrides’, get_template_directory_uri() . ‘/style.css’, array(‘main_style’) ); } add_action( ‘wp_enqueue_scripts’, ‘mountain_creek_child_add_css’ ); ?> // Closing PHP tagEverything else is there but it’s still pointing to the parent stylesheet in code view, have I followed your instruction wrong perhaps.
cheers,
RaincheckForum: Themes and Templates
In reply to: [Mountain Creek] child stylesheet not overridingThat’s strange thing I have activated the child theme, the style.css in the child theme folder starts like this:
/*
Theme Name: Mountain Creek Child
Theme URI: https://macrodynamics.biz/mountain-creek-child/
Description: Mountain Creek Child Theme
Author: Angelo Monaghan
Author URI: https://macrodynamics.biz
Template: mountain-creek
Version: 1.0
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: mountain-creek-child
*/@import url(“../mountain-creek/style.css”);
/* =Theme customization starts here
————————————————————– */
I have activated it in the themes section in wordpress
however on the right hand side of the editor section in wordpress it says Mountain Creek Child (This child theme inherits templates from a parent theme, Mountain Creek) the only other files I have in the child theme folder are header.php and footer.php which I plan to customize later, do I need to change something in the header so it calls the child style sheet first?Forum: Themes and Templates
In reply to: [Mountain Creek] child stylesheet not overridingsure it https://macrodynamics.biz
thanks for the quick reply.