3 replies [Last post]
jennym
jennym's picture
Offline
newbie
UK
Last seen: 10 years 4 weeks ago
UK
Timezone: GMT+1
Joined: 2013-01-09
Posts: 2
Points: 3

Hi

Have just started a wordpress website using the twenty twelve theme.

I want to change the space above the header (margin/wrapper) as it is too deep. Problem is where do I alter the code?

I have created a child style.css file in the hope of fixing the problem. Using the following code:

.site-header {
	padding: 0px 0;
	padding: 0.0rem 0;
}
 
body {
	margin-top: 0px 0;
}

Have been asking on wordpress forum and I understand that twenty twelve is a little different from twenty ten and twenty eleven as changing the format is not so easy.

Any help would be gratefully appreciated.

jennym
jennym's picture
Offline
newbie
UK
Last seen: 10 years 4 weeks ago
UK
Timezone: GMT+1
Joined: 2013-01-09
Posts: 2
Points: 3

Resolved!

Resolved!

In case anyone has the same problem:

see Wordpress forum

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 48 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Thank you

For the follow-up and the link.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 4 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

All WP themes follow same

All WP themes follow same principles of template hierarchy, twentytwelve being no different only in it's template part includes and approach to building some of the views, it's actually a better example to follow than twentyeleven which had a fit of breaking everything up into too many includes, but all that doesn't affect how a child theme interacts so styling at a basic level still rests with style.css and style overrides, although better is to create a true standalone theme using 2012 as example to follow.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me