Royal 1.6 Child theme CSS - by Erryn - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 9 years, 1 month ago ago by Eva Kemp

  • Avatar: needhamgroup
    Erryn
    Participant
    February 3, 2015 at 11:56

    I’ve noticed this one has already been mentioned, but I didn’t know this morning and i’ve just spent the last hour disabling an re-enabling all of a website’s plugins thinking there was an incompatibility… (ach well!)
    In truth the style.css has been disabled in the child theme so now only the custom.css in the parent theme file works.

    Evidently this means that any additional domains on the multi-site have to share the same design, (not practical or usable), so would appreciate a fix in you next release so that the standardised child theme css works again.

    On a slightly different note. I had to override the layered nav filter through the child theme so as it did not show lots of blank rows (where no products appear), have you guys any chance of implementing this (there’s nothing worse for a user experience than to land on a page with a few hundred unusable/un-selectable product filter options on the page).

    1 Answer
    Avatar: Eva
    Eva Kemp
    Support staff
    February 3, 2015 at 12:37

    Hello,

    style.css of child theme does work in Royal theme.
    Have you added the code below to function.php in your child theme and removed the “@import” line in the child theme style.css?

    <?php
    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    function theme_enqueue_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
    }

    Thank you.
    Regards,
    Eva Kemp.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.