enter HTML in head and body for all pages.posts
-
I have a tooltip I wish to activate on all pages and posts. It is a very little bit of code. a couple of styles, and a script. It works on a simple page created manually. I would like to add it to Word Press sites I have that are running Word Press 5.9.
I could use the standard twenty-twenty-two Theme, or any Block-ready Theme.<html> <head> <meta charset="utf-8"> <style type="text/css"> .tab { margin-left: 40px; } </style> <style> .rtTooltip { width: 800px; } .rtTooltipHeader { font-size: 36px; line-height: 36px; height: 36px; padding: 10px 20px; } .rtTooltipBody { font-size: 36px; } </style> </head> <body> <script> var refTagger = { settings: { bibleVersion: "KJV", customStyle : { heading: { backgroundColor : "#000000", color : "#ff0a0a", fontSize : "32px" }, body : { color : "#000000", fontSize : "32px" } } } }; (function(d, t) { var n=d.querySelector("[nonce]"); refTagger.settings.nonce = n && (n.nonce||n.getAttribute("nonce")); var g = d.createElement(t), s = d.getElementsByTagName(t)[0]; g.src = "https://api.reftagger.com/v2/RefTagger.js"; g.nonce = refTagger.settings.nonce; s.parentNode.insertBefore(g, s); }(document, "script")); </script> <p>Hover to see John 3:16</p> </body> </html>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘enter HTML in head and body for all pages.posts’ is closed to new replies.