Resolved

Post Loop Title not showing…

Polestar Theme started by Mary Ann Jan 9, 2020 11 replies
Mary Ann Jan 9, 2020 · 3:04 pm #13817

I’m using SireOrigin and WP Post Loop to bring in posts from the category ‘Engineering’ into a page. The individual posts are fine, but the post loop page does not display the title (I had to add the title to the post content) BUT the #head with the class “entry-header” and the h2 “entry title” is visible and contains the title if you look at the source code – it’s just not being rendered in the browser. I’ve tried everything to make this visible with no success. The post loop page is https://hutchinsonai.wpengine.com/engineering/

Any suggestions will be welcomed.

Andrew Misplon Puro Jan 9, 2020 · 3:49 pm #13819

Hi Mary

Just to stop at the page not displaying the page title. When editing the page, is the Page Title setting in the Page Settings metabox in the right column enabled?

Mary Ann Jan 9, 2020 · 4:54 pm #13821

Just to stop at the page not displaying the page title. When editing the page, is the Page Title setting in the Page Settings metabox in the right column enabled?

Yes it is.

If you look at the source code of the post loop, you’ll see the entry-header:
`<header class=”entry-header”>
<h2 class=”entry-title”>Design Examples</h2>
<div class=”entry-meta”>
<span class=”byline”><span class=”author vcard”>hutchinsonai</span></span> </div><!– .entry-meta –>
</header><!– .entry-header –>

Andrew Misplon Puro Jan 9, 2020 · 4:55 pm #13825

Thanks for checking.

The entry-header is hidden because of a Custom CSS rule, perhaps at Customize > Additional CSS. If you’d like help diagnosing the page title not displaying, let me know.

Mary Ann Jan 9, 2020 · 4:59 pm #13827

I should probably share what I’ve tried. Saying “I’ve tried everything” doesn’t really help you. In the post loop widget, I have added .entry-title{display:block} and I’ve specified a link text color, I also tried it with .entry-header and various combinations even adding !important after it.
I also tried specifying the header-entry code in the custom css area for the entire site – no luck, so I removed it.
I just seems that if the content is indeed in the source code – why can’t I get it to show?

Andrew Misplon Puro Jan 9, 2020 · 5:02 pm #13828

The header for each post isn’t displaying because of a custom CSS rule setting the header to display none.

Mary Ann Jan 9, 2020 · 5:07 pm #13829

Hmmm. I wonder where that could be here is the custom CSS I used for the entire website:

#pg-30-0{margin-top:-150px;}
.bottom-bar{display:none}
.polestar-container{max-width:80%!important}

body p, li {font-size:16px}
.caption2 h4 {
    white-space: nowrap;
    text-align:center;
    margin-top:10px;
}
.caption2 h4 a{
    color:#fff;  
}
.widget-title{font-size:13px !important;}
@media screen and (max-width:690px){.caption2 h4{font-size:13px}}

and here is the custom css in the post loop widget
`#header .entry-header{display:inline !important;}
#header h2 .entry-title a(color:#dd0606 !important}

I haven’t altered any other css in the website. I just removed the css from the post loop widget and there’s still no titles.

Andrew Misplon Puro Jan 9, 2020 · 5:12 pm #13830

Have you checked at Customize > Additional CSS?

Mary Ann Jan 9, 2020 · 5:22 pm #13831

Well, now that’s embarrassing. Thank you so much – now I have to figure out why I had them hidden to begin with.

Andrew Misplon Puro Jan 9, 2020 · 5:23 pm #13832

No worries, glad to hear you’re making progress.

Mary Ann Jan 9, 2020 · 5:56 pm #13833

BTW, I love this theme – it’s nice and clean and easy to work with when you don’t mess it up with your own code.

Andrew Misplon Puro Jan 9, 2020 · 5:57 pm #13834

Super, I’m glad to hear you’re enjoying the theme. All the best with your site 🙂

12 posts