Problem with navigation and container/container-fluid
I made my own theme as a fork of Lavender. To be able to have different "container" content classes on different pages, I moved the two following lines from the end of
<div class="container" id="content"> <!-- IMPORT partials/noscript/warning.tpl -->
home.tplonly I replaced
My problem is that When I'm in browsing from a topic or a category to home (hitting the Home item in the breadcrumb), the layout doesn't change, and I see the home page with
What should I do? Would separating the
#content.containerdiv into 2 levels of divs (
Eh, my idea was correct I think. It seems that the browsing replace the content of
#contentwith the other page
#content, so splitting that into 2 divs works. Can anyone confirm this is how it works?
I know it does replace
The problems I found with my currently implemented solution are that I've got an horizontal scrollbar (I should be able to fix that with some CSS somehow) and it seem to add another
#contentdiv when browsing... Which is wrong...
Ribesg last edited by Ribesg
In the end, here are the only changes (to the original theme) I did to successfully achieve what I wanted without bug:
header.tplto set the "default" format to fluid.
- For each page that I want to be non-fluid, wrap the whole
For example I did this for