Filter centering items


Topic: Filter centering items

Claude Vital pro premium asked 4 days ago

Hi Guys wanna center the items of filter-plugin, how to do? actually, and also in your samples they are left aligned. Many thanks in advance for helping out here.


Marta Szymanska staff answered 3 days ago

Hi,

if you want to center the buttons of filter plugin, you have to replace this line <div class="filter-nav"> with this line <div class="filter-nav d-flex justify-content-center">.

If you want to center images, you can add this code: .item.muuri-item.muuri-item-shown { left: 50%; }

Best, Marta


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: jQuery
  • MDB Version: 4.8.0
  • Device: Desktop & Mobile
  • Browser: Chrome
  • OS: OSX
  • Provided sample code: No
  • Provided link: No