Squarespace Header注入代码

时间:2014-09-14 21:35:21

标签: html css svg code-injection squarespace

我正在使用Squarespace作为我的投资组合。我最近帮助在SVG代码中设置了我的徽标动画。现在我有了这个代码,我无法用它替换标题中的标识。正如您在我的网站上看到的: http://www.christianadelvecchio.com/#welcome-christiana-delvecchio

我的徽标位于左侧,而我的名称位于徽标的右侧。我的名字是可点击的,但我的标识不是。我相信这是因为squarespace只允许标题中有一个徽标空间。当我在大学里制作我的网站时,我的教授在标题中注入了自定义css,这样我的标识就在我名字的左边。

.sqs-gallery-container{
background-color: rgba(175, 175, 175, .0);
}


.title-nav-wrapper { background:url(http://static.squarespace.com/static/52f29e06e4b0efe4bb40a01b/t/5320cb16e4b093b02ba9004e/1394658070983/logo.png) no-repeat; 
background-position: left center;
  margin-left: 10px;

}



#yui_3_10_1_1_1394658544560_1616{
margin-right: 100px;
}

a#top{width: 200px;
}

.site-title {
padding-top: 0px;
padding-right: 0px;
padding-bottom: 20px;
padding-left: 50px;

width: 35%;
}

我想用左边的SVG徽标替换我的徽标:

http://codepen.io/CaptnChristiana/full/ceygm/

但是我不知道如何注入它,因为如果我用我的SVG url替换当前自定义css代码中的url,那么什么都没有显示出来。我认为一切都在互相反应,所以这让它变得棘手。要点是我希望我的徽标在有人徘徊时旋转180度,我已经有了代码,但是棘手的部分是将它注入我的网站。

感谢任何和所有帮助。 (对不起,如果这个问题令人困惑)

0 个答案:

没有答案