- This topic has 13 replies, 2 voices, and was last updated 7 years, 2 months ago by
richpags.
-
AuthorPosts
-
July 4, 2016 at 4:06 am #206393
richpags
Hey all,
I’ve added a SSL cert to my site and now wanting to display a site seal.
For the moment I’ve managed to put the seal at the bottom of the main page and checkout page, but would like it to be floating on the bottom right of all pages as shown in the site bellow.
Just wondering if its possible?Or if anyone has any suggestions on a nicer location, I’ll gladly take suggestions.
My site
https://reelmovieposters.com.au/Thanks all.
Richie
-
This topic was modified 7 years, 2 months ago by
richpags.
July 4, 2016 at 9:57 am #206468Tom
Lead DeveloperLead DeveloperHi Richie,
You’ll want to add the seal into the wp_footer hook in GP Hooks, and wrap it in a div like this:
<div style="position:fixed;bottom:0;right:0;"> Seal in here </div>
July 4, 2016 at 4:47 pm #206555richpags
Cheers for that Tom.
I attempted to put the seal code in, but didn’t seem to work.
Probably doing something wrong as I’m no code expert.
Currently have the bellow in wp_footer GP Hooks.
<script type=”text/javascript”> //<![CDATA[
var tlJsHost = ((window.location.protocol == “https:”) ? “https://secure.comodo.com/” : “http://www.trustlogo.com/”);
document.write(unescape(“%3Cscript src='” + tlJsHost + “trustlogo/javascript/trustlogo.js’ type=’text/javascript’%3E%3C/script%3E”));
//]]>
</script>
<script language=”JavaScript” type=”text/javascript”>
TrustLogo(“https://reelmovieposters.com.au/comodo_secure_seal_100x85_transp.png”, “CL1”, “none”);
</script>July 4, 2016 at 5:39 pm #206559richpags
Oh, I’ve put that code in between the area I mentioned.
Thanks
RichieJuly 4, 2016 at 10:03 pm #206575richpags
Ok I managed to get a little closer.
I can successfully display the link below to display as text, but can’t get the logo to display.
Positive SSLSurly its something silly I am missing here.
EDIT: i got the image to show by using the below code.
<div> <img src="site seal URL" alt="SSL Certificate" border="0" /></img> </div>
Now to make it display the SSL info when covering the mouse over it….
Thanks
Richie-
This reply was modified 7 years, 2 months ago by
richpags.
-
This reply was modified 7 years, 2 months ago by
Tom.
July 5, 2016 at 12:01 am #206601Tom
Lead DeveloperLead DeveloperHi there,
You should just have to place the scripts in your post above inside the div where I added “Seal in here” in this post: https://generatepress.com/forums/topic/floating-ssl-site-seal/#post-206468
Once that’s done it should work.
July 6, 2016 at 2:00 am #206915richpags
Cheers Tom,
In the GP hooks area, should I only be putting code in the wp_footer area?
Or is code needed in the others such as Before Header?
Thanks
RichieJuly 6, 2016 at 2:25 am #206918richpags
Ok I have seemed to have it sorted now.
Seems the SSL info appears at random though when moving the mouse over it.
Strange.Only put code in the wp_footer area.
Check it out a see how it goes.
reelmovieposters.com.au
Cheers Tom.
Richie
-
This reply was modified 7 years, 2 months ago by
richpags.
July 6, 2016 at 9:23 am #206994Tom
Lead DeveloperLead DeveloperLooks good! ๐
July 6, 2016 at 6:43 pm #207125richpags
Cheers Tom,
I might have a play with the code as it’s still random regarding the SSL info popping up when hovering over with the mouse.
Richie
July 7, 2016 at 12:17 am #207153Tom
Lead DeveloperLead DeveloperThat looks like an issue with the script they’ve provided.
July 7, 2016 at 12:27 am #207156richpags
Thanks Tom,
Any recommendations so the code config is similar to the seal in the bellow site?
Or should I just leave it as is?Really appreciate your help mate.
Thanks
RichieJuly 7, 2016 at 12:30 am #207159Tom
Lead DeveloperLead DeveloperYou’ll have to ask your SSL provider if they have any other options without the popup on hover – they should ๐
July 7, 2016 at 6:08 pm #207428richpags
Tom,
I don’t mind the pop up on hover so all good.
Thanks
Richie -
This topic was modified 7 years, 2 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.