Skip to content

Instantly share code, notes, and snippets.

@tdmrhn
Last active June 11, 2021 10:41
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 tdmrhn/03b00b23797fe92a912612e91f59727a to your computer and use it in GitHub Desktop.
Save tdmrhn/03b00b23797fe92a912612e91f59727a to your computer and use it in GitHub Desktop.
Blocksy Single Post Forced Layout
[data-prefix="single_blog_post"] article { position:relative; }
[data-prefix="single_blog_post"] .entry-header ul.entry-meta , [data-prefix="single_blog_post"] .ct-featured-image {
position:absolute;
z-index:1;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto; }
[data-prefix="single_blog_post"] .ct-featured-image { top:-600px;
}
@media (max-width: 993px) {
[data-prefix="single_blog_post"] .ct-featured-image { top:-470px;
}
}
@media (max-width: 672px) {
[data-prefix="single_blog_post"] .ct-featured-image { top:-330px;
}
}
[data-prefix="single_blog_post"] .entry-header ul.entry-meta
{ bottom: -3em; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment