How to include .css code in a WordPress page template?
How to include .css code in a WordPress page template?
How to include .css code in a WordPress page template?
WPBakery JS composer unused css [closed]
Help with child theme enqueuing additional css files
For anyone else who may stumble upon this post in the future… I used the same plugin, “Find and Replace” and searched for the following regex globally: “\?ver=\d\.\d(\.\d)?” and replaced with nothing. This had the desired effect and after a short while the site returned to normal.
Let’s assume you have a custom page with the name/title “Hello”. and add the following code to your themes functions.php or you can also create your own plugin. Code snippet: function my_custom_page_category_hide(){ $page_title = $wp_query->post->post_title; if($page_title==”Hello”){ echo ‘<style> .box-text-inner { display: none !important; } </style>’; } } add_action( ‘wp_head’, ‘my_custom_page_category_hide’ ); Just paste the above … Read more
Let’s assume you have a custom page with the name/title “Hello”. and add the following code to your themes functions.php or you can also create your own plugin. Code snippet: function my_custom_page_category_hide(){ $page_title = $wp_query->post->post_title; if($page_title==”Hello”){ echo ‘<style> .box-text-inner { display: none !important; } </style>’; } } add_action( ‘wp_head’, ‘my_custom_page_category_hide’ ); Just paste the above … Read more
I realized that I didn’t use the same label as what was indicated in the parent theme. E.g.: “background” instead of “background-color”. After using the same label, the changes took place. Problem solved!
Getting page output HTML without request (for CriticalCSS, PurgeCSS)
Ok, I fixed it. Apparently, I had to explicitly add mime type rules in the nginx config: include /etc/nginx/mime.types;
Add fields in customization tab to change background colours of certain classes