Winning Agent

Sales That Work

  • About
  • Store
  • Blog
  • The Stream
  • Forum
  • Jobs

Spacing for AgentPress Listings on Home Page

Home › Forums › Winning Agent Pro Theme › Spacing for AgentPress Listings on Home Page

Tagged: home listings multi-row spacing

  • This topic has 1 reply, 2 voices, and was last updated 7 years, 3 months ago by Ginger Coolidge.
Viewing 1 reply thread
  • Author
    Posts
    • March 21, 2015 at 10:52 am #4448
      rebeccawilliamson
      Participant

      Hello –

      I am using the AgentPress listings widget with 6 listings. When I open the website on a 4:3, rectangular monitor, it shows 3 across two rows. But, the second row overlaps the first row and doesn’t have any separation. When I open my website on a square monitor with a more narrow width than my 4:3 monitor, the listings go to 1 per row and are spaced perfectly. Is there something I am doing wrong?

      Here is the link to my site

      http://www.austinluxuryliving.com/

      Thanks!


    • March 21, 2015 at 11:14 am #4461
      Ginger Coolidge
      Participant

      Hi Rebecca,

      Nothing you are doing wrong! The home listings section was styled to have one row of three listings but you can easily expand that to multiple rows of 3 across with a couple of small changes.

      In your style.css file, first look for this entry:

      .home-featured-1,
      .home-featured-2,
      .home-featured-3,
      .home-listings .featured-listings .entry {
      	float: left;
      	margin-bottom: 0;
      	margin-right: 60px;
      	min-height: 140px;
      	text-align: center;
      	width: 340px;
      }

      What we want to change is the min-height number, but you want to separate this setting out to only effect the Featured Listings section. So add this below the section above:

      .home-listings .featured-listings .entry {
      	min-height: 240px;
      	
      }

      You can adjust the 240px to your liking if you want more or less space in between the rows. One more step, you’ll need to change this in your @media (mobile) section for tablets that are landscape viewing. Find this section towards the bottom of your style.css file:

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

      Under that you’ll see this entry:

      	.home-listings .featured-listings .entry {
      		min-height: 200px;
      		overflow: hidden;
      	}

      Increase that 200px value to your liking, I found 220px to work well. That is it! Remember you can test all mobile devices in your browser but right+clicking and select Inspect Element.

      Hope this helps!


  • Author
    Posts
Viewing 1 reply thread
  • You must be logged in to reply to this topic.
Log In

Forum Login

Log In
Register Lost Password

Search Forums

StudioPress Real Estate WordPress Theme: Agent Focused Pro Theme
StudioPress Premium WordPress Themes: Winning Agent Pro Theme

Recent Replies

  • How to edit main page background image opacity
  • Fresh Install Issues
  • Remove Background Image
  • Sidebar on Homepage
  • Featured Page on Homepage Not Clickable
OptinMonster

Loan Types & Property Definitions

There are a lot of different types of mortgages, and there are a lot of different types of real estate property. Here is a list of the most common types of each. We’ve added some links to the most popular articles on the subject.

Read More

Real Estate and Mortgage Forum

We think getting many viewpoints to a particular question is important because it helps you to make better decisions. It’s so important that we have woven the Forum all throughout Winning Agent. We invite you to ask questions, make comments, and be part of the discussion.

Read More

Glossary of Real Estate Terms

Real estate and mortgage finance often times comes with its own unique language. If you work with it every day, it becomes 2nd nature, but most people don’t work with it every day. So we’ve created a glossary of mortgage and real estate terms.

Read More

Copyright © 2022 Winning Agent · Powered by the Genesis Framework · Contact Us
Become an Affiliate
This site uses affiliate links, but know that we only recommend products we personally use and enjoy!