[RSS Feed/News] SVGZ logo hidden if screen width is too small

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
This CSS in app_nav.less causes an SVGZ image to be hidden if the extension is .svgz:

Code:

&:not([src$=".svg"])

it probably makes more sense for the selector to be a "contains" rather than "ends with" because the .svgz extension is a valid SVG (it simply means it's compressed):

Code:

&:not([src*=".svg"])

Either way as it is now, the logo disappears if it's a .svgz image, but doesn't disappear (as expected) if it's .svg
Read more about this Feed . . .
 
Status
Not open for further replies.
Back
Top Bottom