Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1109617

    Dear Kriesi,

    I am working with the booking tool Salonized. In order to add custom css to buttons and fonts, I need to add code before the </body> tag. I don’t get this to work though.

    I already tried to put the code before </head> in the header.php, and I also tried to put some code I found in another topic to the functions.php.

    Can you please help?

    See private content.

    Thanks in advance!

    Greetings,
    Nirvana

    #1109737

    Hey nirvanavanleeuwen,

    Please provide a link to the site/page in question so we can look into this issue further.

    Best regards,
    Jordan Shannon

    #1109808
    This reply has been marked as private.
    #1110046

    Hi Nirvana,

    You can add the following code to Functions.php file to add your script like this:

    
    function add_my_custom_script(){
    ?>
    <script>
    PASTE YOUR CODE HERE 
    </script>
    <?php
    }
    add_action('wp_footer', 'add_my_custom_script');
    

    Best regards,
    Victoria

    #1110664

    Hi Victoria,

    Thank you for your reply. I added your code to the functions.php, but still css doesn’t work.
    See private content for the code I used.

    #1110734

    Hi,
    I changed the code slightly so it will fire in the head instead of in the footer, but I noticed that you are getting some “Mixed Content” warnings because the links in the code are for http and not https, I tried just adding the “s” but then you get a 404
    Please ask the author if they have a https address.

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.