diff --git a/upload/styles/cbv2new/layout/blocks/photo.html b/upload/styles/cbv2new/layout/blocks/photo.html index ea824712..2fa549a7 100644 --- a/upload/styles/cbv2new/layout/blocks/photo.html +++ b/upload/styles/cbv2new/layout/blocks/photo.html @@ -1,6 +1,6 @@ {if $display_type == ""}
- {get_photo details=$photo output='html' class='photoThumbBox moveL' style='margin-right:5px;'} + {get_photo details=$photo output='html' width="110" class='photoThumbBox moveL'}
{$photo.photo_title|truncate:20}
diff --git a/upload/styles/cbv2new/layout/index.html b/upload/styles/cbv2new/layout/index.html index 19e357f4..73e1f05c 100644 --- a/upload/styles/cbv2new/layout/index.html +++ b/upload/styles/cbv2new/layout/index.html @@ -118,8 +118,8 @@ {if $ran_ph}
- {lang code='rand_photos'} -
+ {lang code='rand_photos'} +
{section name=plist loop=$ran_ph} {include file="$style_dir/blocks/photo.html" photo=$ran_ph[plist] display_type="side_photos"} {/section} diff --git a/upload/styles/cbv2new/theme/main.css b/upload/styles/cbv2new/theme/main.css index 5ea26b36..19df7d37 100644 --- a/upload/styles/cbv2new/theme/main.css +++ b/upload/styles/cbv2new/theme/main.css @@ -869,7 +869,7 @@ a.CollectThumb { border:1px solid #ccc; display:inline-block; background:#FFF; } .photoTitle { font:bold 11px Tahoma; } .photoTitle a { text-decoration:none; } .photoInfo { font:normal 10px Tahoma; color:#666; } -.photo_block { padding:6px 14px; display:inline-block; vertical-align:middle; margin-bottom:5px; *display:inline; } +.photo_block { padding:0; width:114px; display:inline-block; vertical-align:middle; margin:0 10px 12px 0; *display:inline; } /* VIEW ITEM */ .borderLine { border-bottom:1px solid #ccc; padding:5px 0px 0px; margin:0 0 5px; }