Skip to content

Instantly share code, notes, and snippets.

@simondahla
Forked from Sarahhoof/hidden_preheader_example.html
Created September 25, 2015 07:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simondahla/d0b645f6015cb75f0278 to your computer and use it in GitHub Desktop.
Save simondahla/d0b645f6015cb75f0278 to your computer and use it in GitHub Desktop.
#templatePreheader{
background-color:#e61c1c;
border-top:0;
border-bottom:0;
}
.preheaderContainer .mcnTextContent,.preheaderContainer .mcnTextContent p{
color:#fefefe;
font-family:Helvetica;
font-size:9px;
line-height:100%;
text-align:center;
}
.preheaderContainer .mcnTextContent a{
color:#007fff;
font-weight:normal;
text-decoration:underline;
}
<span style="color:#c61618; display:none; font-size:0px; height:1px!important; line-height:0px; visibility:hidden">This is a text block. Write your preheader here.</span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment