Home › Forums › Themes Support › Claue › Footer layout on iPad
- This topic has 9 replies, 2 voices, and was last updated 6 years, 3 months ago by Harry.
-
AuthorPosts
-
-
January 9, 2018 at 9:43 am #15839
-
January 9, 2018 at 11:59 am #15845
Hi,
Please go to Apperance > Widget and add sample code to Footer #1
<div class="footer-contact"> <p><a href="index.php"><img alt="Claue" src="http://temp.janstudio.net/claue/wp-content/uploads/2016/10/logo-2x.png" class="mb__15 size-full" width="96" height="27"> </a></p> <p class="middle-xs"><i class="pe-7s-map-marker"> </i><span>184 Main Rd E, St Albans <br> <span style="padding-left: 30px">VIC 3021, Australia</span></span></p> <p class="middle-xs"><i class="pe-7s-mail"></i><span> <a href="mailto:[email protected]">[email protected]</a></span></p> <p class="middle-xs"><i class="pe-7s-call"></i> <span>+001 2233 456 </span></p> <ul class="jas-social mt__15"> <li><a href="https://www.facebook.com/JanStudio-527963834074920/" title="Facebook"> <i class="fa fa-facebook"></i> </a></li> <li><a href="https://twitter.com/jan_studio" title="Twitter"> <i class="fa fa-twitter"></i> </a></li> <li><a href="https://plus.google.com/u/1/102811781810668807583" title="Google Plus"> <i class="fa fa-google-plus"></i> </a></li> <li><a href="//instagram.com/" title="Instagram"> <i class="fa fa-instagram"></i> </a></li> <li><a href="https://www.pinterest.com/janstudio16/" title="Pinterest"> <i class="fa fa-pinterest-p"></i> </a></li> </ul> </div>
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
January 14, 2018 at 11:58 pm #16100
Hello,
Can I do this modification thru the child theme?
Thank you!
-
January 15, 2018 at 12:10 am #16105
Hi,
Yes, you can override in child theme by copy file layout-x.php as the footer layout run on your site in claue > views > footer to claue-child > views > footer.
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
January 15, 2018 at 12:25 am #16107
Hello,
I went to claue>views>layout-1.php and I can’t not find
as you advised in the code pasted first time.<?php/** * The footer layout 1. * * @since 1.4.6 * @package Claue */?><footer id=”jas-footer” class=”bgbl footer-1″ <?php jas_claue_schema_metadata( array( ‘context’ => ‘footer’ ) ); ?>> <?php if ( is_active_sidebar( ‘footer-1’ ) || is_active_sidebar( ‘footer-2’ ) || is_active_sidebar( ‘footer-3’ ) || is_active_sidebar( ‘footer-4’ ) || is_active_sidebar( ‘footer-5’ ) ) : ?>
<?php if ( is_active_sidebar( ‘footer-1’ ) ) { dynamic_sidebar( ‘footer-1’ ); } ?><?php if ( is_active_sidebar( ‘footer-2’ ) ) { dynamic_sidebar( ‘footer-2’ ); } ?><?php if ( is_active_sidebar( ‘footer-3’ ) ) { dynamic_sidebar( ‘footer-3’ ); } ?><?php if ( is_active_sidebar( ‘footer-4’ ) ) { dynamic_sidebar( ‘footer-4’ ); } ?><?php if ( is_active_sidebar( ‘footer-5’ ) ) { dynamic_sidebar( ‘footer-5’ ); } ?><!– .jas-row –>
<!– .jas-container –>
<!– .footer__top –> <?php endif; ?>
<?php if ( has_nav_menu( ‘footer-menu’ ) ) { echo ‘‘; } echo do_shortcode( cs_get_option( ‘footer-copyright’ ) );
if ( has_nav_menu( ‘footer-menu’ ) ) { echo ‘‘; }
wp_nav_menu( array( ‘theme_location’ => ‘footer-menu’, ‘menu_class’ => ‘clearfix’, ‘menu_id’ => ‘jas-footer-menu’, ‘container’ => false, ‘fallback_cb’ => NULL, ‘depth’ => 1 ) ); if ( has_nav_menu( ‘footer-menu’ ) ) { echo ‘‘; } ?>
<!– .footer__bot –></footer><!– #jas-footer –>
Can you clarify a bit please?
Thanks
-
January 15, 2018 at 12:27 am #16108
Hello,
I went to claue>views>layout-1.php and I can’t not find as you advised in the code pasted first time. Here’s the pastebin:
Thanks
-
January 15, 2018 at 10:35 am #16113
Hi,
If you paste code please go to Appearance > Widget > Footer #1 > Add text widget and add code.
The layout in child theme only help you customize layout. If you don’t want to change layout we recommend don’t touch to PHP file.
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
January 15, 2018 at 9:32 pm #16137
Hello,
I need to do it thru the php files or child theme. I am installing the theme a lot of times because I’m testing JS/CSS optimizations and I can’t loose time to redo all the fixes by hand everytime I’m installing the theme.
Thanks,
Luigi
-
January 15, 2018 at 11:56 pm #16143
Hi,
You don’t need to do in PHP or child theme just go to Dashboard Appearance > Widget > Footer #1 > Add text widget and add above code.
If you can’t please send us your site admin account as private reply. We will take a look and help you solve your issue.
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
January 16, 2018 at 2:10 pm #16163
Hi,
Please put the code to child-theme > views > footer > layout-1.php and replace code
<?php if ( is_active_sidebar( 'footer-1' ) ) { dynamic_sidebar( 'footer-1' ); } ?>
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
-
-
AuthorPosts
You must be logged in to reply to this topic.