+1-888-365-2779
Try Now
More in this section

Forums / Designing & Styling / Full Page Layout Controls

Full Page Layout Controls

2 posts, 0 answered
  1. Stepahnie
    Stepahnie avatar
    18 posts
    Registered:
    19 May 2016
    15 Jun
    Link to this post
    I want to design a page so that each layout row covers the entire webpage in width. I been trying to think of ways, and what would be the easiest.  I have tried entering it into an .ascx file that was use for custom layout but realized it was the page set up. I thought designing a theme would allow the layout to expand. I've also considered creating a  wrapper class.  How have you approached this problem, and if possible can you show me an example of how you did it. 
  2. Victor Leontyev
    Victor Leontyev avatar
    65 posts
    Registered:
    01 Jul 2014
    16 Jun in reply to Stepahnie
    Link to this post

    In your case, problem in page template.

    If you want to create full page template, as example, you can follow this steps

    Create base.master file in some folder inside your project

    <%@ Master Language="C#" %>
    <!DOCTYPE html>
    <html>
    <head id="head" runat="server">   
    </head>
    <body>
        <form id="aspnetForm" runat="server>       
            <asp:ContentPlaceHolder ID="content_main" runat="server" />
        </form>
    </body>
    </html>

     

    Go to Page templates in Backend

    Create template

    Use template -> Use your own .master file

    Choose master file created before.

    And try to craete any page with this layout. All your components will be full width

    You can find mode information in this article: http://docs.sitefinity.com/create-a-template-using-a-master-page

     

     

2 posts, 0 answered