In the template of my website, through javascript in each page i am calling an image everytime that plays the role of the logo on its page.
I want this now to be text and not image anymore.
Any ideas?
Current javascript:
$(document).ready(function() {
// Hero main image
$(‘#hero-img’).attr(‘src’, ‘/pageassets/shops/engineroom/barsshopslogo.png’);
});
images are not known for accepting text. some changes in intent require a change in code. and since the TO didn’t know how to add text to an element–e.g. a paragraph–I was giving an example.
lol I meant I didn’t see anything with an id of hero-text.
If the DOM can’t be modified (and seeing that “col-md-12” stuff would make me hesitate and tread carefully) I think it should be possible to do a type of parentNode child swap out.