• Skip to primary navigation
  • Skip to main content
OsomCode

OsomCode

Awesome code tutorials for WordPress and Genesis

  • Subscribe
  • My account
    • Edit profile
    • Favorites
    • Update credit card
  • Login

Hide the entry title using CSS in Genesis Framework

Learn how to remove the title of a Genesis Framework entry in this tutorial by using a few lines of CSS.

If you want to hide the title of a particular post you can easily do it with code.

Snippet to remove the title in Genesis entries

Add the following fragment at the end of style.css:

To see this and another 847 code snippets of this website, login or subscribe here.

In this case, you’re hiding the title of the post with ID 1.

How do you find out the ID of a post?

You have 2 options:

  • Go to edit the post and examine the url. In this case, you will see something like this:
https://osomcode.com/wp-admin/post.php?post=1&action=edit

The ID is the number right after post=, in other words, 1.

  • Use the web browser’s inspector. In most browsers you can right-click to display the “Inspect” option.

There is also usually a keyboard shortcut similar to: Cmd + Alt + I.

When the inspector opens you will see many lines of code, but in this case you are only interested in the body:

Web browser inspector post ID title
Identify entry ID using the web inspector

Inside the body tag you will see different classes. One of them starts with postid- followed by a number. That’s the ID.

Conclusion

With a few lines of CSS code you can remove the title of the entry you want in Genesis Framework.

If you have any question, please leave it in the comments. And if you want to give me a suggestion for future snippets, please send it through the contact form.

Benefits of being a subscriber. 🙂

CSS Genesis Framework Location Post Title

To leave read and make questions about this code, you can login or register.

  • About OsomCode
  • FAQ
  • Contact

Legal Notice · Privacy Policy · Cookie Policy · Terms and conditions
Copyright © 2023

Lost your password?