Forum Support

 
Advanced Search


New Posts
FAQs for Wordpress
If you have a question about Wordpress products please read through a list of our most commonly asked questions here.
[1]

Offline rmcompsol
Free Member
Posts: 2
Posted on: 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?
Logged

Offline Tristan Rineer
Free Member
Posts: 3858
Posted on: 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.
Logged

Offline rmcompsol
Free Member
Posts: 2
Posted on: 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.
Logged

Offline Tristan Rineer
Free Member
Posts: 3858
Posted on: 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.
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.02 seconds with 22 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.