How to customize the appearance of Storify on your site

Storify is growing in popularity and being used by more and more sites to tell stories by curating social media. But while you see Storify embedded on more and more sites, you’ll notice it looks exactly the same on all of them.

It doesn’t have to. The Storify site doesn’t yet give you options to customize the look of a widget. But with a few quick tweaks to the CSS of your site, you can make the Storify widget look less like a widget and more like an organic piece of your site.

Below are the before and after examples of how I modified its appearance to fit into my own site. You can use the same framework, substituting whatever fonts and colors are appropriate for your site.

Notice the major differences are the fonts and colors consistent with the rest of the site, and the removal of the widget’s header and borders.

Original Storify look

New Storify look

This paragraph is written in my WordPress blog, but notice how it flows seamlessly into the following one, which is actually the beginning of the Storify widget.

How to do it

Now that you’ve seen what you can do, here is how I did it using CSS. The following lines, substituting your own font/color styles, should be added to a new section in your stylesheet. Note that in several cases you must use the “!important” declaration on the styles because you need to override inline styles that the widget script prints by default.

Hide the entire Storify header

#sfywdgt_header {
display:none!important;
}

Align Storify body text flush with the left margin of the widget. By default it is indented 20px from the border.

#sfywdgt_body {
margin-left:-20px;
}

Remove borders, changes font and font size and background color of Storify body area.

#sfywdgt_body, #sfywdgt_body li, span.sfy_text, .sfy_description {
border:none !important;
font-family: “Helvetica Neue”,Helvetica,Arial,default!important;
background: #FCFCFC!important;
}

Changes color and behavior of links in the Storify body area. Match this to whatever your links look like in normal body text.

#sfywdgt_body a {
color:#000;
text-decoration:underline!important;
}
#sfywdgt_body a:hover {
color:#333;
}

Removes border from Storify footer area. Also increases “Powered by Storify” font size (this last one is just my taste — I felt like they deserve a slightly more prominent credit line since I’m hiding the header and a lot of the other distinctive features).

.sfywdgt_footer {
border:none!important;
background: #FCFCFC!important;
font-size:10pt!important;
}

Depending on how comfortable you are with CSS editing, you can do more advanced customizations. The key things to know are that the widget script creates three main HTML divs — the header (#sfywdgt_header) the body (#sfywdgt_body) and the footer (.sfywdgt_footer). You can modify or hide any of those by playing with the CSS.

Feel free to share links to examples of your own customizations or tips in the comments.

  • Ryan Kellett

    Well done, Jeff. Will try this the next time I want to try a Storify embed. My only concern is that by pulling the header you miss out of the share functionality that links the widget and the actual storify page. I guess it’s not hard to re-code that info into the page though… thanks!

  • Anonymous

    That’s true, but my assumption is in most cases your blog or news site already has sharing tools on the page where you are embedding the Storify module.

  • http://topsy.com/jeffsonderman.com/2011/01/how-to-customize-the-appearance-of-storify-on-your-site/?utm_source=pingback&utm_campaign=L2 Tweets that mention How to customize the appearance of Storify on your site | jeffsonderman — Topsy.com

    [...] [...]

  • http://topsy.com/jeffsonderman.com/2011/01/how-to-customize-the-appearance-of-storify-on-your-site?utm_source=pingback&utm_campaign=L2 Tweets that mention How to customize the appearance of Storify on your site | jeffsonderman: — Topsy.com

    [...] This post was mentioned on Twitter by Eric Scherer. Eric Scherer said: How to customize the appearance of Storify on your site | jeffsonderman: http://bit.ly/icgbjz [...]

  • Chrys

    very good solution :-)
    in the header, there are many CSS code you can also customize : border style (#fff)… padding (to 0)…
    div.sfywdgt_image… and so on !

  • Anonymous

    Thanks Chrys, good point. My first move was to hide the header entirely, so I didn’t focus much on modifications within it. But I’m sure there’s a lot you can do there.

  • http://virtualDavis.com virtualDavis

    Bravo, Jeff, this is nothing short of a giant step for blogger-journalist-curator-kind! The Storify crew are building a powerful and overdue tool for curating the social web, and you’ve taken a critical step towards making it more design friendly. Perhaps Xavier and Burt are following your posts stream? And perhaps they’ll integrate a css tuner on their end soon? Cheers!

  • http://www.quora.com/Content-Curation/Where-can-i-find-css-method-for-customizing-Storify-appearance#comment49558 Quora

    Where can i find css method for customizing Storify appearance ?…

    http://jeffsonderman.com/2011/01/how-to-customize-the-appearance-of-storify-on-your-site/...

  • http://www.quora.com/Content-Curation/Where-can-i-find-css-method-for-customizing-Storify-appearance#ans499820 Quora

    Where can i find css method for customizing Storify appearance ?…

    This post has the basics on doing what you ask about: http://jeffsonderman.com/2011/01/how-to-customize-the-appearance-of-storify-on-your-site/...

  • http://nickkellet.com/ Nick Kellet

    Thanks Jeff. Your post stirred a debate with my co-founder @shyamster:twitter  and I over at @listly:twitter on how we should implement/support customization  Your approach with @Storify:twitter rocks. 

  • http://nickkellet.com/ Nick Kellet

    Thanks Jeff. Your post stirred a debate with my co-founder @shyamster:twitter  and I over at @listly:twitter on how we should implement/support customization  Your approach with @Storify:twitter rocks. 

blog comments powered by Disqus