Need CSS help – suppress entry-title on pages
-
I want to use style.css to suppress display of the so-called entry-title on all pages, or at least just on the Home page for now.
The following CSS fails–i.e., the word “Home” still appears. User error, doubtless, but I can’t see how to fix it. Any ideas appreciated.
.home h1.entry-title { display:none; }
Here is the page source excerpt from the actual home page taken after the above CSS was added to child style.css. (This home page has no tricks; it is a stock twentysixteen “Page” with title and body text and a featured image. That featured image falls just below the excerpted HTML shown here).
body class="home page-template-default page page-id-4 logged-in admin-bar no-customize-support wp-custom-logo"> ... <div id="content" class="site-content"> <div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <article id="post-4" class="post-4 page type-page status-publish has-post-thumbnail hentry"> <header class="entry-header"> <h1 class="entry-title">Home</h1> </header><!-- .entry-header -->
____
I’m using parent theme twentysixteen theme just setup this week.I’m using a child theme of my own with just a few basic mods so far, all done with dashboard prior today’s issue.
I have proven that child style.css is getting loaded and utilized (I just changed some <p> text to green).
- The topic ‘Need CSS help – suppress entry-title on pages’ is closed to new replies.