Title: Main CSS Does Not Apply When URL Goes To HTTPS
Last modified: November 2, 2016

---

# Main CSS Does Not Apply When URL Goes To HTTPS

 *  [doradoental](https://wordpress.org/support/users/doradoental/)
 * (@doradoental)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/main-css-does-not-apply-when-url-goes-to-https/)
 * Like the title says, the main CSS page does not apply any of its styles to pages
   where the url is forced to https, like the checkout page, account page, etc.
 * Site is [http://www.doradodentalsupply.com](http://www.doradodentalsupply.com)
 * I also have an issue where I get logged out a lot and some people in other forums
   have suggested that it could be an issue with the SSL cert, so this might be 
   an external problem.
 * Any advice would be greatly appreciated.

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

 *  Plugin Author [Daniele De Santis](https://wordpress.org/support/users/danieledesantis/)
 * (@danieledesantis)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/main-css-does-not-apply-when-url-goes-to-https/#post-8535417)
 * Hi, it probably depends on the SSL certificate, but if you provide a link to 
   your website I’ll have a look.
    Thanks
 *  [doradodental](https://wordpress.org/support/users/doradodental/)
 * (@doradodental)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/main-css-does-not-apply-when-url-goes-to-https/#post-8579431)
 * Hey Daniele,
 * The website can be found at [http://doradodentalsupply.com](http://doradodentalsupply.com)
 * But you can really see the effects of the CSS at the checkout page. Find a product,
   put it in your cart, and in the Cart page click “Proceed to Checkout”. There 
   the page will force HTTPS and the CSS will go a little bit crazy.
 * Please let me know if there is anything I can do. I will even accept workarounds
   in the short term just to have something presentable for our clients.
 *  [doradodental](https://wordpress.org/support/users/doradodental/)
 * (@doradodental)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/main-css-does-not-apply-when-url-goes-to-https/#post-8582135)
 * Hey Daniele,
 * I was able to work around the checkout page by adding all of the Main CSS code
   to the Checkout Page. This does not seem like a solution to me in the long term,
   but it helps for now.
 * Please investigate this problem nonetheless. If you want to see the problem first
   hand, you can PM me and we will set up a time for me to take the CSS off of the
   Checkout Page and you can see that no CSS applies at all when under HTTPS.
 * Please advise!
 *  Plugin Author [Daniele De Santis](https://wordpress.org/support/users/danieledesantis/)
 * (@danieledesantis)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/main-css-does-not-apply-when-url-goes-to-https/#post-8858366)
 * Hi,
    I think it may have to do with some specific server configurations, since
   I’m not able to replicate this issue and I’m using SSL aware functions to enquire
   the stylesheet.
 * I’ve just updated the plugin, adding some code which force https protocol.
 * Please let me know if that works for you.
 * Thanks,
    Daniele

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

The topic ‘Main CSS Does Not Apply When URL Goes To HTTPS’ 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/)
 * [main.css](https://wordpress.org/support/topic-tag/main-css/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * 4 replies
 * 3 participants
 * Last reply from: [Daniele De Santis](https://wordpress.org/support/users/danieledesantis/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/main-css-does-not-apply-when-url-goes-to-https/#post-8858366)
 * Status: not resolved