$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>homepage - Delete Title Bar|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

homepage - Delete Title Bar

matteradmin10PV0评论

I am new in WordPress and web development. Starting to learn. I have browsed through this site but couldn't find any way to solve my problem.

This is my homepage on the website that currently I'm building. I want to delete this brick picture. I tried to install a hide title plugin, but still unsuccessful.

This website link is nurulsazlinprubsntakaful.

Hope someone can help me.

Appreciate a lot.

tq

I am new in WordPress and web development. Starting to learn. I have browsed through this site but couldn't find any way to solve my problem.

This is my homepage on the website that currently I'm building. I want to delete this brick picture. I tried to install a hide title plugin, but still unsuccessful.

This website link is nurulsazlinprubsntakaful.

Hope someone can help me.

Appreciate a lot.

tq

Share Improve this question edited Jan 4, 2019 at 4:05 RiddleMeThis 3,8078 gold badges22 silver badges30 bronze badges asked Jan 4, 2019 at 1:22 Elit TechsElit Techs 52 bronze badges 1
  • What theme are you using? You should provide as much detail as possible when asking a question. – RiddleMeThis Commented Jan 4, 2019 at 2:09
Add a comment  | 

2 Answers 2

Reset to default 0

Go into the admin. Click on Appearance > Customize > Additional CSS and paste in the following CSS.

.home .page_header {
    display: none !important;
}

This will hide the entire header area. You could remove the image and add a color by adding something like this.

.home .page_header {
    background-color: red;
    background-image: none !important;
}

Note: the .home before each selector will only apply these to the homepage, because the body on the homepage has class .home. If you want to apply these on all pages just remove the .home, like this...

.page_header {
    display: none !important;
}

Currently, your problem will be fixed by looking in the theme code, but since you are a novice of WP, the easiest way is to set the CSS property to hide it.

.page_header{display:none;}

you can put in at the end of file style.css

or

you can try the below code and put in at the end of file functions.php

add_action('wp_head', 'custom_hook_css');
function custom_hook_css() {
    if(is_home() && is_front_page()){
        echo '
            <style>
                .page_header {
                    display : none;
                }
            </style>
        ';
    }
}

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far