Jump to content

Code Block is not resizing when I insert code for MLS Search

Recommended Posts

Site URL: https://www.mikelynchhomes.com/mls-home-search

Site psd: LynchPreview

I need to insert html for a real estate agent client who has an MLS Search embedded into their site.  I create the code block in squarespace just like you normally would, then I paste in the custom html.  The code block does not change size so it only shows a small window vertically. (html pasted below).

I reached out to Squarespace support and they told me that the code block resizes to whatever code is being dropped in.  Then I reached out to the vendor who provided the html for the MLS search/IDX integration and they told me their search will resize to whatever size space you are putting it into.  

I can change colors and sizes but I can't write code so I'm hoping someone has figured out a solution to this?

HTML that I'm dropping in: <iframe src="https://matrix.recolorado.com/Matrix/public/IDX.aspx?idx=aed52ee9" width="100%" height="100%" frameborder="0" marginwidth="0" marginheight="0"></iframe>

Thanks in advance!

Screen Shot 2020-06-29 at 2.03.28 PM.png

Link to comment
  • Replies 7
  • Views 934
  • Created
  • Last Reply
  • 3 weeks later...
12 hours ago, LeeSkovs said:

hey I'm having the same issue and this solution doesn't seem to work, I'm sure im doing something wrong but i'm not sure what. any advice? @tuanphan

Can you share link to your site? We can check easier.

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 4 months later...

**Reposting this from my personal forum account, tied to my email 😃 **

Hello, I am having the same issue with my code block not resizing to fit the MLS. 

Site URL:https://www.rhirealestate.com

Site Password: RHIrealestate

iFrame HTML: <iframe src="https://matrix.ntreis.net/Matrix/public/IDX.aspx?idx=50f8f61" width="100%" height="100%" frameborder="0" marginwidth="0" marginheight="0"></iframe>

Any help would be greatly appreciated, thank you.

Link to comment
  • 2 weeks later...
On 11/23/2020 at 2:15 AM, Eliz-Bechtel said:

I also created a second iframe to see what the search option would look like, instead of the gallery. 

<iframe src="https://matrix.ntreis.net/Matrix/public/IDX.aspx?idx=dfccf62" width="100%" height="100%" frameborder="0" marginwidth="0" marginheight="0"></iframe>

Thank you! @tuanphan

edit height="100%" to height="500px"

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.