Discover in this tutorial how to display the description of the web in Genesis Sample with a simple code snippet.
Many Genesis child themes offer the option of introducing a phrase, idea or description in the web header next to the logo.
However, if you are using Genesis Sample, it may not be displayed even if you have insert it.
In fact, one subscriber asked me just this in the tutorial on how to remove the description:
Hello Nahuai,
And how would you do it backwards?
I use Genesis Sample and although in the customizer I fill in the description field, I don’t see it in the front-end.
I solved it with the Genesis Simple Hooks plugin, putting the text in genesis_site_description but it seems too much to use a plugin just for that.
How would you do it by code?
Thank you as always.
Well, here you have the instructions to do it without using any plugin, just modifying a few lines to code.
Snippet to display the web description on the header in Genesis Sample
To display the description under the logo, replace the following fragment in style.css (line 962):
To see this and another 1097 code snippets of this website, login or subscribe here.
It’s as simple as that.
Actually, Genesis Sample (2.8) generates the HTML with the site description, but keeps it hidden by CSS.
With these simple modifications you get it to display.
Conclusion
If you want to display the site description in Genesis Sample, now you know how to get it with some CSS changes.
Any questions? I read you in the comments.
And if you want to give me any suggestion for future tutorials, leave it in the contact form. Advantages of being a subscriber. 😉