New Landing How can we help? Themeforest Theme Support Flexform inconsistent url references

Viewing 3 posts - 16 through 18 (of 18 total)
  • Posted in: Flexform
  • #197007
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    No, what you used is right. That is because the stylesheet main-css-css is still being loaded. If you view the source and search for style.css you will see the included CSS.

    I cannot help any further without a WP login at this point, can you please privately add one? Also you mentioned in your first post this file /wp-includes/script-loader.php – do not edit that, if you did please revert any changes.

    – David.

    #197027
    Bitedge
    Member
    Post count: 345
    This reply has been marked as private.
    #197099
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    I had to add a priority to the function. I have added this to your child theme functions.php file.

    function your_prefix_dequeue_theme_styles(){
         wp_dequeue_style( 'main-css' );
    }
    add_action( 'wp_enqueue_scripts', 'your_prefix_dequeue_theme_styles', 100 );

    – This will remove the duplicated stylesheet error.

    Thanks,
    David.

Viewing 3 posts - 16 through 18 (of 18 total)

You must be logged in to reply to this topic.