Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1327623

    When updating older versions on customer installations, I realized something that may need mentioning.

    When I used svg on these early customer installations in the logo area, they were still placed using the img tag.
    Some of these installations also had transparent headers on some pages and thus the logo alternate active.
    But with inline svgs the inline placed classes are now in the DOM ! With the img tag I did not have to take these classes into account.
    Logo and Alternate Logo ( for the transparencies ) had within the svg unfortunately the usual classes st0, st1 etc. assigned (by illustrator) .
    Using alternate logo ( for transparency ) the inline classes of that logo are listed later in the DOM and will overwrites all class rules like st0, st1 etc that are before set ( normal logo f.e.) according to the cascading rules !

    So : when using inline svg files – make sure that the classes within those svg do not match.

    #1327832

    Hey Guenter,

    Thanks for sharing!
    I noticed this issue on a few users installation. I would manually edit the SVG files and make sure classes on transparent and non-transparent logo do not match :)

    Cheers!
    Yigit

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.