plugins/jquery/filter/


Topic: plugins/jquery/filter/

ciscom pro asked 4 years ago

plugins/jquery/filter/

Is it possible to change number of columns from 4 to 3 on desktop? Is there a list of all parameters. All I have is from the demo code eg draggable: true, fillGaps: true

When I go to documents it just gives me the purchase button, even though I am logged in and have purchased.

Many thanks.


Mikołaj Smoleński staff answered 4 years ago

Hi there,

In this plugin number of columns depend on the container and image widths. Please try to change item width to see the effects: 

.filter .item {
  width300px;
}
Best Regards
 

ciscom pro answered 4 years ago

Hi Mikolaj,

Thank you that works nicely.

For item-panoramic I then use

.filter .item-panoramic {
width: 610px;
}

and this is the correct width but does not line up with height (too short).
How can I get the height to match up?

Also on larger screens the images are left justified leaving a gap to the right.
What is the best way to centre justify the images?

Thank you.


Mikołaj Smoleński staff answered 4 years ago

Hi there,

The height of panoramic image should be set to "auto". Then the image should have correct height according to it's width.

Unfortunately You can't center images inside the container. It's because the function for dragging the images has to be in relation with one of the container's corner. 

Best Regards


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.5.10
  • Device: Laptop
  • Browser: Chrome
  • OS: Win10
  • Provided sample code: No
  • Provided link: No