Topic: Mixed Content issue with side nav image

cdenby pro asked 7 years ago


I noticed that the sidenav jpgs are referenced in the mdb.css (lines 11132 and onward) with http protocol hard-coded. This causes mixed content warnings if you use it with an https site. What I've done is edited those lines to now read this what is below and it seems to have removed the warning. I haven't tested all browsers yet, but perhaps someone can give some feedback as to whether we can trust that this will work. ` .sn-bg-1 { background-image: url(//mdbootstrap.com/img/Photos/Others/sidenav1.jpg); } .sn-bg-2 { background-image: url(//mdbootstrap.com/img/Photos/Others/sidenav2.jpg); } .sn-bg-3 { background-image: url(//mdbootstrap.com/img/Photos/Others/sidenav3.jpg); } .sn-bg-4 { background-image: url(//mdbootstrap.com/img/Photos/Others/sidenav4.jpg); }

Hello, @cdenby, Thank you for your suggestion. This we'll be fixed with the next release of MDB

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags