• 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

Enterprise Pro theme – some .js tricks not working correctly

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 › Enterprise Pro theme – some .js tricks not working correctly

This topic is: resolved

Tagged: clear search box text, Enterprise Pro. javascript, js, Sridhar Katakam, sticky

  • This topic has 9 replies, 3 voices, and was last updated 11 years, 11 months ago by AnitaC.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • January 18, 2014 at 7:46 pm #85808
    jhguynn
    Member

    I'm using the Enterprise Pro theme, and I'm trying to apply Sridhar Katakam's tutorials for the following topics, and my prefered method for both involved adding code to functions.php and using javascript (and perhaps some css):

        sticky primary nav: http://sridharkatakam.com/how-to-set-up-sticky-header-or-navigation-in-genesis/
        clear search form input box text on focus: http://sridharkatakam.com/make-search-form-input-box-text-go-away-focus-genesis/

    I'm proficient enough at coding, so for the purposes of this question, let's assume I followed the instructions correctly. For some reason, I can't get either method which employs .js to work, whereas I can get the 'clear search box text' to work using css only.

    Am I missing something here? I'd appreciate if someone could take a look at applying these methods (which use javascript) to Enterprise Pro and letting me know if there's a trick I need to know.

    Many thanks!

    PS: working localhost, so I can't supply a link.

    January 18, 2014 at 7:54 pm #85812
    AnitaC
    Keymaster

    I would suggest that since you are using Sridhar's instructions that you should contact him about what he's done and how his coding logic works.


    Need help with customization or troubleshooting? Reach out to me.

    January 18, 2014 at 9:09 pm #85830
    jhguynn
    Member

    Anitac: I checked his website's contact from, and it suggests he mainly has time for paid support, i.e. that he may not get back to me. Since other's here use his tutorials, and since Sridhar also checks in here, I thought I'd post my question here. My question stands, especially with respect to the Enterprise Pro theme. Thanks.

    January 19, 2014 at 7:23 am #85861
    Sridhar Katakam
    Participant

    I implemented the steps to make Primary nav sticky per my above linked article in Enterprise Pro and it is working fine.

    Ditto w.r.t js method to clear search form input field text.

    http://www.youtube.com/watch?v=zHRRD5_CD-s


    Genesis Tutorials | Follow me on Twitter

    January 19, 2014 at 9:45 am #85887
    jhguynn
    Member

    Sridhar:

    Thanks for your quick response. Here's a short video (<2 min) of me showing where I put the code according to your instructions. Perhaps you can tell from this whether or not I'm doing something wrong:

    Short Video - code insertion for sticky nav / clear search form box text

    Video direct link: http://ums-media.s3.amazonaws.com/Studiopress/enterprise-pro-sticky-nav-clear-search-form-text.mp4

    Thanks for your help!

    January 19, 2014 at 9:49 am #85890
    Sridhar Katakam
    Participant

    The issue is the placement of .js files. They should be kept in /js folder under the child theme.

    Ex.:

    wp-content/themes/enterprise-pro/js/sticky-nav.js

    wp-content/themes/enterprise-pro/js/clear-search-form.js


    Genesis Tutorials | Follow me on Twitter

    January 19, 2014 at 9:50 am #85892
    jhguynn
    Member

    Wow, what an amateurish blunder! Thanks for clearing that up so quickly.

    January 20, 2014 at 6:24 am #86071
    AnitaC
    Keymaster

    @jhguynn, can you mark this resolved if you've fixed it? Thank you.


    Need help with customization or troubleshooting? Reach out to me.

    January 20, 2014 at 7:24 am #86085
    jhguynn
    Member

    anitac: how do I mark a thread as resolved?

    January 20, 2014 at 7:25 am #86086
    AnitaC
    Keymaster

    At the very top, you will see a drop down. Click that and select Resolved.


    Need help with customization or troubleshooting? Reach out to me.

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 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

© 2025 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