New Landing How can we help? Atelier Location of slide out menu file

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Atelier
  • #330586
    Thierry
    Member
    Post count: 37

    Hi team SwiftIdeas,

    I’m currently looking for the file where to add two extra input fields to the search bar on top of the mobile slide out navigation.

    The code I’m trying to implement is as follows:

    <input type="hidden" value="product" name="post_type" />
    <input type="hidden" value="true" name="aws_type" />

    The screenshot attached to this topic indicates the form it is about.

    I’m making my modifications in the child theme, so no worries.

    Thanks!

    Yours,
    Thierry

    Attachments:
    You must be logged in to view attached files.
    #330629
    David Martin – Support
    Moderator
    Post count: 20834

    Hi Thierry,

    Are you trying to limit the search to certain custom post types?

    You can limit the header search to certain posts types via Theme Options => Header Options => Header Search Post Type.

    You can also override the functionality via your child theme. The function is called sf_mobile_menu and is located in the file /atelier/includes/overrides/sf-theme-functions.php. You only need to move the funtion sf_mobile_menu() to your child theme functions.php file and not the entire file sf-theme-functions.php.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register