• Hello
    first of all, I am a total beginner in making websites, so it would be great if you could write your answers step by step ??
    ————————————————————————–
    So, you know those titles that appear on the top of the page(example; home page is titled ‘Home”)?
    I didn’t like how those titles looked because there were too big. So I changed the colour of the title to the same colour of its background colour, so it’s invisible. So now the title is gone but instead there is a big gap between the menu bar and post area (because technically the title is still there).

    So my question is:
    1. How do I remove the title instead of hiding it?

    or

    2. How do I make the size of the title smaller?

    my website is: https://www.greennebula.space
    Theme used: Optimizer

    when you look at the ‘LOOK’ page, you can see the big eyes emoticon under the menu bar and that’s how big the size of the title was.

    THANK YOU:)

Viewing 7 replies - 1 through 7 (of 7 total)
  • you will need to find the file that has the code and edit it.This can be dangerous if you don’t know what you’re doing : )

    if it goes bad you can re upload the original theme.

    so one way is to go to appearance>editor and find a file named ‘style.css’, select it and then add this code at the bottom

    .page_head .postitle { display:none;}
    Thread Starter greenshimmy

    (@greenshimmy)

    Thank you for your reply!:)
    When I go to appearance > editor it goes staight to a page subtitled: Stylesheet(style.css)
    without me selecting a file.

    Is that the one you are talking about?

    and by adding the code at the bottom
    do you mean add it after a space from the last code? or right after the last code?

    Neither. If you edit the theme files directly, you’ll lose those changes if the theme is ever updated, to fix bugs or security issues or to add new features. Instead, you should use your theme’s built-in custom CSS option, if one exists, or a custom CSS plugin.

    stephen is right, better to to use a child theme or a custom css box.

    just insert it after the last code you see.

    Thread Starter greenshimmy

    (@greenshimmy)

    Thank you both! I did use a custom css plugin, put the code and it did reduce the space although there is still some space left but it’s much better than before! ??

    Most WordPress themes displayed by default the title of each page in the page itself . Many times it can seem like a repeat because we have already highlighted in the menu on which page you are. And it is for this reason that we prefer not the title of her own page appears.

    How to remove the title of the page in WordPress?

    To remove the page title you’ll have to access the page.php file or content-page.php .

    You can access the file via ftp or via the WordPress admin panel. To do this: Appearance> Editor and select the page in question , that will or page.php or content-page.php (depends on how you have made ??the issue).

    Once on the page, look for the following:

    1
    <? Php the_title (); ?>
    or this one:

    1
    <? Php single_post_title (); ?>
    On some issues the first php code and in others the second will appear. But no matter which of the two is your theme, as do the same.

    And just delete it or put a comment like adding placing it between <! – and -> .

    1
    !? <- <Php the_title (); ?> ->
    Once deleted or placed as a comment this little piece of code and not the title will be shown in every page of your WordPress website.

    * As the title usually goes within <h1>, <h2> or <header> , you need to also delete them. Once you have removed the piece of code I wrote a little higher, the labels that contained no longer have anything in and have no reason to be there.

    Do you really want to remove the title of each page?

    Before making disappear the title of each of your page thought: do you really need to take it away? And I say this because it will be good to have a face to SEO h1 containing the title of the page and show what is the page in question.

    If you want to remove, go ahead, but first ask yourself SEO. In this blog I removed the names of the pages, but would not rule them again … I did not think the SEO when you remove all the titles of each page.

    Just be aware that if you edit the theme files directly, you’ll lose those changes if the theme is ever updated, to fix bugs or security issues or to add new features. If you’re going to edit the PHP files, it’s best to make a child theme, copy the appropriate PHP files to your child theme’s folder, and edit the copies instead.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to remove page title instead of hiding it’ is closed to new replies.