Support » Theme: Auberge » Show title on posts page

  • Resolved st3ph83

    (@st3ph83)


    Hello everyone,

    I use “Auberge” theme on my WordPress and I want to show the title of posts page.

    I have defined a static page with “Front page” and “Posts page” in “Settings > Reading”, so I can show posts on home page and on a posts page. I want to show title on my posts page and I don’t know how to do it.

    Can you help me please ?

    Best regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author WebMan Design | Oliver Juhas

    (@webmandesign)

    Hi,

    Please apply this custom CSS styles to show the title on blog page:

    .blog .site-main h1 {
    	clip: auto;
    	position: relative !important;
    	height: auto;
    	width: auto;
    	line-height: inherit;
    }
    

    Then adapt the CSS to your needs.

    Regards,

    Oliver

    st3ph83

    (@st3ph83)

    Hello,

    thanks for your reply. I just tried your CSS code but I have another issue.

    When I put this CSS code, the title actually appears but when cursor is over this title, I have a curious effect as if this title is a blog post with main color in background, size and position changes. It seems to be title is considered like a post… Can you explain me what’s happening please ?

    I also have title center in the page and have a top border unlike titles of others pages but for this, I think I can change this behavior with few CSS lines.

    Regards.

    Theme Author WebMan Design | Oliver Juhas

    (@webmandesign)

    Hi,

    In that case probably the best choice would be to use a child theme where you copy the index.php file and modify the file so you remove the screen-reader-text class from the <h1> tag.

    Then just apply this custom CSS in your child theme’s style.css file:

    .blog .site-main h1 {
    	padding-top: 0;
    	text-align: inherit;
    	border: 0;
    }
    

    Disregard the previously posted CSS then. Or you can surely force the correct styles using a custom CSS, but that may be more complicated if you are not familiar with CSS coding.

    Regards,

    Oliver

    Hello, I’m sorry for my late answer. I was busy last few days.

    I just tried your solution and it works perfectly !

    Thanks for your help.
    Best regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.