Reply To: Portfolio

Homepage Community Forums Epik Theme Support Portfolio Reply To: Portfolio

#23373
Andykev
Customer

    Ok! Fixed it with the plugin by Bill Erickson, POST GRID. and used his styling and short codes:

    You have a bunch of options, to display certain posts, author, tags, it’s limitless.

    Here is the short code which basically matches the format which came with Epik:

    [display-posts image_size=”portfolio-thumbnail” wrapper=”div” wrapper_class=”display-posts-listing grid” meta_key=”_thumbnail_id” include_excerpt=”true” excerpt_more=”Continue Reading” excerpt_more_link=”true”]

    Then you use CSS to style the output. The output is from the GENESIS-THEME SETTINGS- CONTENT ARCHIVE.. and the CSS is:

    /* Grid style */
    .display-posts-listing.grid {
    	display: grid;
    	grid-gap: 16px;
    }
    
    .display-posts-listing.grid .title {
    	display: block;
      font-weight: bold;
      color: Dark Blue;
    }
    
    .display-posts-listing.grid .excerpt-more {
    	display: block;
      font-style: italic;
      color: white;
      background-color: #070049;
      padding-left: 10px;
      width: 50%; 
    }
    
    .display-posts-listing.grid img { 
    	display: block; 
    	max-width: 100%; 
    	height: auto; 
    }
    

    You get error messages, to which he says to disregard.

    So far, only ONE of my themes is not displaying properly, but the others are, so your original code is doing fine. It just can’t be changed as to number of posts displayed or columns, and I don’t want to change them from your original.