BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › SSL and Boss / SL Theme
- This topic has 3 replies, 3 contibutors, and was last updated 8 years, 7 months ago by Michael.
Question
April 19, 2016 at 12:59 am #68875@mln83Hi guys,
I am noticing some parsing errors when my site is loading. More specific example:
was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/lato/v11/AcvTq8Q0lyKKNxRlL28Rn4X0hVgzZQUfRDuZrPvH3D8.woff2'. This request has been blocked; the content must be served over HTTPS.
Is it possible to load theme fonts over a secure connection (SSL)?
Best regards,
MichaelAnswers
April 19, 2016 at 1:17 am #68877@
AnonymousHi @mln83
We have added font family without protocol to adopt with http and https both
$link = '//fonts.googleapis.com/css?family=' . urlencode( $font_family ) . $font_weight . $subsets;
It might be possible any additional plugin is adding fonts.gstatic.com with http
For quick solution you are also use https://wordpress.org/support/plugin/wordpress-https It will force all insecure elements on https
Regards
Varun DubeyApril 20, 2016 at 10:37 am #69050@aaronmcnanyI’m running Boss with an SSL certificate and don’t currently have that problem. I’ve had some problems where the Activity Loop wants to display embedded content from outside HTTP sites (esp. iframes), but obviously browsers don’t want to display both secure and non-secure content. I’ve been able to ‘display-none’ the iframes, and it has taken care of the problem for now.
Fonts, specifically, I’ve had no problems with.
April 20, 2016 at 11:08 am #69051@mln83Hi @vapvarun, @aaronmcnany,
Thanks for the feedback.
I have investigated it a bit further and it seems to be a browser related issue since the errors only appear in Chrome. In Firefox / Safari there are no errors.
Best regards,
Michael
- You must be logged in to reply to this question.