Spark Chao
Posts: 0
Joined: Sat Jan 17, 2015 6:25 am

rounded photo of list

hello
I drop a image into the list component,and set the css "roundedphoto".
but it will be something wrong.

I test another image component without into list,and set the same css "roundedphoto" .
It will be ok.(I hope the image will be a circle shape.)
Image
Image
Image

can you help me to figure out or suggest another way to do that?

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

rounded photo of list

Hello,

Please specify the following
1) Styles you have applied;
2) Name of list, listitem, grid, cell, and image components.

Spark Chao
Posts: 0
Joined: Sat Jan 17, 2015 6:25 am

rounded photo of list

Dear Alena
1) Styles you have applied;
=iOS-like ,swatch:c

2) Name of list, listitem, grid, cell, and image components.
=Name of list:mobilelist_80
listitem:mobilelistitem_81
grid:mobilegrid_101
cell:mobilegridcell_102
image:image

css:
.roundedphoto {
-webkit-border-radius: 600px;
-moz-border-radius: 60px;
border-radius: 60px;
}

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

rounded photo of list

Hello!

Your css is too "light" from the css "weight" selector point of view
https://css-tricks.com/specifics-on-c...
http://blog.bismallion.com/appery-tut...

try next selector
.roundedphoto, .ui-listview li.ui-last-child img:first-child:not(.ui-li-icon) {
-webkit-border-radius: 600px;
-moz-border-radius: 60px;
-webkit-border-bottom-left-radius: 100px;
border-radius: 100px;
border-top-left-radius: 100px;
}

Spark Chao
Posts: 0
Joined: Sat Jan 17, 2015 6:25 am

rounded photo of list

thank you Evgene
I try your suggestion,it does work!!
but now only the first one image will be circle shape.
and the latter still the same.
how should I change the css code?
Image

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

rounded photo of list

Hi Spark,

Please try following CSS:

pre

html body .roundedphoto, .ui-listview li img:first-child:not(.ui-li-icon) {
-webkit-border-radius: 600px;
-moz-border-radius: 60px;
-webkit-border-bottom-left-radius: 100px;
border-radius: 100px;
border-top-left-radius: 100px;
}

/pre

Regards.

Spark Chao
Posts: 0
Joined: Sat Jan 17, 2015 6:25 am

rounded photo of list

Yurii
Thanks for your help!!!!
It dose work~ Image

Spark Chao
Posts: 0
Joined: Sat Jan 17, 2015 6:25 am

rounded photo of list

Yurii
Something wrong!
today I reopen the app to test,the shape of list's photo back to the previous shape.
did the yesterday update make something happen?
please help methanks!! Image

Egor Kotov6832188
Posts: 0
Joined: Wed Nov 19, 2014 5:15 pm

rounded photo of list

Hi Spark
1) you should see the actual result right away in the editor
http://gyazo.com/9915015f525404a0e571...

2) try to increase value for border-radius
3) place image in the grid

Spark Chao
Posts: 0
Joined: Sat Jan 17, 2015 6:25 am

rounded photo of list

Dear Egor
I try to increase value for border-radius ,but it still no working.
Image

I use the same code was working yesterday,please see the reply above.
why it suddenly not working today,because I didn't edit anything today.
thanks for your kindly help!

Return to “Issues”