Title: SSL/HTTPS Is not supported
Last modified: February 26, 2018

---

# SSL/HTTPS Is not supported

 *  Resolved [winmonaye](https://wordpress.org/support/users/winmonaye/)
 * (@winmonaye)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/ssl-https-is-not-supported/)
 * Looks like the plugin is not severed over https. Or is it?

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

 *  Plugin Author [Daniele De Santis](https://wordpress.org/support/users/danieledesantis/)
 * (@danieledesantis)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/ssl-https-is-not-supported/#post-10014403)
 * Hello,
    SSL/HTTPS is supported, if you are having any issues could you please
   provide more information and the url of your website?
 * Thank you
 *  Thread Starter [winmonaye](https://wordpress.org/support/users/winmonaye/)
 * (@winmonaye)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/ssl-https-is-not-supported/#post-10014887)
 * Thank you for the quick reply.
 * I am seeing the following mix error on console.
 * `Mixed Content: The page at 'https://www.sample.com/for-dev/' was loaded over
   HTTPS, but requested an insecure stylesheet 'http://www.sample.com/?display_custom_css
   =css'. This request has been blocked; the content must be served over HTTPS.`
 * but when I checked the source code
 * `<link rel='stylesheet' id='wp-add-custom-css-css' href='https://www.sample.com/?
   display_custom_css=css' type='text/css' media='all' />`
 * So, I guess, something wrong with the console…
 *  [boucherguy](https://wordpress.org/support/users/boucherguy/)
 * (@boucherguy)
 * [8 years ago](https://wordpress.org/support/topic/ssl-https-is-not-supported/#post-10232298)
 * Hello,
    I had the same issues. My situation was similar. Although I have an SSL
   with a content delivery network CloudFlare. I dove into the php of the WP Add
   Custom CSS plugin. If you are able to do this, then this fix worked for me.
 * Open the file in the plugin folder called “wordpress-add-custom-css.php” this
   should be in the main folder.
 * Search for this function (It starts on line 290 and ends at 291)
 *     ```
       wp_register_style( 'wp-add-custom-css', $css_base_url . '?display_custom_css=css' );
       wp_enqueue_style( 'wp-add-custom-css' );
       ```
   
 * and then change the value “$css_base_url” to your full base URL like this
 *     ```
       wp_register_style( 'wp-add-custom-css', 'https://www.sample.com/' . '?display_custom_css=css' );
       wp_enqueue_style( 'wp-add-custom-css' );
       ```
   
 * This worked for me.
 * keep in mind if this plugin ever updates this code will be updated again. This
   worked for me April 30, 2018.

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

The topic ‘SSL/HTTPS Is not supported’ is closed to new replies.

 * ![](https://ps.w.org/wp-add-custom-css/assets/icon-256x256.png?rev=1001727)
 * [WP Add Custom CSS](https://wordpress.org/plugins/wp-add-custom-css/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-add-custom-css/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-add-custom-css/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-add-custom-css/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-add-custom-css/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-add-custom-css/reviews/)

## Tags

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

 * 3 replies
 * 3 participants
 * Last reply from: [boucherguy](https://wordpress.org/support/users/boucherguy/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/ssl-https-is-not-supported/#post-10232298)
 * Status: resolved