New Landing How can we help? Themeforest Theme Support Nota Move the Top "Free deliver" header bar to below the Nav menu, similar to Atelia

Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Nota
  • #305691
    hexaballs
    Member
    Post count: 7

    Hi there, I would like to move the top grey “Free Delivery” header bar to below the Nav menu, similar to the turquois bar seen in Atelier.

    Previously, your support team has provided 2 codes to add on the function.php file, but both did not work for me. Could you kindly advise how to make this work, or provide the full function.php file?

    1st Attempt:
    Please install and activate the supplied child theme, inside the child theme functions.php file add this:
    remove_action( ‘nota_container_start’, ‘nota_header_banner_bar’, 20 ); add_action( ‘nota_main_container_start’, ‘nota_header_banner_bar’ );

    2nd Attempt:
    Try this instead:
    function nota_child_headerbanner_move() {
    remove_action( ‘nota_container_start’, ‘nota_header_banner_bar’, 20 );
    add_action( ‘nota_main_container_start’, ‘nota_header_banner_bar’ );
    }
    add_action( ‘init’, ‘nota_child_headerbanner_move’ );

    Best Regards
    Gene

    #305697
    David Martin – Support
    Moderator
    Post count: 20834

    Hi Gene,

    Try amending this add_action( 'init', 'nota_child_headerbanner_move' ); to add_action( 'init', 'nota_child_headerbanner_move', 100 );

    If that does not work, please add your FTP details.

    #307037
    hexaballs
    Member
    Post count: 7

    Hi, it still doesn’t work. Appreciate your help here. FTP details below:

    FTP Username: [email protected]
    FTP Password: yk(KUrOKo86w
    FTP server: http://ftp.thevlt.co
    FTP & explicit FTPS port: 21

    Best Regards
    Gene

    #307206
    David Martin – Support
    Moderator
    Post count: 20834

    Please now re-test. It should be resolved for you.

    Thanks.

    #309214
    Stonedb
    Member
    Post count: 34

    Hey,

    can you share the solution please 🙂 !

    Thanks

    #309247
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Will forward to @David so he can reply.

    -Rui

    #310822
    David Martin – Support
    Moderator
    Post count: 20834

    Sure, it was this:

    	function nota_child_headerbanner_move() {
    	    remove_action( 'nota_container_start', 'nota_header_banner_bar', 20 );
    	    add_action( 'nota_main_container_start', 'nota_header_banner_bar' );
    	}
    	add_action( 'init', 'nota_child_headerbanner_move', 100 );
Viewing 7 posts - 1 through 7 (of 7 total)

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

License required for one of the following items
Login and Registration Log in · Register