Forum Support

Shape 5
March 28, 2024, 05:26:25 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: Our Services Top boxes  (Read 966 times)
jchenline
Jr. Member
**
Offline Offline

Posts: 21



« on: July 18, 2018, 03:42:10 PM »

I am trying to have just a picture and use the green box under the picture for my tab name. I do not have a description to put under the picture so there is a lot of empty white space in the box. Is there a way to change the size of those 4 boxes?
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: July 19, 2018, 07:25:51 AM »

Hello,

I'm sorry I am not sure what white space you would be referring to. Please post a url to your site where this can be seen.
Logged

Mike Knott
------------
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
jchenline
Jr. Member
**
Offline Offline

Posts: 21



« Reply #2 on: July 19, 2018, 12:05:33 PM »

I am referencing the white space underneath the green bars that say get started now.
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #3 on: July 20, 2018, 07:49:24 AM »

Hello,

That is because your image on the right is taller than the rest. There is a script that keeps the boxes the same height. You can disable this by removing the following in the template's index.php file, but I would not recommend it.

<script>
function s5_check_service_height() {
   var s5_check_service_height_holder = 1;
   var s5_check_service_height1 = document.getElementById("s5_body").querySelectorAll('DIV');
   for (var s5_check_service_height1_y=0; s5_check_service_height1_y<s5_check_service_height1.length; s5_check_service_height1_y++) {
      if (s5_check_service_height1[s5_check_service_height1_y].className.indexOf("ervice_item_text_inner") >= 0) {
         s5_check_service_height1[s5_check_service_height1_y].style.minHeight = "1px";
         if (s5_check_service_height1[s5_check_service_height1_y].offsetHeight > s5_check_service_height_holder) {
            s5_check_service_height_holder = s5_check_service_height1[s5_check_service_height1_y].offsetHeight;
         }
      }
   }
   if (document.body.offsetWidth >= 550) {
   var s5_check_service_height2 = document.getElementById("s5_body").querySelectorAll('DIV');
   for (var s5_check_service_height2_y=0; s5_check_service_height2_y<s5_check_service_height2.length; s5_check_service_height2_y++) {
      if (s5_check_service_height2[s5_check_service_height2_y].className.indexOf("ervice_item_text_inner") >= 0) {
         s5_check_service_height2[s5_check_service_height2_y].style.minHeight = s5_check_service_height_holder + "px";
      }
   }
}
}
jQuery(document).ready( function() { s5_check_service_height(); });
jQuery(window).resize(s5_check_service_height);
</script>
Logged

Mike Knott
------------
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.