Last active
August 29, 2015 14:14
-
-
Save gspice/2b4422370cc52bed50de to your computer and use it in GitHub Desktop.
wap increase min-height on features listings widget area to have more than 3 - must be in multiples of 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Want to add more than 3 listings in the Featured Listings widget using the AgentPress Listings plugin. As long as you keep it three listings wide, you can add as many as you like with one change. | |
Find this section in your style.css file: | |
.home-listings .featured-listings .entry { | |
float: left; | |
margin-bottom: 0; | |
margin-right: 60px; | |
min-height: 140px; <====== change that to have multiple rows of 3 featured listings | |
text-align: center; | |
width: 340px; | |
} | |
And increase the number bolded above. This will expand the rows and give them space. I found a min-height: 240px; worked well but you can adjust it however you like. I don't recommend changing any of the margins in this section since it will throw off the 3-wide spacing. | |
Also need to adjust mobile, under the 1139px max width that covers iPad in landscape | |
.home-listings .featured-listings .entry { | |
min-height: 200px; <======= increase to spread out rows | |
overflow: hidden; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment