Title: Content Box Width Slider doesn&#039;t work
Last modified: August 31, 2016

---

# Content Box Width Slider doesn't work

 *  Resolved [aailweb](https://wordpress.org/support/users/aailweb/)
 * (@aailweb)
 * [10 years ago](https://wordpress.org/support/topic/content-box-width-slider-doesnt-work/)
 * Content Box Width Slider in Settins > Fornt Page > Slider doesn’t work.

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

 *  Thread Starter [aailweb](https://wordpress.org/support/users/aailweb/)
 * (@aailweb)
 * [10 years ago](https://wordpress.org/support/topic/content-box-width-slider-doesnt-work/#post-7357500)
 * More precisely, if I set (in Settings > Basic > Site Layout) Site Layout to “
   Full Width” it works, if I set Site Layout to “Boxed” it doesn’t work.
 *  Theme Author [OptimizerWP](https://wordpress.org/support/users/layerthemes/)
 * (@layerthemes)
 * [10 years ago](https://wordpress.org/support/topic/content-box-width-slider-doesnt-work/#post-7357612)
 * [@aailweb](https://wordpress.org/support/users/aailweb/) Can you please turn 
   on the box layout and share your site address here?
 * Thanks
 *  Thread Starter [aailweb](https://wordpress.org/support/users/aailweb/)
 * (@aailweb)
 * [10 years ago](https://wordpress.org/support/topic/content-box-width-slider-doesnt-work/#post-7357613)
 * Many thanks for your reply, Boxed Layout (with maximum width) is now turned on.
 * Url: [http://www.artificiocooperativa.com/](http://www.artificiocooperativa.com/)
 *  Thread Starter [aailweb](https://wordpress.org/support/users/aailweb/)
 * (@aailweb)
 * [10 years ago](https://wordpress.org/support/topic/content-box-width-slider-doesnt-work/#post-7357614)
 * And this is the custom CSS code I’ve added:
 * /* Header Inner */
    .head_inner{padding-bottom: 20px;} /* Site Title and Tagline*/.
   logo h1 a, .logo h2 a{font-weight: 500; text-transform: uppercase; line-height:
   0;} span.desc{font-size: 18px; font-weight: 600; text-transform: uppercase; opacity:
   1; line-height: 0;} /* Menu Frontpage */ #topmenu ul li a{font-weight: 700;} /*
   Frontpage Slider Text */ .stat_content_inner{font-size: 125%;} /* About Widgets*/.
   about_pre{} .about_header{font-size: 48px; font-weight: 700;} .aboutblock {padding-
   top: 60px; padding-bottom: 20px;} /* Blocks Widgets */ .midrow_block h3{font-
   size: 1.1em} /* Page Header */ .page_head{min-height: 0px;} .page_head h1, .page_head
   a{font-weight: 300;} /* Footer Widgets */ #footer .widgets {padding: 0px 0px;}/*
   Footer Copyright */ .copytext{line-height: 1em;}
 *  Theme Author [OptimizerWP](https://wordpress.org/support/users/layerthemes/)
 * (@layerthemes)
 * [10 years ago](https://wordpress.org/support/topic/content-box-width-slider-doesnt-work/#post-7357615)
 * Its because you added this custom css:
 * `.site_boxed .center {width: 95%!important;margin: 0 auto;}`
 * Try removing it to make the content box width option work.
 * Regards
 *  Thread Starter [aailweb](https://wordpress.org/support/users/aailweb/)
 * (@aailweb)
 * [10 years ago](https://wordpress.org/support/topic/content-box-width-slider-doesnt-work/#post-7357616)
 * Sorry, but I’ve never added the CSS code you wrote. The only CSS code I’ve added
   is the the following:
 * * Header Inner */
    .head_inner{padding-bottom: 20px;} /* Site Title and Tagline*/.
   logo h1 a, .logo h2 a{font-weight: 500; text-transform: uppercase; line-height:
   0;} span.desc{font-size: 18px; font-weight: 600; text-transform: uppercase; opacity:
   1; line-height: 0;} /* Menu Frontpage */ #topmenu ul li a{font-weight: 700;} /*
   Frontpage Slider Text */ .stat_content_inner{font-size: 125%;} /* About Widgets*/.
   about_pre{} .about_header{font-size: 48px; font-weight: 700;} .aboutblock {padding-
   top: 60px; padding-bottom: 20px;} /* Blocks Widgets */ .midrow_block h3{font-
   size: 1.1em} /* Page Header */ .page_head{min-height: 0px;} .page_head h1, .page_head
   a{font-weight: 300;} /* Footer Widgets */ #footer .widgets {padding: 0px 0px;}/*
   Footer Copyright */ .copytext{line-height: 1em;}
 * I’ve only set Boxed Layout ON and moved the Slider Content Box Width slider to
   the maximum width (right end).
 *  Theme Author [OptimizerWP](https://wordpress.org/support/users/layerthemes/)
 * (@layerthemes)
 * [10 years ago](https://wordpress.org/support/topic/content-box-width-slider-doesnt-work/#post-7357617)
 * Sorry. looks like a bug. Can you please go to Appearance > Editor and select 
   custom-style.php and replace this line:
 * `.site_boxed .center {width: 95%!important;margin: 0 auto;}`
 * with this:
 * `.site_boxed .center {width: 95%;margin: 0 auto;}`
 * Thanks
 *  Thread Starter [aailweb](https://wordpress.org/support/users/aailweb/)
 * (@aailweb)
 * [10 years ago](https://wordpress.org/support/topic/content-box-width-slider-doesnt-work/#post-7357618)
 * Okay, in custom-style.php
    replaced: .site_boxed .center {width: 95%!important;
   margin: 0 auto;} with: .site_boxed .center {width: 95%;margin: 0 auto;} and now
   it works!!!
 * Thank you very much!!!
    Andrea

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

The topic ‘Content Box Width Slider doesn't work’ 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/)

 * 8 replies
 * 2 participants
 * Last reply from: [aailweb](https://wordpress.org/support/users/aailweb/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/content-box-width-slider-doesnt-work/#post-7357618)
 * Status: resolved