0

Environment: SharePoint 2013

My homepage appears fine if viewed in 1920* 1080 pixels. However on reducing the pixel view testing via IE Developer Tool and reducing the view to 70% or 80%. Web part Alignment doesn't appears properly,( Web part doesn't show on the same row with other content)

How can i Fix web part so even if the view is changed to lower pixel size / view size it doesn't impact the way Web parts are aligned on the homepage.

0

You have two options,

  1. Create a pagelayout with definite height and with and create webpart zones with required width and height. Create your home page using the new page layout and add webparts to it. You may also set height and width for the webparts as well.
  2. If you are not interested to create a page layout, insert a table in the page content area with fixed width and height and add webparts into the respective cells.
  • creating a new page layout will be difficult as we have everything placed on the home page with the required CSS changes. So what we are after is just to set page width and height. Any way to do that ? – Jason Jun 8 '16 at 6:57
  • You may set height and with using CSS itself. Whats tricky in it? – Nagarajan Muthukumar Jun 8 '16 at 7:01
  • well can set the width by following article: n8d.at/blog/fixed-width-design-in-sharepoint-2013-the-fast-way But not sure if that would zoom out the content when viewed in lower screen resolution (below 1920* 1080) – Jason Jun 8 '16 at 7:09
  • Use CSS property overflow, set it to scroll (overflow:scroll;). If you set a fixed width and height, if the resolution is less there wont be changes in allignment but you will get scrollbars for lower resolution. Check it out. – Nagarajan Muthukumar Jun 8 '16 at 7:13
  • Using Stylebot in Google Chrome, I tried setting the Width of the page to: 1560px and height: 850px. Also added overflow: scroll CSS code - div.col-lg-10.col-md-9.col-sm-12 { width: 1560px; height: 850px; overflow: scroll; } Still the web part alignment getting impacted, Example screenshot for better understanding - a) Home Pg appears in Full screen with width set to 1560px, imgur.com/gcoTsxY b) When, Home Pg appears in Full screen with width set to 1560px, but browser Is set to restore down mode . imgur.com/3F9vVHz – Jason Jun 9 '16 at 1:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.