Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

same page type but diffrent appearance


Reply

3 Posts   1025 Views

Avatar
Lukin

16 April 2008 at 9:07pm Community Member, 42 Posts

Hi I'm doing my first steps in silverstripe.
First I did some changes in the css-layout.
Then I created some new pages, although I alway took the same page type
the appearance of the pages is different.
The first Mainnode of my Nav, and its child - Docs appear in the right way.
all other pages, even if I duplicate the frist Mainnode look diffrent. the content-Layers
position is wrong.

any ideas?
thanks in advance

.. hope you understand my engllisch ;)

Avatar
Lukin

16 April 2008 at 9:19pm Community Member, 42 Posts

Appearance is wrong if the Mainnode has no childs... dont' know why,
that' my page.ss without head...

:

<body>
<div id="BgContainer">
   <div id="Container">
      <div id="Header">
          
      </div>
      <div id="infobox">
          <ul>
             <% include Navigation %>
          </ul>
    </div>
      <div id="Layout">
          $Layout
         <div id="Footer">
            <% include Footer %>
         </div>
      </div>
   </div>
</div>
</body>
</html>

Avatar
Lukin

16 April 2008 at 9:51pm Community Member, 42 Posts

found the problem,...
template/layout/page.css

had an if for
if there is a second level dont' take the content layer...
so it wrote the content without any special layer