Skip to content

Instantly share code, notes, and snippets.

@jlarrigan
Last active December 28, 2015 22:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jlarrigan/7570095 to your computer and use it in GitHub Desktop.
Save jlarrigan/7570095 to your computer and use it in GitHub Desktop.
Css Hacks
/* Use this to hide the about tab on embeds */
.embed #about-tab{
display:none;
}
/* Use this to hide the whole toolbar on embeds */
.embed .tb-toolbar {
display: none;
}
/* Use this to hide the latest tab on embeds */
.embed #latest-tab{
display:none;
}
/* Use this to hide just the social icones */
.embed .tb-toolbar .tb-tools {
display:none;
}
/* Use this to hide the featured tab on embeds */
.embed #featured-tab {
display:none;
}
/* Use this to hide the load more button on embeds */
.embed .loadmore {
border-bottom: 0px;
}
.embed #load-more {
display: none;
}
For embeds
<= 479 1 col
<= 767 2 col
/* Guide to help you replace the hashtag with an image. Note you have to hide the hashtag */
.live .masthead .tb-meta h2 {
display:none;
}
.live .masthead .tb-meta{
height:80px;
background: url(http://cl.ly/image/2M3T3W2c0r1T/chivas.png) no-repeat;
background-position: 50% 50%;
background-size: auto 80%
}
/* Guide on how to swap the position of the hashtag and the social icons */
.live .tb-networks {
position: absolute;
right: 25%;
width: 50%;
background: url(http://assets.tagboard.com/xboxone/XboxOne_stacked_Wht_rgb.png) 50% 50% no-repeat;
background-size: auto 80%;
}
.live .tb-meta {
left: 0;
width: 25%;
text-align: left
}
.live .tb-logo {
float: right;
background: url(/public/img/poweredby-white.png) 100% 50% no-repeat;
background-size: auto 75%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment