Jump to content

Solved/ Custom CMS block doesn't fit on mobile


Koen_K

Recommended Posts

Hello,

My custom CMS block doesn't resize/reshape properly on mobile phones. The bottom half is cut off and not shown.

Attached is a printscreen of my mobile, and a printscreen of my desktop on which it is shown correct.

 

Does anyone know why this happen, and how I can solve it? Is it just a dimension I can change in a databas file?

 

Thanks in advance!

 

Phone:

post-1045693-0-19965100-1476031600_thumb.jpg

 

Desktop:

post-1045693-0-59203000-1476031599_thumb.jpg

Edited by Koen_K (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...
Look for the following code at about line 8387 of themes/default-bootstrap/css/global.css:
  @media (max-width: 767px) {
    #facebook_block,
    #cmsinfo_block {
      width: 100%;
      min-height: 1px; } }

And change the last line to:

      min-height: 1px;
      height: auto; } }
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...