WP SITES

3095 Coded Tutorials & 297 Plugins

Remove Genesis Site Title Conditionally

Both these code snippets include a conditional tag which removes the site title from the front page.

You can modifiy, replace or add to the conditional tag based on your own needs.

Alternatively, you could also use code like this to return something else conditionally. In this example it simply returns the title.

If you prefer using CSS code, you can grab the post/page i.d or template class from the body classes in your source code and use it in a new rule like this:

.home .site-title {
display: none;
}

Was this helpful?

Yes
No
Thanks for your feedback!

One response to “Remove Genesis Site Title Conditionally”

  1. Add Site Title Before or After Nav Menu

    […] Remove Genesis Site Title Conditionally […]

Leave a Reply