• Add-ons
  • Blog
  • Resources
    • Documentation
    • FAQs
    • Code snippets
    • Use cases
    • Support
  • Account
    • My account
    • Checkout
    • Cart
  • English
  • French
  • Add-ons
  • Blog
  • Resources
    • Documentation
    • FAQs
    • Code snippets
    • Use cases
    • Support
  • Account
    • My account
    • Checkout
    • Cart
  • English
  • French
home/Knowledge Base/Code snippets/Disable CSS resets and allow integration of third party plugins

Disable CSS resets and allow integration of third party plugins

606 views 0 July 14, 2021

You might have noticed that integrating external plugins into the area will not work out of the box. This is also the case, for instance, if you try to upload some videos from the WP admin dashboard: the player will look broken.

This is because we are resetting CSS rules for each HTML tags to prevent your theme or some external plugins to affect the area. However, you might want to disable this if you want to integrate some external plugins into the area. However, this can generate graphic issues from your theme that should be fixed on your own (eg: the appearance of some components can maybe change, buttons for instance)

This code snippet will allow you to disable CSS resets:

add_filter('cuar/private-content/view/disable-css-resets', 'custom_cuar_disable_css_reset');
function custom_cuar_disable_css_reset() {
    return true;
}
Tags:custom styling

Was this helpful?

Yes  1 No
Related Articles
  • Custom admin notification’s recipients
  • Automatically add a user to a group
  • Changing the default page shown by the Customer Area
  • Changing the page shown after logout
  • Sidebars: how to disable them
  • Detect if you are on a page in the customer area
Knowledge base
  • Code snippets 25
  • Use cases 2
  • Community links 5
FAQ
  • About licences 7
  • Pre-sales questions 3
  • After-sales questions 1
  • Plugin usage 8
  • Technical questions 10
  • Payments 4
Documentations
  • Getting started
  • Using code snippets
  • The template system
  • Full documentation
Support
  • Pre-sales Enquiries
  • Main plugin support
  • Premium add-ons support
  • Feature Requests
  • Terms and conditions for sales
  • Refund policy
  • Privacy Policy
  • Legal notices
  • Copyright 2021 wp-customerarea.com. All Rights Reserved.