Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Yahoo mail prepending classes with random text.

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #248889
    JimMe
    Participant

    As yahoo mail has dropped support for inline “display:none”, I tried to hide elements by applying class “hide” in them.
    CSS declared for .hide is
    .hide {display:none;}

    but when I checked the email in yahoo-mail all the elements were visible there. On inspecting the elements are showing class=”yiv2453764811m_-6943263357140139197hide” .

    Guide me how I can hide elements in yahoo emails.

    #248890
    Paulie_D
    Member
    [class$="hide"] {
        display:none;
    }
    

    An attribute selector for all classes ending with “hide”.

    #248896
    JimMe
    Participant

    Thanks for replying!
    I placed your code in <head> of my emailer but elements are still visible in email.
    On Inspecting with chrome web developer tool I found that there is no internal style which I applied for it.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Other’ is closed to new topics and replies.