- This topic has 15 replies, 3 voices, and was last updated 3 years, 5 months ago by Ying.
-
AuthorPosts
-
December 3, 2014 at 8:51 am #51045Steven Coutts
Hi there,
Brilliant theme, bought the update and it works a treat. Just wondering if there is a way to move the site tagline below the logo and also change the font and colour of the tagline.
Thanks
Steven Coutts
December 3, 2014 at 10:11 am #51054TomLead DeveloperLead DeveloperHi Steven, glad you’re enjoying GP π
1. Best way to do this is using GP Hooks. First, go to “Appearance > Customize > Header Content” and disable the tagline.
2. Now go to “Appearance > GP Hooks” and add this inside the “After Header Content” hook:
<p class="site-description">Your tagline here</p>
3. To change the color, go to “Appearance > Customize > Colors > Header Colors” – in there you’ll see a “Tagline” option.
Hope this helps!
May 11, 2017 at 3:36 pm #316913LuisGreat Job with GP Hooks. share more possibilities about the uses about it and share some woo commerce CSS responsive
May 11, 2017 at 5:09 pm #316937TomLead DeveloperLead DeveloperAnything is really possible in GP Hooks, it doesn’t have many limitations.
As for WooCommerce, our new WooCommerce add-on is shipping in the next version of GP Premium π
November 21, 2017 at 1:11 pm #430164HowardHi Tom:
followed instructions as per hooks to move tagline below logo header.
Each time I update (publish) the site displays my logo and underneath Your Tagline here..
I must be doing something wrong but I do not think so?
HowardNovember 21, 2017 at 1:12 pm #430165HowardI added the text to the box and before that disengaged tagline..then put your code in the hook below header. (of course saved HOOKS)
thanks howardNovember 21, 2017 at 2:03 pm #430201LeoStaffCustomer SupportHi Howard,
That method should still work.
Can you link us to the site?
If you need to keep it private, feel free to start a new topic so you can use the URL field that only myself and Tom can see.
Thanks!
May 28, 2018 at 11:51 pm #586779RobertThe hook solution after header content works for me on desktop, but on mobile the site-navigation gets between logo and description. Anything I can do?
May 29, 2018 at 4:42 am #586922DavidStaffCustomer SupportHi Robert,
can you start a new topic and provide a link to the site?
February 3, 2021 at 5:12 am #1644116JeffThanks for this solution (and great theme)!
Taking it a step further, if you check “Execute PHP”, you can insert the existing tagline that is set in the customizer and general settings.
<p class="site-description"><?= get_bloginfo( 'description' ); ?></p>
March 17, 2021 at 12:03 pm #1699411TJHey all! I followed the steps to set up the hook but for some reason the tagline is displayed next to rather than under the logo: https://shopdoge.xyz/
Any input as to why? Or how I can get it below the logo?
March 17, 2021 at 12:38 pm #1699447YingStaffCustomer SupportHi TJ,
You could try to add this CSS:
.inside-header { flex-direction: column; }
March 17, 2021 at 1:05 pm #1699470TJHi Ying,
Thanks for the recommendation! That gets the tagline under the logo, but it also moves the logo and the tagline both to the center.
March 17, 2021 at 1:28 pm #1699496YingStaffCustomer SupportI haven’t seen the layout before the tagline being added, so what layout are you looking for?
Logo and tagline to the left? If so, try add this as well π
.site-logo, .site-description { margin-right: auto; }
March 17, 2021 at 1:50 pm #1699519TJYes, that did it. Thank you!!!
-
AuthorPosts
- You must be logged in to reply to this topic.