Why not insert the script using a custom block at the very top of the page? Who said that it won't work correctly if you don't place it in the <head>?
Especially when the question...
that was the first thing i tried, but thanks. i cannot see css file changes without clearing the css/js cache. for that reason i have been adding css snippets (<style> tags) into my...
I asked ChatGPT and the answer helped me to place a conversion tracking tag in the Head section of a specific page, like this:
code in template.php
function my_theme_preprocess_page...
Posted1 day 15 hours ago by Antony Milenkov (amilenkov) on:
Comments
I guess because the CSS code that manages this element is:
.block-hero-no-image {
background-blend-mode: luminosity;
background-color: #0074bd;
background-image: url("/core/themes/basis/images/texture.png");
background-position: center center;
background-repeat: repeat;
}
The background-blend-mode CSS3 property is not supported by Microsoft browsers:
https://www.w3schools.com/cssref/pr_background-blend-mode.asp
https://developer.mozilla.org/en-US/docs/Web/CSS/background-blend-mode
I would recommend to use another CSS technique for this block - for example CSS opacity or RGBA color.
Or may be simply color texture.png file.