• Hey guys!
    I posted a question about the same thing a little while back but I have a problem with my page’s titles appearing on some of my website pages even though i have the plugin “hide title” installed. It works on most pages but on some pages like this one it remains there! How can I get rid of that without having to touch too much code?

    Thank you in advance for your help!

Viewing 13 replies - 1 through 13 (of 13 total)
  • What are you trying to hide exactly?
    If it is the post title you can use CSS like this:

    .entry-title {
       display:none;
    }

    David_G

    (@questas_admin)

    That code will work, Do you know how to add CSS to your theme? Don’t edit the theme files directly.

    to make it specific for pages, i.e. still allow to show the title on posts, try:

    .page .entry-title { display: none; }

    consider using a ‘custom CSS’ plugin to add the new CSS; https://www.ads-software.com/plugins/search.php?q=custom+css

    I recommend that as well to target pages only.

    But…

    A plugin for that style seems expensive. Just add it to a child theme’s styles.css

    Thread Starter tbucks11

    (@tbucks11)

    Hey everyone, thanks for your follow up on this,
    I tried pasting

    .entry-title {
    display:none;
    }

    in my custom css plugin, but the title is still there on these pages:
    https://thais-breton.com/black-white-autobiographical-short/
    https://thais-breton.com/soil-pimp-sessions-live-hanoi/
    as well as on a few others..

    Thanks!

    David_G

    (@questas_admin)

    Take a look at this very useful tool for Mozilla. It will help you with customizing your site.

    https://getfirebug.com

    David_G

    (@questas_admin)

    If you haven’t already created a child-theme.

    The best way to make changes like this to a theme is to use a child theme, so your tweaks won’t be overwritten when updating the theme. Here are some guides in case you haven’t made one before:

    https://codex.www.ads-software.com/Child_Themes
    https://op111.net/53/

    This will overwrite any other existing rules.
    .page .entry-title { display: none !important; }

    David_G

    (@questas_admin)

    Only use the !important tag as a last resort. I’m not saying not to use it. Just use it with discretion.

    Thread Starter tbucks11

    (@tbucks11)

    So I tried Travinum1’s code pasted in my Custom Css and it still didn’t work!

    As a side note, questas_admin, I might need to start a different thread as this is another question regarding child’s theme:
    My web designer did my entire website touching the theme (pho theme)’s structure itself. He mentioned changing stuff in the foot page and the css in the editor. If I make a child theme now, with my website already done, is there a way I can reset the theme back to normal and put his changes onto the child theme? Sounds frightening, especially because it might be hard to find whatever changes he made..

    Thank you so much in advance for your help on this issue..!

    David_G

    (@questas_admin)

    It doesn’t change your theme, the child theme uses the files from the parent theme. The child only gives you a way to customize without disturbing the Parent theme. The only thing you MIGHT have to reset would be your menu and maybe widgets. Take a look at the links I provided earlier.

    Do you still have contact with your web designer?

    Thread Starter tbucks11

    (@tbucks11)

    So my page titles are still on the pages ??

    Hey Questas, yes I do still have contact with my web designer but already paid me and I don’t want to disturb him again. Once I installed the child theme, what should I do in order to fix things? Reset the pho theme but before copy/paste everything from the editor into the child theme?
    I’m not even sure how to backup my site so…

    Thanks!

    David_G

    (@questas_admin)

    Sorry it took so long to respond, I was away for a couple days.

    I am not seeing the child theme on your site. Are you sure you have the child-theme activated in APPEARENCE -> THEMES. There should be your parent theme PHO which is likely the ACTIVE THEME. There should also be a PHO-CHILD or something like that, You need to activate the child theme for it to work.
    Once you activate the child, the parent (PHO) will still be there, but not showing as active, this is normal, it really is active THROUGH the child.

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