This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Setup & design » different style for each page?

different style for each page?

different style for each page?

Wednesday 03 April 2013 9:23:31 am - 2 replies


I'm newbie here, I want to create different style for each page. How do I do that?

I want this page cars/ and other pages belong to cars/n-other-pages... has different logo, menu style ( Other pages with other slug ( are normal. How do I do that?

Thank you

Wednesday 03 April 2013 10:23:36 am

1. Using override.ini, you can tell eZ to use a different pagelayout template for a specific content class or section.

Then, I would recommend making the two top-level pagelayouts just 3empty containers3 which include other templates where most of the code is. This way you will avoid duplicating most of the code wheich is identical between the two pages.


2. alternative option: look at variables available in pagelayout and use IF conditions:

Sunday 07 April 2013 6:57:41 am

If the HTML will be the same, you may be able to use the variables mentioned by Gaetano to assign an additional class and use CSS to modify the presentation.


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from