Title: Issue with linking to css over https &#8211; mixed content
Last modified: November 26, 2018

---

# Issue with linking to css over https – mixed content

 *  [penn_star](https://wordpress.org/support/users/penn_star/)
 * (@penn_star)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/issue-with-linking-to-css-over-https-mixed-content/)
 * Hi,
 * The majority of our site is over http (at the moment) but there are a few that
   we need to display over https. We are getting an error on the page above:
 * The page at ‘xxx’ was loaded over HTTPS, but requested an insecure stylesheet‘
   xx/wp-content/plugins/search-filter/style.css?ver=1’. This request has been blocked;
   the content must be served over HTTPS.
 * How can I make this load over HTTPS?
 * Thanks,
 * Penny
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fissue-with-linking-to-css-over-https-mixed-content%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [yuetyeelo2855](https://wordpress.org/support/users/yuetyeelo2855/)
 * (@yuetyeelo2855)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/issue-with-linking-to-css-over-https-mixed-content/#post-11018595)
 * Hi [@designsandcode](https://wordpress.org/support/users/designsandcode/),
 * Please follow the codex of wordpress for fix https problem
 * [Doc](https://codex.wordpress.org/Determining_Plugin_and_Content_Directories)
 *  [Afterword](https://wordpress.org/support/users/ahateleybrowne/)
 * (@ahateleybrowne)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/issue-with-linking-to-css-over-https-mixed-content/#post-11062218)
 * [@penn_star](https://wordpress.org/support/users/penn_star/) how did you go? 
   It looks like your sites have been corrected. I’m having this problem too but
   I can’t seem to find the reason for it. The problem seems native to the search&
   filter plugin?
 *  [Afterword](https://wordpress.org/support/users/ahateleybrowne/)
 * (@ahateleybrowne)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/issue-with-linking-to-css-over-https-mixed-content/#post-11062393)
 * If anyone else needed to correct this particular issue, you can dequeue the responsible
   CSS (copy any CSS you need to your own stylesheets if necessary). Though it would
   be preferable to have this problem corrected in the plugin.
 * Add the following to your custom functions (or custom plugin):
 *     ```
       function remove_sf_styles(){
       	wp_dequeue_style( 'searchandfilter' );
       }
   
       add_action('wp_print_styles', 'remove_sf_styles', 20 );
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Issue with linking to css over https – mixed content’ is closed to new
replies.

 * ![](https://ps.w.org/search-filter/assets/icon-256x256.png?rev=3096093)
 * [Search & Filter](https://wordpress.org/plugins/search-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/search-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/search-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/search-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-filter/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)

 * 3 replies
 * 3 participants
 * Last reply from: [Afterword](https://wordpress.org/support/users/ahateleybrowne/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/issue-with-linking-to-css-over-https-mixed-content/#post-11062393)
 * Status: not a support question