Border-radius does not work on photoset.

363 views
Skip to first unread message

Craig Snedeker

unread,
Apr 11, 2013, 4:43:42 PM4/11/13
to tumblr...@googlegroups.com
Hey guys, I made a theme for my photography blog/business and I noticed that I photoset images don't use the border-radius attribute that I set on img. Any idea why? http://xodusmedia.com

Michael Theriot

unread,
Apr 25, 2013, 10:56:08 AM4/25/13
to tumblr...@googlegroups.com
The photos in the photoset are inside an <iframe> so you cannot modify how they are displayed.

If you want to add a border-radius to them you will have to remove the {Photoset-x} variable (it creates the <iframe>) and use {block:Photos} to design the set yourself.

rickerlr

unread,
Apr 26, 2013, 4:42:05 AM4/26/13
to tumblr...@googlegroups.com
I found this, maybe it is helpful : https://github.com/PixelUnion/Extended-Tumblr-Photoset
Reply all
Reply to author
Forward
0 new messages