• Resolved rdxcsgoid

    (@rdxcsgoid)


    I have css file in my themes folder , I added like this.
    wp_enqueue_style( 'slider', get_template_directory_uri() . '/css/slider.css',false,'3.5','all');
    The problem is after making any changes to css file , it doesnt appear on site , you have to delete browser history to see css changes. I am using cache plugin too (WP-Fastest Cache) Deleting cache doesnt make any difference.
    How can i fix this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The best place to add custom CSS is through the theme options.

    Appearance> Theme Options> Advanced Settings is the recommended area to place your custom code.

    Thread Starter rdxcsgoid

    (@rdxcsgoid)

    Thanks but for that you have to install Virtue/Pinnacle Toolkit. I already have 25 plugins & i dont want more plugins. So i prefer using external stylesheet !!

    Hey,
    Every time you update the file you will want to change the version number.. the 3.5 in your code.

    Kadence Themes

    Thread Starter rdxcsgoid

    (@rdxcsgoid)

    Hey,
    I Already tried that !! changing version number , deleting cache !! nothing happens , i have to delete history to see changes!!

    Is it possible that your minifying your scripts? If so then you would need to turn that off while editing…

    In fact I would recommend turning off WP-Fastest Cache as well.

    Kadence Themes

    Thread Starter rdxcsgoid

    (@rdxcsgoid)

    Thanks for your help, That too didnt work so finally i put it in theme options.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘wp enque css delete cache’ is closed to new replies.