[Resolved] Post Loop Title not showing…

  • Author
    Posts
  • #13817

    Mary Ann
    Participant

    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.

    #13819

    Andrew Misplon
    Keymaster

    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?

    #13821

    Mary Ann
    Participant

    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 –>

    #13825

    Andrew Misplon
    Keymaster

    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.

    #13827

    Mary Ann
    Participant

    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?

    #13828

    Andrew Misplon
    Keymaster

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

    #13829

    Mary Ann
    Participant

    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.

    #13830

    Andrew Misplon
    Keymaster

    Have you checked at Customize > Additional CSS?

    #13831

    Mary Ann
    Participant

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

    #13832

    Andrew Misplon
    Keymaster

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

    #13833

    Mary Ann
    Participant

    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.

    #13834

    Andrew Misplon
    Keymaster

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

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

You must be logged in to reply to this topic.

Scroll to top