我是 bootstrap 的新手,我正在尝试使用 bootstrap、同位素和表达式引擎制作我的响应式网络。我让我的网络在默认引导特性下工作。网页响应不同的屏幕尺寸,但是当页面大小在 480 像素和 768 像素之间时,页面响应不佳,随着滚动图片从菜单中移动。我不想那样,我只想让一切都随着滚动而移动。
像:
卷轴前:
滚动后:
在第二张图片中,菜单位于所有图片的后面,我想为所有页面应用滚动,而不仅仅是图片。
另一方面,我想在 480px 下使用 jquery mobile,我不知道我是否需要创建另一个页面,或者如何处理 480px 下的页面
我的一些代码:
<!DOCTYPE html>
<html lang="{country_code}">
<head>
<title>MNT Graphic Design - {if country_code != 'es'}Portfolio{if:else}Portafolio{/if}</title>
<!-- CSS Declaration -->
<link rel="stylesheet" type="text/css" href="{site_url}bootstrap/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="{site_url}isotope/css/isotope.css" />
<link rel="stylesheet" type="text/css" href="{path='styles/main'}" />
</head>
<body>
<div class="container-fluid">
<div class="row-fluid">
<div class="span3">
<div id="well sidebar-nav" data-spy="affix" data-offset-top="30" >
<div id="brand">
<a href="{site_url}" title="Inicio"><img src="{site_url}mntgd/images/logo.png" alt="MNT Graphic Design Logo" /></a>
</div>
<div id="navegacion">
<ul class="nav nav-list sidenav" id="filters">
<li class="nav-header">{if country_code != 'es'}MENU{if:else}MENÚ{/if}</li>
<li><a role="menuitem" href="#" data-filter=".img-corp">{if country_code != 'es'}Branding{if:else}Imagen Corporativa{/if}</a></li>
<li><a role="menuitem" href="#" data-filter=".edi">{if country_code != 'es'}Print{if:else}Editorial{/if}</a></li>
<li><a role="menuitem" href="#" data-filter=".web">{if country_code != 'es'}Web Design{if:else}Diseńo Web{/if}</a></li>
<li><a role="menuitem" href="#" data-filter=".photo">{if country_code != 'es'}Photography{if:else}Fotografía{/if}</a></li>
<li><a role="menuitem" href="#" data-filter="*">{if country_code != 'es'}All Works{if:else}Ver todo{/if}</a></li>
<li class="divider"></li>
<li class="dropdown">
<a id="about-btn" class="dropdown-toggle" role="button" data-toggle="dropdown" href="#">MNT Graphic Design<b class="icon-chevron-right"></b></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="about-btn">
<li role="presentation"><a role="menuitem" href="#" >{if country_code != 'es'}About Us{if:else}Nosotros{/if}</a></li>
<li role="presentation"><a role="menuitem" href="#" data-filter=".profile">{if country_code != 'es'}Profiles{if:else}Perfiles{/if}</a></li>
<li role="presentation"><a role="menuitem" href="#" data-filter=".customers">{if country_code != 'es'}Customers{if:else}Clientes{/if}</a></li>
</ul>
</li>
<li class="dropdown" id="options" >
<a id="sort-btn" class="dropdown-toggle" role="button" data-toggle="dropdown" href="#">{if country_code != 'es'}Order by{if:else}Ordenar{/if}<b class="icon-chevron-right"></b></a>
<ul class="dropdown-menu option-set" id="sort-by" data-option-key="sortBy" role="menu" aria-labelledby="sort-btn">
<li role="presentation"><a role="menuitem" href="#sortBy=original-order" data-option-value="original-order" class="selected">{if country_code != 'es'}Original Order{if:else}Por defecto{/if}</a></li>
<li role="presentation"><a role="menuitem" href="#sortBy=by_project" data-option-value="by_project">{if country_code != 'es'}By Project{if:else}Por Proyecto{/if}</a></li>
<li role="presentation"><a role="menuitem" href="#sortBy=by_date" data-option-value="by_date">{if country_code != 'es'}By Date{if:else}Por Fecha{/if}</a></li>
</ul>
</li>
<li class="divider"></li>
<li><a role="menuitem" href="#" data-filter=".contact">Contáctenos</a></li>
</ul>
</div>
</div>
</div>
<div class="isoenv span9">
<div id="container" class="clickable clearfix">
<!--
{exp:channel:entries channel="portfolio" orderby="random"}
<div class="element {channel_short_name} {if sticky == 'y'}pinned{if:else}{/if}" data-project="" data-date="{entry_date format="%Y%m%d"}">
<img src="{portfolio_imagen:thumb2}" alt="{title}" />
</div>
{/exp:channel:entries}
-->
<div class="element photo pinned" data-project="palo1" data-date="20130630">
<img src="http://www.mntdesign.co/uploads/imagenes/_thumb2/216346_10151483715269961_2029946791_n.jpg" alt="6" />
</div>
<div class="element photo img-corp big-format" data-project="palo4" data-date="20100630">
<img src="http://www.mntdesign.co/uploads/imagenes/_thumb2/216346_10151483715269961_2029946791_n.jpg" alt="4" />
</div>
<div class="element photo pinned " data-project="palo1" data-date="20110630">
<img src="http://www.mntdesign.co/uploads/imagenes/_thumb2/216346_10151483715269961_2029946791_n.jpg" alt="5" />
</div>
<div class="element photo img-corp" data-project="palo4" data-date="20170630">
<img src="http://www.mntdesign.co/uploads/imagenes/_thumb2/216346_10151483715269961_2029946791_n.jpg" alt="9" />
</div>
<div class="element photo " data-project="palo4" data-date="19990630">
<img src="http://www.mntdesign.co/uploads/imagenes/_thumb2/216346_10151483715269961_2029946791_n.jpg" alt="3" />
</div>
</div>
</div>
</div>
</body>
谢谢你能给我的任何帮助!
编辑:
网页链接 http://www.mntdesign.co/?/main 这是现在的链接,我正在测试,但我找不到这个错误的原因