Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter CPM

    (@cpmindustrial)

    Received 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>

    CPM

    (@cpmindustrial)

    was 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!

    CPM

    (@cpmindustrial)

    bump. would be great to have icons in the footer only.

Viewing 3 replies - 1 through 3 (of 3 total)