Hi,
I’m using some custom JQuery that swaps content depending on referrer. It works fine on older cornerstone layouts, but isn’t working on pages I built with newer versions of cornerstone. Any idea what could be going on?
Example of code:
jQuery('#BgImg').css('background-image', 'url(http://treehouserecovery.com/wp-content/uploads/2018/05/after-
addiction.jpg)');
This should swap the image above “Medication Philosophy.”
Also, swapping the header “About” isn’t working on this page. I am trying to use the following code:
document.getElementById("dynamicHead").textContent="newtext";
Thanks so much!
