Archived topic
site description below menu?
7 replies · Started by sparkle on September 24, 2020
i looked at the Navigation as a Header article and unfortunately it's not quite what i want to do.
https://docs.generatepress.com/article/navigation-as-a-header/
i've set my primary nav up with the logo as a menu item. it looks basically the way i want.
what i'd like to do differently is drop the site description (in this screenshot it's the text that reads Visual Science Communication and Scientific Illustration) to below the menu.
what's the best way to do that?
Hi there,
Try re-adding it using a hook element with generate_after_header hook with this as the content:
<p class="site-description" itemprop="description">
Visual Science Communication and Scientific Illustration
</p>
https://docs.generatepress.com/article/hooks-element-overview/
excellent. thank you.i added a bit of css and checked 'hide site tagline' in the header customizer and now it's just right. thank you.
No problem :)
oh... is there a hook that i could use to put a shortcode directly after the site title? so that a button appears in line with the "i draw so you know things?' bit?
oh haha. actually now my friend wants the 'i draw so you know things' under the site description. oy.
oh! i got it accomplished with a child theme header file. nevermind! :)
Glad to hear :)