Home › Forums › Support › Custom colored hook under the header/navigation bar This topic has 7 replies, 3 voices, and was last updated 3 years, 11 months ago by David. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts April 24, 2020 at 7:12 am #1253374 Huseyin Hi team, I would like to have a hooker under the header/navigation bar, need help on creating a hook(i attached an example) Just need a solid colour background with the text where the clickable text will be a link “Are you searching for? (CLICKABLE TEXT) (CLICKABLE TEXT) (CLICKABLE TEXT) (CLICKABLE TEXT) Example:https://acrobat.adobe.com/au/en/acrobat/how-to/ocr-software-convert-pdf-to-text.html Screenshot:https://ibb.co/hyNqCfX April 24, 2020 at 8:54 am #1253690 LeoStaff Customer Support Hi there, Are you referring to this part? https://www.screencast.com/t/NhX427sE If so using the secondary navigation would be the best method: https://docs.generatepress.com/article/secondary-navigation-layout-overview/ April 25, 2020 at 8:47 pm #1255859 Huseyin Thanks, Leo for the reply Yes I’m referring to that part Wondering if this feature will work on selected pages? Because I only want the secondary navigation in selected pages April 26, 2020 at 9:15 am #1256583 LeoStaff Customer Support You can create a layout element to hide it on specific pages: https://docs.generatepress.com/article/layout-element-overview/#disable-element April 26, 2020 at 8:02 pm #1257104 Huseyin Thanks but I want the secondary navigation under the hero header, how could I achieve this? April 27, 2020 at 4:05 am #1257494 DavidStaff Customer Support Hi there, add this PHP Snippet to your site: add_action( 'after_setup_theme','lh_move_secondary_navigation' ); function lh_move_secondary_navigation() { remove_action( 'generate_after_header', 'generate_add_secondary_navigation_after_header', 7 ); add_action( 'generate_after_header', 'generate_add_secondary_navigation_after_header', 15 ); } April 27, 2020 at 4:48 am #1257562 Huseyin done, what should I name the snippet? Thanks April 27, 2020 at 5:58 am #1257656 DavidStaff Customer Support Its up to you 🙂 Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In