Change Jarallax CSS


Topic: Change Jarallax CSS

TeddyS31 pro asked a year ago

Expected behavior Change CSS of class 'jarallax-img'

Actual behavior Unable to reach the class and there is no JS code for the css settings to change

Resources (screenshots, code snippets etc.)

  #banq-jarallax {
margin-bottom: 6rem;
background-color: #ebf3ff;
.jarallax-container-0 {
  .jarallax-img {
    object-fit: contain !important;
    object-position: bottom !important;
  }
}

}

what shows in source code


Marta Szymanska staff pro premium answered a year ago

Hi,

would you create a snippet showing the problem here: https://mdbootstrap.com/snippets/? I'll try to help you. Now, I'm not sure what you mean.

Best, Marta


TeddyS31 pro commented a year ago

I actually ended up solving it by editing the parallax css file. This needs to be included though in the documentation.


Marta Szymanska staff pro premium commented a year ago

Could you tell us your solution to help us improve our documentation? We will be very grateful for that.


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: jQuery
  • MDB Version: 4.8.8
  • Device: Macbook Pro 13
  • Browser: Chrome
  • OS: Mac OS Mojave
  • Provided sample code: No
  • Provided link: No