Parallax height


Topic: Parallax height

owenxpl asked 5 years ago

Expected behavior Set Parallax height to about 1/5 of screen height.

Actual behavior Can't set height lower then 600px.

Resources (screenshots, code snippets etc.)

<div data-jarallax data-speed="0.5"  class="view jarallax" style="height: 20vh;">
<img class="jarallax-img" src="images/jarallax/jarallax.jpg">

Grzegorz Bujański staff commented 5 years ago

Hi. This happens because jarallax class has min-heught set. You can override mion-height and this should work.


FREE CONSULTATION

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

Status

Closed

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.14.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No
Tags