Support

Q framework doubling stylesheet

Our Support Desk is where our clients and community come together to find solutions.

Answered
1
1

I am using Twenty-thirteen WP theme with custom child theme for my new project. I installed Q plugin to use some of the features the framework offers, everything seems working fine, BUT the style sheets are doubled and I am having problem with the layout of the different page templates. Could you recommend fixes?

  • Ray
    Thanks for your full and informative bug report - we've replicated this error and are now working to find and release a fix as quickly as possible!
  • You must to post comments
Best Answer
0
0

In your child functions.php add the following function and action hook:

// remove extra child stylesheet ##
add_action( 'wp_enqueue_scripts', 'q_child_remove_styles', 11 );

// remove extra parent stylesheets ##
function q_child_remove_styles() {

    // remove parent style - as Q loads this ##
    wp_dequeue_style( 'twentytwelve-style' );
    wp_deregister_style( 'twentytwelve-style' );

}
  • You must to post comments
1
0

Great fix, thank you for the help:) stylesheet loads fine now.

  • You must to post comments
0
0

Thank you. Please keep me up to date!

  • Ray
    I've posted an answer - P.S - please use comments to add extra info to questions - thanks!
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.

Why not Search Our Work or Get in Touch