Stop displaying page title
-
Frustrated. Website https://www.firechaplain101.com
theme: twentyeleven browser: firefox 36How to stop displaying page titles?
used fireBUG to find what to change in css – then checked forum
Initially changed parent style.css (added display: none; to
entry-title) in WP-content … didn’t work but tried same thing several times then it suddenly started working – almost as if the cache was cleared (in browser or in WP or at Host – hosting at NetFirms)Here is my child style.css:
/*
Theme Name: Twenty Eleven Child
Theme URI: https://fc101.netfirms.com/twentyeleven-child
Description: Twenty Eleven Child Theme
Author: RA Payne
Author URI: https://www.firechaplain101.com
Template: twentyeleven
Text Domain: twentyeleven-child
*/
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
}
.home .entry-header {
display: none;
}
.entry-title, .entry-title a {
display: none;
}
.page h1.entry-title {display: none;}As you can see, tried several things (from forum)
What am I doing wrong ??
- The topic ‘Stop displaying page title’ is closed to new replies.