1
I have the code to follow, where my intent is that where in the class .breadcrumb a
appear the term "biblical", this class has its style changed only where the resolution is less than 320px, but so far it has not worked. What could be wrong, guys? Thanks in advance!
<script>
if ($(window).width() < 320) {$(".breadcrumb a:contains('bíblicas')").css("background-color", "green");}
</script>
Let’s debug, this of some return?:
$(".breadcrumb a:contains('bíblicas')")
– David Dias
@Daviddias, I used Hugo’s suggestion and it worked, man! Thanks for the kindness and the comment! God bless! =]
– winiercape