Hey ive recently come over from joomla in a attempt to get more dug into web dev. Unforuntly picking out the easiest bits first usually leaves me feeling frustrated as its the first molehill and always takes yonks

anyway onto the point at hand. Ive downloaded Genesis, looked at them and pressumed just to upload them to the themes dir done that winning.next step have a look at what u get ok so now control panel lets go backend ah yes all css editing just what i set out to hit. So yeh lets see first steps had a look at the diff between genesis SUBTHEME and the normal theme. I pressumed that the subtheme was for basic users aka me and the other main one was for the more advanced crowed.

So yeh started with subtheme

first 2 molehills easy centerise that logo so i know its sound code and not just pushed into place with buffers once i made it and also im gona be going for a dark theme.

No matter what i add to the #branding div in page.css of SUBTHEME it will not centerise the default logo.With margin: auto; it doesnt even read it in firebug, ive tryed entering it with firebug still a no go. float:right works but far as im aware theres no float:center ive ofcourse tryed margin:0 with float:none. So yeh first Q how would i go about centerising the default logo of SUBTHEME.

Second Q that is parta first Q really. Has SUBTHEME got any dependencys to the main Genesis theme. When i hit a problem is it expect for me to dig threw those files aswell? im pressuming Subtheme works all on its lonesome.

Third Q if pos how does one enable DARK theme. I kno these are nab q;s but like as i said baby days learn everythin as i cross it etc.

Ive had a good gander over documentation all i read is there is a otion to enable it and previously it was a override. So i looked threw all the CSS files of SUBTHEME but nothing there i can make out, ive read the doc online about it nothing there for how to enable it ether. So i took the entire file and wiped the closest applicable css file with it in the main dir and well it worked but i can only pressume it was not the correct method. Id quite like to use the correct method as im guessing my method has borked site.

anyway many thanks indeed

sorry to bother

Tim,

Comments

Jeff Burnz’s picture

1 - to center the logo

Take away the float:left; on #branding then...

#logo {
    text-align: center;
}

2 - know what dependencies the subtheme has on the core theme.

Its lots. Mostly PHP stuff that is generating classes and other things and some of the CSS but nothing that you can't override and not that much that directly effects style, its more layout related and a reset for Drupal output.