• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Insecure references in CSS

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Insecure references in CSS

This topic is: not resolved

Tagged: https://, SSL

  • This topic has 3 replies, 2 voices, and was last updated 6 years ago by nicole2014.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 19, 2017 at 10:26 pm #203424
    nicole2014
    Member

    I just moved my site to https but it is still not secure.
    I am getting a message that the reason that it is not secure is because in a number of places the CSS is referring to an insecure URL. I am using the Prose theme and in the css the code seems correct but the output is to an insecure version and a minified version. It seems like the problem is because the minified version is using an old version of CSS. I can't work out why the CSS is minified. I have no minifying plugin and I didn't minify it. Assuming that is the problem, how do I get the theme to use the unminified version of the CSS or to refer to the secure URL?

    This is an example of the insecure URL

    Insecure URL: http://www.custom.creativecertificates.com/wp-content/themes/prose/images/rss.png
    Found in: https://www.custom.creativecertificates.com/wp-content/uploads/prose/minified.css?ver=1445679186

    In the CSS code the link to the image appears like this:

    #nav li.rss a {
    	background: url(images/rss.png) no-repeat left center;
    	margin: 0 0 0 10px;
    	padding: 3px 0 3px 16px;
    http://www.custom.creativecertificates.com
    March 20, 2017 at 7:01 am #203442
    Victor Font
    Moderator

    Prose generates its own minified css file at runtime. Try adding this to functions.php to stop the style sheet creating. I haven't tested it, so I'm not sure what the results will be.

    remove_action( 'admin_init', 'prose_do_create_stylesheets' );


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    March 20, 2017 at 9:16 am #203472
    nicole2014
    Member

    It worked. Thanks!

    March 20, 2017 at 9:25 am #203473
    nicole2014
    Member

    I got a message that it was secure so I thought all was working but suddenly I got this error. I don't know if it is a result of the code I inserted or coincidence.

    Warning: Cannot modify header information - headers already sent by (output started at /home/creative/public_html/custom/wp-content/uploads/prose/custom.php:91) in /home/creative/public_html/custom/wp-includes/pluggable.php on line 1179

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble