CPM
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Fortunato] Auto Scroll on 404 pageReceived a reply from CrestaProject:
To add “automatic scroll” to the 404 page, edit the “404.php” template and add this JS code before the <?php get_footer(); ?> line:
<script>
(function($) {
$(document).ready(function() {
setTimeout(function() {
$(‘html, body’).animate({ scrollTop: $(‘.site-header’).outerHeight() }, 1000);
return false;
}, 1000);
});
})(jQuery);
</script>Forum: Themes and Templates
In reply to: [Fortunato] i want to remove social media buttonwas able to figure this one out. in the theme editor (under “appearance” in wordpress) select Theme Header (header.php) and find this line:
<div class=”site-social”>you’ll just need to delete this section. for me it was lines 176-183. this successfully deleted the social icons from the header. fortunately, they still show in the footer. here is everything i removed:
<div class=”site-social”>
<div class=”socialLine”>
<?php fortunatopro_getSocialWidget(); ?>
<?php if ( function_exists( ‘ot_get_option’ ) && ot_get_option(‘show_search_on_page’, ‘on’) == ‘on’ ) : ?>
<div class=”openSearch”><i class=”fa fa-search”></i></div>
<?php endif; ?>
</div>
</div>cheers!
Forum: Themes and Templates
In reply to: [Fortunato] i want to remove social media buttonbump. would be great to have icons in the footer only.