Avada Forums Community Forum Custom CSS for images

Viewing 1 post (of 1 total)
  • Author
  • Ingo
    Post count: 4


    I assigned a CSS class “myclass” to an image element (Image > General > CSS Class) and then added a rule under Custom CSS.
    .myclass { ..... }

    Works perfectly for Avada Life but not on the live site. To fix that I had to add another line.

    .myclass img  { ..... }

    And vice versa, if I just add the following, Avada Life doesn’t show it.
    .myclass img { ..... }

    Source code structure looks always like so:
    <span class="myclass"><img></img></span>

    The image is located here: footer > container > column > image element

    Is this behavior normal? Feels strange to me.

    Thanks and regards

    • This topic was modified 1 month, 2 weeks ago by Ingo.
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.