Show title header only on single blog posts

Home Forums Ample Free Show title header only on single blog posts

This topic contains 7 replies, has 3 voices, and was last updated by  ashishsthanp 5 months, 3 weeks ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1310582

    casey.s.duncan
    Participant

    I wanted to remove the title header from the main pages (for example, my posts page of “Blog”). For this, I found the following code –

    .header-post-title-container {
    display: none;
    }

    This removed from the main pages (perfect), but also from the single posts page. If a single post is being viewed, I want the title to appear. How can I fix this?

    caseyduncan.org

    To clarify, caseyduncan.org/blog should not have the title header of blog, but when opening any of the posts on a single page, I want the title to be there.

    #1310640

    ashishsthanp
    Moderator

    Hello, @casey.s.duncan

    Remove code that you’ve added and add the following code:

    .blog .header-post-title-container {
      display: none;
    }

    Regards,
    ThemeGrill Support Team.

    #1310692

    casey.s.duncan
    Participant

    This worked, but can I also remove that from my other pages?

    For example, I also do not want this on my mentoring page (caseyduncan.org/mentor), or any other pages I choose to add. Is that possible?

    Thank you for the help thus far!

    #1310794

    ashishsthanp
    Moderator

    @casey.s.duncan

    Replace above code with:

    .page .header-post-title-container,
    .blog .header-post-title-container {
      display: none;
    }

    Regards,
    ThemeGrill Support Team.

    • This reply was modified 6 months, 1 week ago by  ashishsthanp.
    #1310883

    casey.s.duncan
    Participant

    That’s perfect, thank you!

    #1310955

    ashishsthanp
    Moderator

    @casey.s.duncan

    Glad to know it worked for you.

    We would really appreciate if you could provide us a review here:

    https://wordpress.org/support/theme/ample/reviews/?filter=5

    If you get any issue, feel free to ask again!

    Regards,
    ThemeGrill Support Team.

    #1312280

    yelba
    Participant

    HI! I hope it is ok to piggy back off this? I have the same issue using flash theme, however this code doesnt seem to work for me. help*

    #1312343

    ashishsthanp
    Moderator

    Hello, @yelba

    Please explain your issue and provide your site URL if you can.

    Regards,
    ThemeGrill Support Team.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.