Shape 5

Wordpress Club Themes => Business Pro - Club => : rmcompsol September 16, 2014, 03:19:22 PM



: Change various module margins
: rmcompsol September 16, 2014, 03:19:22 PM
I would like to change the margins for all of the modules so there is not as much "white" space.  I found the following in template.css
  • Change header margins under #s5_header_wrap section
  • Change Top/Left margins for Top Row under #s5_top_row1_area_inner
  • Change Left margins for Center Area under #s5_center_area

However, I can't seem to figure out how to change the Right/Bottom margins.  The closest I have found is in the index.php file that comes with the template. There is a #s5_top_row1_area_inner, #s5_bottom_row3_area_inner section that has options for margin-right & margin-bottom.  However, these have some php code in it as follows: <?php echo 30 - $s5_row_side_gap; ?>px.  There is also a #s5_center_area section that allows for some margin changes, but they have code in them as well.

Where does the $s5_row_side_gap value get pulled from?


: Re: Change various module margins
: Tristan Rineer September 17, 2014, 07:44:24 AM
Any adjustments that have PHP variables can be found in the theme options under the "Shape 5 Theme" menu option in WP Admin.


: Re: Change various module margins
: rmcompsol September 17, 2014, 02:56:56 PM
So, if I try to change settings under "Shape 5 Theme", it doesn't seem to work properly.

For example:
If I try to change "Template Specific > Module Side Gap" I'm given a drop-down with 0-30.  If I try to select 0, it changes immediately to 30.  If I try to select 2, it changes immediately to 22.  The smallest I can set is 10.

I have tried to do this with IE, Chrome, & Firefox and they all exhibit the same issue.  Basically, it won't allow me to select any number from 0-9.


: Re: Change various module margins
: Tristan Rineer September 18, 2014, 06:42:04 AM
I'm not sure why the admin would be doing that, but it sounds like with what you want to do, it would probably be better to replace the PHP with the measurements that you actually want anyway.