/** REMOVES DEFAULT BORDER AND ADJUSTS PADDING - OPTIONAL **/ .et_pb_blog_grid .et_pb_post { border: none; padding: 20px; } /** REPLACE THE CATEGORY SLUGS WITH YOURS AND CHANGE THE COLORS **/ .et_pb_blog_grid .et_pb_post.category-travel { border-top: 12px solid #EF233C; } .et_pb_blog_grid .et_pb_post.category-wildlife { border-top: 12px solid #084C61; } .et_pb_blog_grid .et_pb_post.category-under-the-sea { border-top: 12px solid #0DAB76; } .et_pb_blog_grid .et_pb_post.category-food { border-top: 12px solid #EB4600; } /** READ MORE BUTTON STYLING - REPLACE WITH YOUR CATEGORY SLUGS AND COLORS **/ .et_pb_post.category-travel a.more-link { background: #EF233C; } .et_pb_post.category-wildlife a.more-link { background: #084C61; } .et_pb_post.category-under-the-sea a.more-link { background: #0DAB76; } .et_pb_post.category-food a.more-link { background: #EB4600; } a.more-link { color: #fff; text-transform: uppercase; display: inline-block; padding: 4px 10px; margin-top: 10px; border-radius: 3px; -moz-transition: all 0.2s; -webkit-transition: all 0.2s; transition: all 0.2s; } /** ALL BUTTONS ON HOVER TURN BLACK **/ .et_pb_post.category-travel a.more-link:hover, .et_pb_post.category-wildlife a.more-link:hover, .et_pb_post.category-under-the-sea a.more-link:hover, .et_pb_post.category-food a.more-link:hover { background: #000; }