My sections overflow on other section with mobile

时间:2016-04-04 16:40:42

标签: html css wordpress image overflow

I added 2 pictures on my main page and everything looks good on the browser but when I check the website with my phone, it's like the picture overflow in the next section instead of staying in the first section.

I've added the following code in my html for the pictures:

[ms_divider style="blank" align="left" width="100%" margin_top="30px" margin_bottom="0" border_size="" border_color="" icon="" class="" id=""] [ms_row no_padding="yes"] [ms_column style="1/2"] [ms_image_frame src="http://www.landrycarts.com/wp-content/uploads/2016/03/IMG_4775.jpg" link="http://www.landrycarts.com/wp-content/uploads/2016/03/IMG_4775.jpg" link_target="_self" class="" id=""][/ms_column]

[ms_column style="1/2"] [ms_image_frame src="http://www.landrycarts.com/wp-content/uploads/2016/03/landrycarts-budpatrol-limo.jpg" link="http://www.landrycarts.com/wp-content/uploads/2016/03/landrycarts-budpatrol-limo.jpg" link_target="_self" class="" id=""][/ms_column] [/ms_row]

Any way I could limit those pictures in my first section for mobile view?

My website

1 个答案:

答案 0 :(得分:0)

您是否尝试在max-heightoverflow: hidden;上设置imgcol-md-6

下面是demo说明这一点。

相关问题