Support » Theme: Twenty Twelve » Raise image where header would normally go

  • Resolved DanielRandles

    (@danielrandles)


    I’ve suppressed the title header on my main page with the disable title plugin. I’m posting the image to the top of the page, but the theme is still reserving space for the invisible title. Is there any way to get the image a little higher?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • This is just a quick CSS hack, but one option is to add this to your child theme’s style.css:

    .postid-68 .site-header {
    	padding-bottom: 1px;
    }
    
    .postid-68 .site-content {
    	margin-top: 1px;
    }

    Just change 68 to the relevant postid. If you want to change a page, use .page-id-# instead of .postid-#.

    If you use Chrome Developer Tools or Firefox Firebug, you can easily see the CSS properties that can be adjusted. Let me know if you have any questions.

    It turns out there’s also a gui feature built right into the image. Once you’ve placed it on the page, just click the image features, and go to the “advanced” tab. From there you can adjust the vertical and horizontal positioning.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Raise image where header would normally go’ is closed to new replies.