Increase top margin to show background image
-
Just started working on a new site using twentytwelve (with some experience with twentyeleven, but with very little css and other tweaks).
First problem: I’d like to use the background image in a header-like way, that is, show a significant part of the image above the main page content. I created a child theme and thought it would be a piece of cake to increase the top margin in the child theme’s style.css, but apparently not… I did manage to get rid of the top margin using this:
body .site { margin-top: 0; }
but not increase it with a larger value. Any tips?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Increase top margin to show background image’ is closed to new replies.