How to add custom CSS for Content Views (free) version?

Sometimes, you want to add custom CSS for Content Views output.
With Pro version, there is a Custom CSS field in Content Views >> Settings page where you can add custom CSS easily.

With Free version, you can use one of below ways to add custom CSS:

  • add custom CSS to Appearance > Customize > Additional CSS, if your theme has Customize feature
  • create and activate child theme, then add custom CSS to file style.css of your child theme
  • install another plugin to add custom CSS
  • add this code to file functions.php of your active theme:
    // Content Views - add custom CSS
    add_action( 'wp_head', 'cv_theme_custom_style' );
    function cv_theme_custom_style() {
    	?>
    	<style>
    	// ADD YOUR CUSTOM CSS HERE
    	</style>
    	<?php
    }
    

Best regards,

Scroll to Top