Title: Blocks Frontpage Widget
Last modified: September 28, 2017

---

# Blocks Frontpage Widget

 *  Resolved [marikephoto](https://wordpress.org/support/users/marikephoto/)
 * (@marikephoto)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/blocks-frontpage-widget/)
 * Hi there,
 * the blocks frontpage widget is not centered on mobile and tablet view. Can this
   be fixed?
 * Also, on desktop view the whole site can scroll to the right? Please advise.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fblocks-frontpage-widget%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Theme Author [OptimizerWP](https://wordpress.org/support/users/layerthemes/)
 * (@layerthemes)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/blocks-frontpage-widget/#post-9546275)
 * Try adding this to your Custom CSS:
 *     ```
       #slidera { overflow: hidden;}
       @media screen and (max-width: 960px){
       .midrow_block { width: 100%!important;}
       .midrow_wrap { width: 100%;}
       }
       ```
   
 *  Thread Starter [marikephoto](https://wordpress.org/support/users/marikephoto/)
 * (@marikephoto)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/blocks-frontpage-widget/#post-9551072)
 * Everything is now centered and doesn’t scroll to the right anymore. But in tablet
   view the blocks now look the same as on mobile. I would like for the blocks on
   tablet view to be smaller next to each other as it is o desktop please.
 *  Theme Author [OptimizerWP](https://wordpress.org/support/users/layerthemes/)
 * (@layerthemes)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/blocks-frontpage-widget/#post-9554069)
 * Try adding this too:
 *     ```
       @media screen and (max-width: 960px) and (min-width: 481px){
       .midrow_blocks .midrow_block:first-child:nth-last-child(3), .midrow_block:first-child:nth-last-child(3) ~ .midrow_block {
           width: 33.333%!important;
       }
       }
       ```
   
 * Thanks
 *  Thread Starter [marikephoto](https://wordpress.org/support/users/marikephoto/)
 * (@marikephoto)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/blocks-frontpage-widget/#post-9556509)
 * You guys are amazing!
 * Thank you so much. I’m super happy with the result.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Blocks Frontpage Widget’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/optimizer/0.7.4/screenshot.png)
 * Optimizer
 * [Support Threads](https://wordpress.org/support/theme/optimizer/)
 * [Active Topics](https://wordpress.org/support/theme/optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/optimizer/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [marikephoto](https://wordpress.org/support/users/marikephoto/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/blocks-frontpage-widget/#post-9556509)
 * Status: resolved