How to remove page name in static home page.I was try this code.But no luck
.entry-header {
display: none;
}
I am using for virtue wordpress theme.
Thanks...
I think you are missing this:
.home.entry-header {
display: none;
}
Note: Adding space between .home and .entry-header did the trick. Click here https://wordpress.org/support/topic/how-to-hide-page-title-on-static-homepage-esplanade-theme
Add this in header.php
<?php
if(is_page('your static page title or slug')) ?>
<style>
h1.entry-header{display:none !important}
</style>
<?php } ?>
You will need to create a separate page template for the homepage or edit the default page template (page.php in your theme's folder) and delete this:
<?php the_title(); ?>