• Resolved KLMD

    (@klmd)


    Anyway to add text to the header section, above the social media and search icons? For example a phone number in the top right corner of header?

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author WEN Themes

    (@wenthemes)

    You can do this by removing main action
    remove_action( 'wen_corporate_action_header_right_area', 'wen_corporate_search_box_in_header', 10 );

    and overriding it by your custom function hooked like below.

    add_action( 'wen_corporate_action_header_right_area', 'wen_corporate_text_above_search_box_in_header', 10 );

    Thank you.

    Thread Starter KLMD

    (@klmd)

    Thanks for the follow up. Would I replace the code in CSS if so where is wen_corporate_action_header_right_area located. Or would I add to the custom CSS section.
    Thanks

    Theme Author WEN Themes

    (@wenthemes)

    This function is located in your theme’s ‘\inc\theme-hooks.php’ file.

    Make sure you create a child theme and add this customization in your functions.php file.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding header text’ is closed to new replies.