Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » same page type but diffrent appearance

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

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

Page: 1
Go to End
Author Topic: 979 Views
  • Lukin
    Avatar
    Community Member
    41 Posts

    same page type but diffrent appearance Link to this post

    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 ;)

  • Lukin
    Avatar
    Community Member
    41 Posts

    Re: same page type but diffrent appearance Link to this post

    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>

  • Lukin
    Avatar
    Community Member
    41 Posts

    Re: same page type but diffrent appearance Link to this post

    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

    979 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.