Last active
December 28, 2015 00:29
-
-
Save shazdeh/7413631 to your computer and use it in GitHub Desktop.
Moving up the sidebar beside the content area in Bold theme's single view
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.single #body { | |
position: relative; | |
width: 978px; | |
margin: auto; | |
} | |
.single .post-inner { | |
margin-right: 240px; | |
} | |
.single #layout { | |
position: absolute; | |
top: 0; | |
z-index: 1; | |
} | |
.single .post { | |
width: 710px; | |
position: relative; | |
z-index: 10; | |
} | |
.single #pagewrap { | |
background: inherit; | |
} | |
.single .post-nav { | |
display: none; | |
} | |
@media(max-width: 980px) { | |
.single .post-inner { | |
margin-left: 5%; | |
max-width: 70%; | |
margin-right: 0; | |
} | |
} | |
@media(max-width: 800px) { | |
.single .post { | |
width: 95%; | |
} | |
.single .post-inner { | |
max-width: 95%; | |
} | |
.single #layout { | |
position: static; | |
} | |
.single #sidebar { | |
width: 100%; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment