Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,
    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.

    Thread Starter raincheck123

    (@raincheck123)

    Yes 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,
    Rancheck

    Thread Starter raincheck123

    (@raincheck123)

    Hi,
    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,
    Raincheck

    Thread Starter raincheck123

    (@raincheck123)

    Hi 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,
    Raincheck

    Thread Starter raincheck123

    (@raincheck123)

    Hi 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 tag

    Everything else is there but it’s still pointing to the parent stylesheet in code view, have I followed your instruction wrong perhaps.
    cheers,
    Raincheck

    Thread Starter raincheck123

    (@raincheck123)

    That’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?

    Thread Starter raincheck123

    (@raincheck123)

    sure it https://macrodynamics.biz
    thanks for the quick reply.

Viewing 7 replies - 1 through 7 (of 7 total)