• Resolved bward

    (@bward)


    I created custom post types, the archive pages work. However there is no space and HR bar between the posts within the archive.

    I am using default archive settings so something tells me for custom post types something needs to be added. Hours of search have led me to ask.

    Thanks so much.

    Ps the attached url would be for a custom taxonomy archive.

    • This topic was modified 6 years, 11 months ago by bward.
    • This topic was modified 6 years, 11 months ago by bward.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bward

    (@bward)

    I figured this one out so no one tries to help. Will post how later for reference.

    Thread Starter bward

    (@bward)

    I had to used the “developer” feature on my browser to do a stare and compare with my working archive pages and non-working archive pages. By non-working that means the pages that did not have the HR gray bar separating my posts.

    This is what I found on my working archive pages:

    
    class="post-49822 post type-post status-publish format-standard
    

    Note the “post type-post”.

    Now here is a clip from my new archive which is based on a custom post type.

    
    class="post-49827 bible-study type-bible-study status-publish hentry
    

    Note the “bible-study type-bible-study”.

    I found within my css file the following:

    
    .post, 
    .page { 
    	padding-bottom: 10%; 
    	border-bottom: 4px solid 
    
    #EEE;
    	margin-bottom: 10%;
    }
    

    Since my custom post type is not a “post”, but a custom post type labeled “bible-study” my Bible Study posts were not picking up the css class. So I changed my css to this:

    
    .post,
    .bible-study,
    .page { 
    	padding-bottom: 10%; 
    	border-bottom: 4px solid 
    
    #EEE;
    	margin-bottom: 10%;
    }
    

    Now it works fine. If you have a similar issue, though your theme may vary check here.

    • This reply was modified 6 years, 11 months ago by bward.
    • This reply was modified 6 years, 11 months ago by Jan Dembowski. Reason: Fixed formatting, blockquote doesn't really work
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No Space Between Posts In Archive’ is closed to new replies.