Page Specific CSS and JS in wordpress
function hollycross_scripts() { wp_enqueue_style( 'clndrcss', get_template_directory_uri() . '/css/clndr.css', array(), _S_VERSION ); ...
Add browser Specific Class to HTML
function blankslate_footer_scripts() { ?> <script> jQuery(document).ready(function ($) { var deviceAgent = navigator.userAgent.toLowerCas...
Add CSS to Specific Page Only Wordpress
if( basename( get_page_template() ) == "page-newhome.php" ){ wp_enqueue_style( 'bootstrap', get_stylesheet_directory_uri().'/templates/...
Writing Custom Scroll Bar CSS
Ever thought of a custom scroll bar with same theme as site color simple easy elegant Simple and Flat ::-webkit-scrollbar { width: 10px;...
Writing Media Queries in CSS
@media screen and (max-width: 1920px) { } @media screen and (max-width: 1680px) { } @media screen and (max-width: 1600px) { } @media...
Forcefully Load Changed JS and CSS
There are instance when client are not able to see changes that we are able to see because they are cached on browser and only way to fix...