1

I'm tryng to change a string of text inside a span class without name, of a wordpress theme of wich i shouldn't change any html/php.

    .text-wrap.car_type span {
      display: none !important;
    }
    .text-wrap.car_type:after {
      content: 'whatever it is you want to add';
    }
    <div class="text-wrap car_type">
        <span class="">Car type</span>Catamaran
    </div>

Css code just afecting the text (Catamaran) inside the div and not the string (car type) inside of span as i want. help please.

Hazel へいぜる
  • 2,751
  • 1
  • 12
  • 44

0 Answers0