![]() |
|
Different styling for some pages - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Different styling for some pages (/thread-10687.html) |
Different styling for some pages - tosca - 2012-12-31 Is there an easy way to style some ZenPages differently from the others? Have I missed something? Different styling for some pages - fretzl - 2012-12-31 The [i]multiple_layouts[/i] plugin is designed to do just that. How it works is explained in the plugin info. Different styling for some pages - acrylian - 2012-12-31 If it is just changing a class you could add a check like You could also modify the theme to use for example the custom field or a codeblock to store a class or id name and just check for it. The multiple_layouts plugin is best suited if you do really different things like different columns or something. Different styling for some pages - tosca - 2012-12-31 Thanks for your quick answer. I guess the custom field or the codeblock with a theme modification will be me best option: whenever I want to have another page layout, I'll just have to add the corresponding CSS rules. But I'll have to investigate a bit, as I have yet to use a custom field or a codeblock. |