Forum Support

Shape 5
March 29, 2024, 06:24:29 AM *
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: Disabling Custom_1 position in responsive layout  (Read 394 times)
asoundidea
Jr. Member
**
Offline Offline

Posts: 17



« on: April 18, 2014, 11:10:55 AM »

I looked for this topic, but found nothing. I have Big Picture installed via a Site Shaper. All's well except that I want to deactivate the main slideshow assigned to the Custom_1 position in mobile layouts. I've used the "Hide Tablet Divs" and "Hide Mobile Divs" features in the template layout interface, but the slideshow is still showing up. Any suggestions as to what the problem is?

Thanks,

Mike

Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: April 21, 2014, 02:05:07 PM »

Hello,

To fix this just open up index.php and look for:

<?php if($s5_pos_custom_1 == "published") { ?>         
<div class="s5imageslidesetup">
   <div class="s5imageslide_outter">
      <div class="s5imageslide_inner">
         <?php  s5_module_call('custom_1','notitle'); ?>                  
      </div>
   </div>   
</div>   
<?php } ?>


and then replace it with:

<?php if($s5_pos_custom_1 == "published") { ?>         
<div id="s5_pos_custom_1">
<div class="s5imageslidesetup">
   <div class="s5imageslide_outter">
      <div class="s5imageslide_inner">
         <?php  s5_module_call('custom_1','notitle'); ?>                  
      </div>
   </div>   
</div>   
</div>   
<?php } ?>
Logged

Jonah Hall
------------
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
boerdeboer
Jr. Member
**
Offline Offline

Posts: 13



« Reply #2 on: April 29, 2014, 05:12:54 AM »

Thx for the code. I need this exactly :-)
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #3 on: April 29, 2014, 02:34:59 PM »

Let us know if you have any further questions!

-Mike
Logged

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