Tagged: BODY tag
-
AuthorPosts
-
February 12, 2020 at 1:30 pm #1183852
Hello,
For a chat application like intercom, I have to put code in the header before the </body> tag.. I tried putting it into my functions.php file of my child theme, (so no hassle with Enfold updates) but that gave an error.
Can you help me please? I put the code in private content so you can see what kind it is? I’d rather not use another plugin. :)
Sincerely,
Morticka- This topic was modified 4 years, 10 months ago by Morticka.
February 12, 2020 at 3:42 pm #1183921Hey Morticka,
Please refer to this post – https://kriesi.at/documentation/enfold/add-custom-js-or-php-script/#add-a-script-to-head-section :)
Best regards,
YigitFebruary 12, 2020 at 6:48 pm #1183972Hey Yigit,
Yes, it worked, thank you, you rock!!
I only have a problem that it’s right on top of the “go back to top” element (little square box with arrow in it that scrolls with the website) Is it possible to center the “back to top” element on the website?
UPDATE: I removed the code and put it on another website and now it does not work anymore. I reached out to the developer because I think the problem is at their end, so I’ll get back to you. (I can’t show you any screenshots right now.)
Sincerely,
BarbFebruary 12, 2020 at 10:17 pm #1184000Hi Barb,
Great! Alright, we will keep the thread open and wait to hear from you regarding other site :)
Please add following code to Quick CSS
#scroll-top-link { right: 50%; }
Best regards,
YigitFebruary 13, 2020 at 5:48 pm #1184233Hey Yigit,
YES, that’s exactely what I was looking for!
Everything works like a charm now, thank you so, so much Yigit, as always :D
EDIT: One last question, when I put the CSS in quick css it worked. But before that I put it in style.css of my childtheme and it did not work?
Sincerely,
Barb- This reply was modified 4 years, 10 months ago by Morticka. Reason: Have one last question
February 13, 2020 at 7:03 pm #1184243 -
AuthorPosts
- You must be logged in to reply to this topic.