- This topic has 11 replies, 2 voices, and was last updated 4 years, 10 months ago by Andrew Misplon.
Tagged: post loop titles
- AuthorPosts
- January 9, 2020 at 3:04 pm #13817
Mary AnnParticipantI’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.
January 9, 2020 at 3:49 pm #13819
Andrew MisplonKeymasterHi 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?
January 9, 2020 at 4:54 pm #13821
Mary AnnParticipantJust 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 –>January 9, 2020 at 4:55 pm #13825
Andrew MisplonKeymasterThanks for checking.
The
entry-header
is hidden because of a Custom CSS rule, perhaps atCustomize > Additional CSS
. If you’d like help diagnosing the page title not displaying, let me know.January 9, 2020 at 4:59 pm #13827
Mary AnnParticipantI 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?January 9, 2020 at 5:02 pm #13828
Andrew MisplonKeymasterThe header for each post isn’t displaying because of a custom CSS rule setting the header to display none.
January 9, 2020 at 5:07 pm #13829
Mary AnnParticipantHmmm. 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.
January 9, 2020 at 5:12 pm #13830
Andrew MisplonKeymasterHave you checked at
Customize > Additional CSS
?January 9, 2020 at 5:22 pm #13831
Mary AnnParticipantWell, now that’s embarrassing. Thank you so much – now I have to figure out why I had them hidden to begin with.
January 9, 2020 at 5:23 pm #13832
Andrew MisplonKeymasterNo worries, glad to hear you’re making progress.
January 9, 2020 at 5:56 pm #13833
Mary AnnParticipantBTW, 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.
January 9, 2020 at 5:57 pm #13834
Andrew MisplonKeymasterSuper, I’m glad to hear you’re enjoying the theme. All the best with your site 🙂
- AuthorPosts
You must be logged in to reply to this topic.