0
<span class="avia-menu-text"><img src="data:image/png;base64,etc..." title="ESP (es_ES)" alt="ESP"></span>

I have a base64 image in a Wordpress theme (a language flag) that is rectangular and I want to make it circular. I can't locate the origin of the base64 image so I can't modify the data. The parent has a class name, but the image does not.

In CSS I have tried

img<.avia-menu-text{ border-radius:100% }

Any suggestions - ideally using only CSS and definitely without JQuery?

grateful
  • 1,128
  • 13
  • 25

1 Answers1

1

You have inverse your selector.

try

.avia-menu-text img{
border-radius:50px;
}
Alexis
  • 5,681
  • 1
  • 27
  • 44