SSL partial encryption problems

Permalink Browser Info Environment
Hello,

I was wondering if anyone had any experience with fully encrypting the Slate theme?

I recently installed an SSL certificate for my site (which is using the Slate theme) and Firefox says that my site is only partially encrypted. After viewing the page source, it shows:

<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Droid+Serif:400,400italic|Lato:400,700" />


I'm not sure if this is the issue (or one of the issues)?

I also looked at the Page Info under the "Media" tab and there a number of images showing at "http" and not "https".

Do you know how I can fix this? Do I need to make any edits to .css or .js files, etc?

Thank you so much for your help!!
-concreteart

Type: Discussion
Status: New
concreteart
View Replies:
c5mix replied on at Permalink Reply
c5mix
For that url in that link just change http to https and that should fix that (that's in the theme's header.php file located at packages/theme_slate/themes/slate/elements/header.php). Other issues are probably because of relative paths of images in the theme's CSS. See this thread for some fixes:
http://www.concrete5.org/community/forums/customizing_c5/css-urland...
concreteart replied on at Permalink Reply
concreteart
c5mix,

Thank you for responding! I made the change in the header.php. However, after reviewing the link you provided, I see I should not use the getStyleSheet() or getThemePath(), however I have no idea where I turn this off, or how to remove/turn this off so it not longer does it.

Any tips on where I should look and then how to turn these off would be great. Is it just in the header.php file itself?

Thank you!
-concreteart
c5mix replied on at Permalink Reply
c5mix
So in that same header.php file you just need to replace any instance of $this->getThemePath() or $this->getStyleSheet() with your actual URL to where the theme is (with https://) like this:
https://www.yourdomain.com/packages/theme_slate/themes/slate/
concreteart replied on at Permalink Reply
concreteart
c5mix,

Thanks for the information. Changing out the one line for the /main.css fixed the problem...now fully encrypted.

href="/packages/theme_slate/themes/slate/main.css"


However, now I need to figure out why my background banner image disappeared :)

EDIT: spoke too soon...looks like the "add this" add-on is causing a few pages to not be fully encrypted. I'll have to figure out how to fix that.

Thanks,
-concreteart
concreteart replied on at Permalink Reply
concreteart
Ok, I found that the AddThis URL is showing as:

http://s7.addthis.com/static/btn/sm-share-en.gif


Any idea what file I can find this in to edit (i.e., do I need to add some code for this add-on into one of the Slate files?)

Thank you for all of your help!

EDIT: I fixed this; not an issue anymore. Looks like site is fully encrypted now.
c5mix replied on at Permalink Reply
c5mix
Great! Let me know if you need anything else.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.