Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Use the following code in your WordPress (TwentyEleven) Child Theme CSS to quickly create a Sidebar on your site PAGES. After you're done, paste the following PHP code just before the get_footer PHP code on your page.php file: <?php get_sidebar(); ?> */
- .left-sidebar.singular #content{
- margin:0 5% 0 35%;
- width:60%;
- }
- .right-sidebar.singular #content{
- margin:0 35% 0 5%;
- width:60%;
- }
- .singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title{
- width:100%;
- }
- #secondary{
- margin-right: 5%;
- width: 25%;
- }
- .right-sidebar #primary{
- margin: 0 -35% 0 0 !important;
- }
- .left-sidebar #primary{
- margin: 0 0 0 -35% !important;
- }
- .singular.page .hentry{
- padding:0px;
- }
- .right-sidebar #primary{
- float:left;
- margin:0 -26.4% 0 0;
- width:100%;
- }
- /* This moves your 'Edit link' out of the way of the content text. */
- .singular .entry-meta .edit-link a{
- left:auto;
- right:0px;
- top:20px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement