Forum Support

Shape 5
March 28, 2024, 06:59:20 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Change various module margins  (Read 832 times)
rmcompsol
Jr. Member
**
Offline Offline

Posts: 2



« 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
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 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

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
rmcompsol
Jr. Member
**
Offline Offline

Posts: 2



« Reply #2 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
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #3 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

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
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.