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

Forums / General Discussions / Page template width limitation

Page template width limitation

3 posts, 1 answered
  1. Adam
    Adam avatar
    8 posts
    Registered:
    10 Jan 2011
    27 Jan 2011
    Link to this post

    I am trying to create a page template with 100% browser width but seems sitefinity only allows me 900px.

    How can I change this setting?

    This is the generated code looks like:

    <DIV class="sf_cols PageContainer">
    <DIV style="WIDTH: 900px" class="sf_colsOut sf_1col_1_100">
    <DIV id="TE1908284000_Col00" class="sf_colsIn sf_1col_1in_100"><DIV class="sf_cols  MenuContainer">
    <DIV style="WIDTH: 100%" class="sf_colsOut sf_1col_1_100">
    <DIV id="TE1908284001_Col00" class="sf_colsIn sf_1col_1in_100"><DIV class="sf_cols MenuBox">
    <DIV style="WIDTH: 980px" class="sf_colsOut sf_1col_1_100">
    <DIV id="TE1908284002_Col00" class="sf_colsIn sf_1col_1in_100"></DIV></DIV></DIV></DIV></DIV></DIV><DIV class="sf_cols MainContainer">
    <DIV style="WIDTH: 980px" class="sf_colsOut sf_1col_1_100">
    <DIV id="TE1908284003_Col00" class="sf_colsIn sf_1col_1in_100"><DIV class="sf_cols MainBox">
    <DIV style="WIDTH: 980px" class="sf_colsOut sf_1col_1_100">
    <DIV id="TE1908284005_Col00" class="sf_colsIn sf_1col_1in_100"></DIV></DIV></DIV></DIV></DIV>

    I am on Sitefinity 4.0
  2. Jordan
    Jordan avatar
    172 posts
    Registered:
    20 Oct 2015
    27 Jan 2011
    Link to this post
    Hello Adam,

    If you register a custom theme the default styles will be avoided. Also if don't want to use custom theme add the following line in your CSS file:

    sfPublicWrapper {
    width: 100% !important;
    }



    Greetings,
    Jordan
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  3. Adam
    Adam avatar
    8 posts
    Registered:
    10 Jan 2011
    27 Jan 2011
    Link to this post
    It works, thank you!
3 posts, 1 answered