WordPress.org

Forums

Baskerville
[resolved] remove page title only in homepage (4 posts)

  1. adv4
    Member
    Posted 9 months ago #

    Hi,

    I read this answer http://wordpress.org/support/topic/remove-page-title-and-padding?replies=5 but i need only remove page title in my homepage, when i put this code, i remove all page title in the web. I use the child theme.

    Tks

  2. CrouchingBruin
    Member
    Posted 9 months ago #

    Whenever you post a question, please include a link to your site, it makes it easier to see what is wrong or to suggest solutions. Otherwise, I would have to install the theme myself.

    I assume you have a static page for your home page and not a blog? You can try adding this CSS to your child theme's style.css file:

    .home .post-header {
       display: none;
    }

    This should only affect the page title on your home page.

  3. adv4
    Member
    Posted 9 months ago #

    Hi,

    It css donĀ“t work. My child theme is http://www.adv4sense.com/Ikno/

  4. CrouchingBruin
    Member
    Posted 9 months ago #

    First of all, you do not need to copy the entire parent theme's CSS into your child theme's style.css file. The line towards the top of the child theme's CSS file that looks like this:

    @import url("../baskerville/style.css");

    automatically brings in the parent theme's CSS.

    Second, I don't see the CSS that I suggested above in your child theme's style.css file. Did you put it in there?

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.