自定义代码注入Squarespace Five模板

时间:2018-01-18 19:24:24

标签: html css squarespace

我正在尝试利用自定义CSS来替换带有图像滑块的常规静态标题横幅。论坛中列出了一些自定义选项,但并非所有选项都适用于该网站的移动版本。这是我发现的最接近的代码:

 #collection-BLAH {
   /* Remove left right and top padding from content area */
   #page-body-wrapper {
     padding: 0 0 24px
   }
   /* Allow gallery to span full width of browser window */
   #page-body {
     max-width: none
   }
   /* Add spacing back to sides of lower section of content area */
   #page-BLAH {
     max-width: 1140px;
     margin: 0 auto;
     padding: 24px 20px 0 20px;
   }
   /* Hide built-in banner area */
   #banner-area-wrapper {
     display: none;
   }
   /* Set gallery height */
   .sqs-gallery {
     max-height: 350px;
   }
 }

但是,这并不适用于移动设备。我也对#collection-BLAH和#page-BLAH的海报意味着什么感到困惑。他们在评论中说:用您自己的页面ID替换#collection-BLAH。 将#page-BLAH替换为#content的第二个孩子使用您自己的ID。

那仍然困扰着我。基本上我只是试图用全宽滚动图像横幅替换标题图像。如果有人能够提供帮助,请提前致谢!

0 个答案:

没有答案
相关问题