Interested in learning how I can add a link to our Facebook page or Twitter account. Would like to add an icon/link to the navbar on the right (Watercolour theme). Perhaps also on Subscribe page. Edit Template page only allows for CSS template changes?
Hi Noahv, in your blog management area, under the Manage tab, there is a Links option. You can enter the links to your Twitter and Facebook pages on there.
Thanks Peter - I was hoping to get this in the same area as the Home Page / TOC / Subscribe icons on the right. Any chance to do that?
Also, any way to add a banner text to the top of the blog (under the map?) that says something like "Click on the link to the right to subscribe or Like us on Facebook?"
Thanks!
This will force the positioning of the links to the top under the other main navigation items, push the search down a bit and make the link text look more similar to the main navigation:
position:absolute;top:180px;
line-height: 45px;
font-size: 18px;
font-family: Georgia serif;
}
#bloglinks li {
height: 45px;
padding-left:45px;
margin-bottom: 10px;
border-bottom: 0 !important;
}
#bloglinks h3 {display:none;}
#navsearch {margin-top:100px;}
To add some text under the map is getting a little more advanced. It's much harder to manipulate the styling of this text, but it can be done. This will get you started:
#blognav_map:after {content:"Click on the link to the right to subscribe or Like us on Facebook"}
[ 19-Jun-2012, at 17:47 by Peter ]
Thanks Peter - that worked a treat. To finish it up, how can I add icons for the two new links (like are there for Home, TOC, and Subscribe)?
Thanks - Noah
Unfortunately the icon set I used in that template doesn't have an icon for Facebook. It does however have one for Twitter. Here is a full image with all the icons available -
If you want to use one of the other ones there for Facebook let me know and I can upload it so you can use it and the Twitter one.
Thanks - probably the "News" one fits the best.
Too bad there's not a stock FB one (ideally, I would love this one... http://modmyi.com/attachments/forums/iphone-4-new-skins-themes-launches/469616d1283953255t-buuf-iphone-4-facebook2.png)
Hi Noah, I've added those icons for your use. The FB one didn't have transparency, so I had to cut it out which makes it a bit blocky.
These are the bits of code to change:
position:absolute;top:170px;
line-height: 45px;
font-size: 18px;
font-family: Georgia serif;
}
#bloglinks li {
height: 45px;
padding-left:45px;
margin-bottom: 10px;
border-bottom: 0 !important;
background:url(/img/11/noahv_twitter.png) no-repeat 7px 0;
line-height:45px;
}
#bloglinks li:first-child {
background:url(/img/11/noahv_fb.png) no-repeat 0 0;
}
It is a bit fragile in that if you ever add another link there it will also automatically get the Twitter icon
And the FB one may not work in some older browsers (and show the twitter icon instead); I think for most modern browsers it will be ok though.
0 Response to "Facebook or Twitter Subscribe"
Post a Comment