Limit Client list on mobile

Hi,

We are using the Sydney FP:Clients widget on our main page and it looks great however we’d like to limit the amount of clients shown when viewed on mobile.

Is this possible with Sydney or do we have to upgrade to Sydney Pro?

Website is http://www.varipix.com/content/

Thank you
Ian

Hello there,

There is no such that feature by default. However, you still can do that with a couple of CSS code.

Try adding the below extra CSS code to Appearance > Customize > Additional CSS from your site dashboard.


@media only screen and (max-width:767px) {
  
  /* Hide all clients */
  .roll-client .client-item {
    display: none;
  }
  
  /* Display specific clients */
  .roll-client .client-item:nth-of-type(1),
  .roll-client .client-item:nth-of-type(2),
  .roll-client .client-item:nth-of-type(3),
  .roll-client .client-item:nth-of-type(4),
  .roll-client .client-item:nth-of-type(5),
  .roll-client .client-item:nth-of-type(6) {
    display: block;
    float: left;
  }
  
}

:nth-of-type(1) means the first client.

Regards,
Kharis

Amazing! Thank you so much!

Ian

You’re most welcome here!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis