Subpages short description

honzasevcik

No avatar

2009-12-05 21:30

I have can I set different style for each subpages at one page. I need that one subpage will be on the left and second on the right side of page. But in page template i only can set style for both of subpages together. Do you know any solution?

» Quick.Cms v2.x

Makaron

Avatar: Makaron

2009-12-07 16:27

In file templates/pages_default.tpl in block of subpages which You want to change for example in block SUBPAGES_LIST_1 change code:

<li class="l$aData[sStyle]">


to:

<li class="l$aData[iStyle]">


and after that You can set styles to:
.subpagesList .l0{}
and
.subpagesList .l1{}
when You look at code of Your site You will see that these classes will be connected with specific subpages elements interchangeably. I hope You understand.

Back to top
about us | contact