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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

same page type but diffrent appearance


Go to End


3 Posts   1287 Views

Avatar
Lukin

Community Member, 56 Posts

16 April 2008 at 9:07pm

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

Community Member, 56 Posts

16 April 2008 at 9:19pm

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

Community Member, 56 Posts

16 April 2008 at 9:51pm

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