• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Change Academy Pro Category Grid To 4 Columns

This CSS will change the columns on the journal category archive page from 3 to 4 columns :

Add the following CSS to the end of the Academy Pro themes style.css file and clear caching.

.category-journal.academy-grid.archive:not(.woocommerce-page) .content .entry {
	float: left;
	margin: 0 1.5% 30px;
	width: 22%;
}

.category-journal.academy-grid.archive:not(.woocommerce-page) .content .entry:nth-of-type(3n+1) {
	clear: none;
}

@media only screen and (max-width: 1023px) {

    .category-journal.academy-grid.archive:not(.woocommerce-page) .content .entry {
	    float: none;
	    text-align: center;
	    width: 100%;
    }

}

Optional CSS

Modifies the default styling for the entry header elements.

.category-journal .content .entry h2.entry-title {
    font-size: 16px;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    margin: 20px 0 20px;
    text-align: left;
}

.category-journal.academy-grid .content .entry .entry-title, 
.category-journal.academy-grid .content .entry .entry-meta, 
.category-journal.academy-grid .content .entry .entry-content {
    padding: 0px;
}

Academy Pro Theme

Reader Interactions

Comments

  1. sebastian taru says

    December 26, 2017 at 11:55 am

    Thank you

    Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.