Page 1 of 2
thumbnail list item size
Posted: Sun Jun 15, 2014 6:14 pm
by Dirk Gissing
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!
thumbnail list item size
Posted: Sun Jun 15, 2014 6:32 pm
by Alena Prykhodko
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
thumbnail list item size
Posted: Sun Jun 15, 2014 6:49 pm
by Dirk Gissing
Hello Alena,
It doesn't work!
thumbnail list item size
Posted: Sun Jun 15, 2014 6:57 pm
by Alena Prykhodko
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
thumbnail list item size
Posted: Sun Jun 15, 2014 7:45 pm
by Dirk Gissing
Both don't work!
thumbnail list item size
Posted: Sun Jun 15, 2014 7:56 pm
by Alena Prykhodko
Did you make changes on the Source tab?
thumbnail list item size
Posted: Sun Jun 15, 2014 8:26 pm
by Dirk Gissing
No, this is a new css file
thumbnail list item size
Posted: Sun Jun 15, 2014 10:07 pm
by Dirk Gissing
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
thumbnail list item size
Posted: Mon Jun 16, 2014 4:18 pm
by Maryna Brodina
thumbnail list item size
Posted: Mon Jun 16, 2014 7:17 pm
by Dirk Gissing
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?