Dirk Gissing
Posts: 0
Joined: Sat Oct 12, 2013 4:18 pm

thumbnail list item size

Hello,

How can I change the thumbnail size of a listitem? I've tried this code:
code.custom >
.ui-listview, .ui-li-has-thumb {
max-height: 55px;
overflow: hidden;
}
/code
But this only changes the listitem itself, but not the thumb image.
It did work before, when I was using library version 1.2. But in 2.0 it doesn't work anymore.

Please advice!

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

thumbnail list item size

Hello Dirk,

Use this code without custom CSS Class

pre.ui-page .ui-li .ui-li-thumb, .ui-page .ui-li .ui-li-icon {
max-height: 55px;
overflow: hidden;
}/pre

Dirk Gissing
Posts: 0
Joined: Sat Oct 12, 2013 4:18 pm

thumbnail list item size

Hello Alena,

It doesn't work!

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

thumbnail list item size

Strange. Worked for me.

Please try this:

pre.ui-page .ui-li .ui-li-thumb, .ui-page .ui-li .ui-li-icon {
max-height: 60px;
max-width: 60px;
}

/* Adjust list item height*/
.ui-page .ui-li-has-thumb .ui-btn-inner .ui-link-inherit, .ui-page .ui-li-static .ui-li-has-thumb {
min-height: 0;
}/pre

Dirk Gissing
Posts: 0
Joined: Sat Oct 12, 2013 4:18 pm

thumbnail list item size

Both don't work!

Image

Image

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

thumbnail list item size

Did you make changes on the Source tab?

Dirk Gissing
Posts: 0
Joined: Sat Oct 12, 2013 4:18 pm

thumbnail list item size

No, this is a new css file

Dirk Gissing
Posts: 0
Joined: Sat Oct 12, 2013 4:18 pm

thumbnail list item size

Alena,

Your solution only works when I set the version to 1.2. But in version 2.0 it doesn't work! And I can't use 1.2, I have to use 2.0.

Please advise

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

thumbnail list item size

Hello!

Please check the following post https://getsatisfaction.com/apperyio/...

Dirk Gissing
Posts: 0
Joined: Sat Oct 12, 2013 4:18 pm

thumbnail list item size

I've checked it out, it still doesn't work.

I can change the size of the list item itself, but the the thumb image doesn't change at all. It works when I use library version 1.2, but not in 2.0.

Any more solutions?

Return to “Issues”