PluginLayout assumes there will be one content area in the foreground and one full-width background area behind the content. To create a full-width area for the page background image, PluginLayout changes
div class="container" to
But for some page content layouts, the page backgrounds, etc. are full-width, but the text content is limited to the normal container width (1270px or whatever) in (vertically) alternating sections of the page, like on http://demo.zukathemes.com/Happy+Scroll.
The layout on that page starts out with a full-width page to get the wide backgrounds behind the headings. Then
div.container is used in the sections with columns of text. But with the plugin currently, every instance of
container gets changed by the plugin to
Setting the "contentwidth" parameter to 80% or whatever doesn't help because this also limits the width of the section background images.
It would be good if only the outermost instances of
div class="container" were changed by the plugin (not the nested or child instances), so any instances of
div class="container" in the wiki text wouldn't be touched by the plugin - they would remain
div class="container". This would enable alternating sections of full-width backgrounds and container-limited content on the page.
(Of course I'm open to other ways of achieving the same result with this plugin, if there's a better/easier way.)
|No attachments for this item|