• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

modifying home.js file in Centric Pro Theme

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › modifying home.js file in Centric Pro Theme

This topic is: not resolved

Tagged: centric, menu, sticky menu

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 3 months ago by volt.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 6, 2014 at 4:29 pm #103937
    volt
    Member

    When a user clicks on the arrow down button on the homepage, the main navigation menu is not visible unless the user scrolls up again?

    Sent an email to Studiopress support regarding this issue, received reply listed below:

    "The scroll location is set to the top of the home featured widget area, so you would need to change that
    setting to locate it above the secondary navigation menu. You can adjust the location of the scroll by editing the home.js file. You would need to access this file with an FTP or the file manager of your host's control panel. It is located in the /js folder of the theme files.

    Need help exactly how to modify the code listed below from the home.js file to fix this issue.

    Thank you.

    jQuery(function( $ ){

    $('.home-featured .wrap') .css({'height': (($(window).height()))+'px'});
    $(window).resize(function(){
    $('.home-featured .wrap') .css({'height': (($(window).height()))+'px'});
    });

    $(".home-featured .home-widgets-1 .widget:last-child").after('<p class="arrow"></p>');

    $.localScroll({
    duration: 750
    });

    });

    http://www.propertybankers.com
    May 7, 2014 at 1:40 am #104019
    Tom
    Participant

    Is there a reason for using the primary nav location for your menu?

    Centric provdes a "sticky" menu when using the custom menu widget in the header right widget area. no need to modify javascript or add a plugin. See the theme instructions: http://my.studiopress.com/setup/centric-pro-theme/


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    May 7, 2014 at 4:04 am #104029
    volt
    Member
    This reply has been marked as private.
  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble