Kindly let us know with costs.
Kindly let us know with costs.
in admin panel - > page settings add this code to header part..
<script>
$( ".ow_header" ).html("your img link here" );
</script>
Hi add this code to your custom tail section:
<script>
$('.ow_header').addClass('banner').removeClass('ow_header');
$(" .banner").html("<div>IMAGE REPLACE</div>" );
$(".banner").children('div').addClass("bannerInner");
</script>
<style type="text/css">
.banner{
margin-top: 50px;
width: 100%;
}
.bannerInner{
text-align: center;
}
</style>
<script>
$('.ow_header').addClass('banner').removeClass('ow_header');
$(" .banner").html("<div><a href=https://www.lycamobile.co.uk/<img src='https://swingdates.co.uk/...s/theme_image_42.png' alt='advertisement' /></a></div>" );
$(".banner").children('div').addClass("bannerInner");
</script>
This is what i have done. The image has completely vanished.
no like this
$(" .banner").html("<div><a href='https://www.lycamobile.co.uk' target='_blank'><img src='https://swingdates.co.uk/...s/theme_image_42.png' alt='advertisement' /></a></div>" );
if you want it to load on the same page and NOT a new page on click then remove the target='_blank'
Remember that if you are loading html in any way via php or js and you enclose that code in quotes then you need to either escape those quotes if you use the same or change to the other type of quote
Example:
php
1. escape example when you use all same type of quotes
echo "<a href=\"theurl\">whatever</a>";
2. changing quotes example double and single
echo "<a href='theurl'>whatever</a>";
3. changing quotes example single to double
echo '<a href="theurl">whatever</a>';
and it works the same if your loading it via js as well, you do this in order to tell the server and or browser what you want to do and with what info, it cannot read your mind :)