Photo align in subpage not working

Nikolas

Avatar: Nikolas

2012-03-22 00:39

Selecting "Photo's place" alignment (left or right) in subpage is not working. This is because pages_default.tpl class=photo is always left and not depends on iType value. A workaround to this is:

change line 18 in pages_default.tpl (line may vary if not default template)
<div class="photo">
to
<div class="photo$aDataImage[iType]">

add these lines to style.css
.subpagesList li .photo1{float:left;margin:0 18px 5px 0;} /* left align */
.subpagesList li .photo2{float:right;margin:0 0 5px 18px;} /* right align */

» Quick.Cms v4.x

Back to top
about us | contact