WebsiteBaker Support (2.8.x) > Templates, Menus & Design
OnePage demo template
Ruud:
What you are suggesting is just not possible..
The call $op->page_content() gives all content for all pages into a one-pager template.
If the class would generate separate sections you would get a full website section(2) output in that call.
Doing it the way you are suggesting you should use something like globalBlocks for all blocks/sections in your template and create the menu hardcoded.
You are making a mistake in thinking you need a content section for the full screen images.
In this template these images are backgrounds, set by CSS, not set as content.
The output of the onepager class does generate a perfect output to do exactly what you want.
You just need to remove the .wrap and .container from the template/index.php and understand the CSS included in your template and modify it with the correct id and class selectors.
Roych:
Thank you Ruud, I guess I understand what you mean, but I don't realy know how to achieve this with css I tried what you said and gave all my pages it's own css id so that the image is shown but it is shown as a background to a whole content. And when I do that I lose the content that should be in those three columns.
Oh, ..I guess I will have to pass on that one, just can't figure it out. ;)
Thank you
R
Roych:
Ok, I actualy did it with a simple, not realy good but working method. I put the html from the template into the wysiwyg section and I can now do exactly what I wan't and it's working as I need. I just have to be careful not to delete the divs out of the wysiwyg area, hehe ;)
Thank you
R
quinto:
thanks a lot Ruud it's a very elegant way to make a "new design" one page site without changing anything in the content, WB is a very very flexible CMS, one time again WB amazed me :)
Navigation
[0] Message Index
[*] Previous page
Go to full version