Html 如何更改模板上的“关于”页面,使其具有与主页相同的全宽正文/容器?
如何将此容器/正文更改为页面边缘的全宽?就像主页一样?我已经提供了该网站的图片和大量的代码,这可能会有所帮助,我对编码相当陌生,所以我将提供我认为必要的任何内容: 液体Html 如何更改模板上的“关于”页面,使其具有与主页相同的全宽正文/容器?,html,css,shopify,Html,Css,Shopify,如何将此容器/正文更改为页面边缘的全宽?就像主页一样?我已经提供了该网站的图片和大量的代码,这可能会有所帮助,我对编码相当陌生,所以我将提供我认为必要的任何内容: 液体 <div id="page" class="desktop-12 tablet-6 mobile-3"> <h1>{{ page.title }}</h1> {{ page.content }} </div> stylesheet.css /* ===============
<div id="page" class="desktop-12 tablet-6 mobile-3">
<h1>{{ page.title }}</h1>
{{ page.content }}
</div>
stylesheet.css
/* =============== */
/* = Blogs & Pages = */
/* =============== */
#content h1 { padding-bottom: 5px; margin-bottom: 20px; border-bottom: 1px solid {{ settings.dotted_color }}; }
.product #content h1 { margin-bottom: 10px; padding-bottom: 0; border-bottom: 0; }
.rte h1 {
border-bottom: 0! important;
text-align: inherit! important;
margin-bottom: inherit! important;
}
#page { clear: left; margin-bottom: 50px; }
#page-sidebar h2 { padding-bottom: 8px; margin-bottom: 20px; border-bottom: 1px solid {{ settings.dotted_color }}; }
#page-sidebar ul { list-style-type: none; }
#page-sidebar ul li {
display: block;
margin-bottom: 10px;
padding-bottom: 5px;
}
.blog .article-index {
margin-bottom: 20px;
margin-top: 10px;
padding-bottom: 15px;
border-bottom: 1px solid {{ settings.dotted_color }};
}
.blog .article-info h2 { letter-spacing: initial; margin-bottom: 10px; text-align: left; }
.post-tags { clear: left; display: block; text-align: center; }
.blog .article-info p { font-size: {{ settings.font-size }}; }
.blog .article-info a { text-decoration: none! important; text-transform: uppercase; }
.blog .article-content { margin-bottom: 10px; position: relative; }
.article-info ul li.tags {
display: inline;
font-size: 12px;
}
ul.tags {
list-style: none;
}
a.readmore {
clear: both;
display: block;
float: left;
margin: 20px 0 10px;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
padding: 10px 0;
}
.article-modal {
display: none;
color: {{ settings.quickview_color }};
background: {{ settings.quickview_background }};
padding: 0;
-webkit-transition: background .5s ease,color .5s ease;
-moz-transition: background .5s ease,color .5s ease;
-o-transition: background .5s ease,color .5s ease;
transition: background .5s ease,color .5s ease;
position: absolute;
width: 30px;
top: -10px;
right: -10px;
height: 30px;
line-height: 28px;
text-align: center;
}
.article-modal:hover {
color: {{ settings.quickview_color_hover }};
background: {{ settings.quickview_background_hover }};
text-decoration: none;
cursor: pointer;
}
.quick-article { display: none; overflow-y: scroll; }
.article .article-info h2 {
margin-top: 30px;
}
#recent-posts h3 { margin-bottom: 20px; padding-bottom: 5px; border-bottom: 1px solid {{ settings.dotted_color }}; }
#instagram-card h3 {
margin-bottom: 20px;
}
#instafeed a {
line-height: 0;
}
#instafeed a img:hover {
opacity: 0.7;
filter: alpha(opacity=70);
}
#comments h4 { text-align: center; }
#comments { float: left; padding-top: 40px; border-top: 1px solid {{ settings.dotted_color }}; margin-top: 40px; width: 100%; }
#comment-form { }
ul#commentlist { margin-top: 20px; list-style-type: none; }
ul#commentlist li { float: left; display: block; width: 100%; margin: 0 0 20px 0; border-bottom: 1px solid {{ settings.dotted_color }}; padding-bottom: 20px; }
ul.disc {
margin-bottom: 0;
}
.comment-details { margin-bottom: 10px; }
.gravatar { float: left; margin-right: 20px; }
.comment { float: left; }
.comment p { margin-top: 0; }
dd { margin-left: 0; }
.notice { border: 1px dashed #eee; padding: 5px; background: ghostwhite; margin: 20px 0; }
.article .homepage-section {
border-top: 1px solid #eee;
padding-top: 50px;
}
尝试一下:
.yourclass {
width: 100%;
}
尝试一下:
.yourclass {
width: 100%;
}
最好在这里发布实际代码。不是照片。你更有可能得到这样的帮助。试着使用我现在已经粘贴了整个代码,有人能帮我在我的theme.liquid和stylesheet.css中输入正确的代码,让我的第二页变成全宽而不是块样式吗?最好在这里发布实际代码。不是照片。你更有可能得到这样的帮助。试着使用我现在已经粘贴了整个代码,有人能帮我在我的theme.liquid和stylesheet.css中输入正确的代码,让我的第二页变成全宽而不是块样式吗?