How can I get rid of the title?
  • jordicjordic
    May 2012
    I don't need the title, what can I do so that it doesn't appear?

    Thanks,

    JK
  • display:none;

    in the css
  • jordicjordic
    May 2012
    Thanks for your prompt reply. Unfortunately mu CSS knowledge is very poor, I can see 46 different "display:" commands, which one should I change?

    Thanks!
  • Link? :D
  • jordicjordic
    May 2012
    Unfortunately the website's not yet online. Would the code help? What part of the standard.css file you want me to show you?

    Thank you very much,

    Jordi
  • try:

    h2 {display:none;}

    without the link there isn't much I can do because I need to see what you are talking about.. try that
  • jordicjordic
    October 2012
    Finally website online, can you please tell me how to remove the white title over the picture? I'd like to remove it from all pages but the blog one (where I'd like to include a longer title than the current "blog")

    Thank you very much for your kind help.

    PS. You can find the page here: http://www.enkosiafrica.net/escoge-tu-safari/planifica-tu-safari/
  • mikemike
    October 2012
    Sorry, my support staff wasn't helpful the first time. They are no longer helping with support.

    This should do the trick. It will remove all page titles.:

    #page-title h2 {display:none !important;}


    You can target the blog title by adding a class to that area. You will edit the header.php file and look for:

    <?php $page_for_posts = get_option('page_for_posts'); ?>
    <div id="page-title"><h2><?php echo get_the_title($page_for_posts); ?></h2></div>


    Add a class to it like so:

    <?php $page_for_posts = get_option('page_for_posts'); ?>
    <div id="page-title" class="blog-page-title"><h2><?php echo get_the_title($page_for_posts); ?></h2></div>


    Then add some custom css like this:

    #page-title.blog-page-title h2 {display:block !important;}




    Note: Make sure to save a back-up of your header.php file just in case.
  • jordicjordic
    October 2012
    Thanks Mike, very helpful.

    I am working with your instructions but I don't know how to do if I want "ABCABCABC" to appear as the title on the blog page and "blog" still appear on the top menu. Can you please advise?
  • mikemike
    October 2012
    My response above answer your question. You just target the blog page with the class and code so that you can keep your page title on the blog but remove it from the other pages.