I have had a few questions about how I added the "Follow Closet Cooking" buttons for rss, email, facebook and twitter to the top of my side bar so I thought that I would write a tutorial for it. To add the buttons you will need to play around with a bit of html in your template but it is pretty easy. I will target this tutorial more at users of blogger but it should interpret to other blogging applications easily.
1. Get the button images. There are a lot of free social media buttons out there with different looks and feels. A search with the terms "free social media icons" should bring up a lot of them.
2. Upload the button images. If you are using blogger, post a new article and use the "Add Image" tool to upload one of the buttons. Click on the Edit HTML button and you will see some HTML code there for the image. What you are looking for is the <img tag and more specifically the src="[image link]" part of it. Copy the link value between the "'s directly after the src= and save it for later. Repeat with all of the images and then you can discard that post. (For non blogger users, you can upload the images to where you normally upload your images and get the image links.)
3. Add the side bar gadget. Go to Layouts and Add Gadget to your side bar. Select a HTML/JavaScript gadget. Choose a title and paste the following code into the Content:
<div id="subscriptions">
<ul>
<li><a href="[Place your rss feeds link here]"><img alt="Follow [Place your site name here.] by RSS" title="Follow [Place your site name here.] by RSS" src="[Place link to the rss image here.]" /></a></li>
<li><a href="[Place email subscription link here.]"><img alt="Follow [Place your site name here.] by Email" title="Follow [Place your site name here.] by Email" src="[Place link to the email image here.]" /></a></li>
<li><a href="[Place your facebook feeds link here]"><img alt="Follow [Place your site name here.] on Facebook" title="Follow [Place your site name here.] on Facebook" src="[Place link to the facebook image here.]" /></a></li>
<li><a href="[Place your twitter link here]"><img alt="Follow [Place your site name here.] on Twitter" title="Follow [Place your site name here.] on Twitter" src="[Place link to the twitter image here.]" /></a></li>
</ul>
</div>
Each of the blue blocks in the above code needs to be replaced with your links to your rss feeds, facebook accounts, your buttons links and your sites name.
4. Make it look good. If you leave it here the buttons will likely be stacked on top of each other which is not what we want so we are going to have to add some styles to the html template. In blogger go to Layouts and then Edit HTML. Click on the Download Full Template link to make sure that you have a backup of your currently working template. You are going to want to copy the following css code into the template:
#subscription ul {list-style: none outside none;}
#subscriptions li {display:inline;}
#subscriptions img {border:none;padding:0 2px;}
The first line removes the bullet and the second makes the buttons line up beside each other rather than on top of each other and the third line removes the border and adds a bit of space between the buttons. (Feel free to change the amount of space to fit your site best.)
If you are not familiar with css and html: Look for either a </style> or ]]></b:skin> and insert the code just above it. Preview and save the template and then test the buttons to make sure that they work as expected.
Note: Not all blogger template will work the same and I make no guarantee that this will work on all of them.
I hope that someone finds this useful. Next up is adding the share and follow buttons to the bottom of your posts.
Categories
4th of July
(1)
Ace of Cakes
(1)
almonds
(1)
american lamb
(3)
anchovies
(1)
anna's taqueria
(1)
Announcement
(8)
Appetizer
(67)
apple
(3)
apples
(1)
apps
(1)
asian
(1)
Asian pear
(4)
asparagus
(2)
AZ
(1)
Back To School
(2)
Bars
(3)
BBQ
(1)
BBQ chicken
(1)
bean sprout
(3)
Beef
(43)
bibimbap
(6)
Bindaetteok
(1)
Blogger
(1)
blogger event
(2)
blueberry cake
(1)
Boston Brunchers
(2)
Boston Parent Bloggers
(1)
Bread
(12)
Breakfast
(59)
broccoli
(1)
broil
(1)
Brunch
(1)
bulgogi
(2)
Burger
(5)
burritos
(1)
butternut squash soup
(1)
cabbage
(6)
Cajun and Creole
(9)
Cake
(3)
Cakes
(2)
California
(1)
Canadian
(2)
Cheesecake
(4)
Chicken
(63)
chicken soup
(1)
children's books
(2)
chili paste (gochujang)
(3)
Chinese
(12)
chinese food
(1)
Chinese New Year
(2)
chocolate
(1)
chocolate cookies
(2)
ChopChop Magazine
(2)
christmas gifts
(2)
CitySprouts
(1)
coconut
(1)
Condiment
(48)
cookbooks
(3)
Cookie
(11)
cookies
(9)
cooking school
(2)
cooking with kids
(3)
cooks illustrated
(1)
corn
(1)
craft
(1)
Crockpot
(6)
csa
(1)
cucumber
(1)
Curry
(3)
Cutty's
(1)
DailyFeats
(1)
dairy-free
(1)
David Chang
(1)
Davis Square
(1)
day off
(1)
delivery
(1)
Dessert
(37)
dining out with kids
(1)
dinner planning
(1)
Dip
(15)
Donburi
(1)
dragon boat festival
(1)
Dressing
(3)
Drink
(4)
drinks
(1)
Duck
(2)
Duff Goldman
(1)
dumpling
(2)
easy and simple
(27)
Easy Lunchboxes
(1)
Egg
(43)
eggplant
(1)
eggs
(1)
English
(1)
fair trade
(1)
family activity
(1)
family event
(1)
family-friendly
(3)
fish
(4)
Flour Bakery
(2)
Food
(483)
foodie
(1)
foodie family
(1)
Foodler
(1)
freeze
(1)
French
(2)
french toast
(1)
fried rice
(1)
Fritter
(6)
fusion
(1)
gardening
(1)
Gather Here
(1)
gift
(1)
Greek
(30)
grill
(1)
Grilled Cheese Sandwich
(28)
Halloween
(2)
Ham
(8)
Healthy Lunchtime Challenge
(1)
herbs
(1)
Indian
(9)
Irish
(4)
Italian
(53)
Jam
(1)
Jamaican
(2)
Jamie Oliver
(2)
Japanese
(2)
japchae
(3)
Joe's American Bar and Grill
(1)
kale
(1)
Katie Workman
(1)
kid-friendly
(5)
kid-friendly recipes
(3)
kimbap
(1)
Kimchee
(14)
kimchi
(16)
kitchen appliance
(1)
kitchen tools
(1)
Korean
(32)
Korean beef
(7)
Korean chicken
(4)
Korean fish
(3)
Korean fried chicken
(2)
Korean grocery
(1)
Korean ingredients
(1)
Korean noodle
(3)
Korean pancake
(5)
Korean pork
(1)
Korean rice rolls
(2)
Korean side dish
(27)
Korean soup
(4)
Korean stew
(5)
Lamb
(5)
leftovers
(1)
lemon
(2)
lemon cookies
(1)
lentils
(1)
Lion's Head
(1)
Little Q Hot Pot
(1)
local
(1)
lunchbox
(1)
M3
(1)
mackerel
(1)
Macy's
(1)
Macy's Culinary Council
(1)
Maggiano's
(1)
Main Course
(160)
main dish
(27)
Make-A-Wish
(1)
Maple
(2)
March of Dimes
(1)
Mark Bittman
(1)
Martha Stewart
(1)
meal planning
(3)
meatballs
(1)
meatless
(2)
Mediterranean
(4)
metrowest
(1)
Mexican
(5)
mexican food
(1)
Michelle Obama
(1)
milk
(2)
Ming Tsai
(1)
momofuku
(1)
monkey bread
(1)
Moroccan
(4)
mother's day
(1)
Muffin
(3)
mung bean
(1)
Mushroom
(21)
noodle
(5)
noodles
(1)
nutrition
(1)
oatmeal
(1)
Omelette
(5)
one-pot dish
(1)
Oxfam Grow campaign
(6)
painting
(1)
Palettes
(1)
pancakes
(1)
Pasta
(25)
PB Boulangerie
(1)
Pesto
(10)
pho
(1)
Phoenix
(1)
Pickle
(3)
picky eater
(3)
Pie
(3)
Pizza
(8)
Pizzeria Bianco
(1)
Pork
(34)
porridge
(1)
potato
(2)
potatoes
(1)
potluck
(2)
potstickers
(2)
Presto Pasta Nights
(15)
Pumpkin
(18)
Quesadilla
(8)
quick and easy
(3)
Quick Bread
(3)
Quinoa
(14)
radish
(7)
reality TV
(1)
Recipe
(458)
resource
(1)
restaurant review
(4)
Rice
(21)
rice cake
(3)
rice crispy treat
(1)
Risotto
(4)
Roundup
(19)
Salad
(38)
salmon
(1)
Salsa
(9)
Sandwich
(73)
sandwiches
(1)
Sauce
(3)
sausage
(1)
save energy
(1)
save food
(1)
school garden
(1)
school lunch
(3)
Scollay Square
(1)
Seafood
(48)
seasonal
(1)
seaweed
(1)
shortcakes
(1)
shrimp
(3)
Side Dish
(55)
side dish(반찬)
(1)
Slow Cooker
(5)
snack
(1)
Soup
(21)
soups and stews
(10)
Southern
(23)
soybean paste
(1)
spicy
(18)
spinach
(2)
sriracha
(1)
steak
(1)
Stew
(8)
stir fry
(1)
strawberries
(1)
Strawberry
(4)
strawberry shortcake
(1)
stuffing
(1)
summer
(3)
sweet potato
(1)
takeout
(2)
Tart
(7)
Texmex
(71)
Thai
(14)
Thai food
(1)
Thailand
(2)
thanksgiving
(1)
tofu
(9)
traditions
(1)
travel
(1)
Turkey
(8)
Turkish
(1)
turnip
(1)
Tutorial
(1)
Valentine's Day
(1)
Veal
(1)
Vegetable
(62)
Vegetables
(3)
Vegetarian
(236)
vegeterian
(25)
Vietnamese
(7)
weeknight meal
(2)
White House
(1)
Whole Foods Market
(1)
Whole Grains
(16)
wordless wednesday
(5)
WorldFoods
(1)
Wrap
(3)
zucchini
(1)