Greek Yogurt Site Name Block Alignment
Permalink
I have two blocks in my Site Name in a new project with the Greek Yogurt theme. I'd like the two blocks to be aligned on the left, but I'm getting the second block to the right of the first block (see attached image).
Is this due to the theme coding, or am I doing something wrong? I'd also like to have the nav bar on the left but can't figure out how to do that either.
Thanks for any help.
-Alan
Is this due to the theme coding, or am I doing something wrong? I'd also like to have the nav bar on the left but can't figure out how to do that either.
Thanks for any help.
-Alan
The H1 was causing the problem. I removed it and the two blocks now align left.
The header nav stack probably needs something similar, doesn't it?
Thanks!
The header nav stack probably needs something similar, doesn't it?
Thanks!
Yeah possibly... If you don't already, try using the Firebug add-on with Firefox, this allows you to see details of any given element, and the CSS styles that are affecting it - plus a whole bunch of other useful info. Install it, and then right click on the element in question on your page and select 'Inspect element with firebug' - this will then open a panel with a bunch of tabs, look at the html tab (selected by default), and this shows the generated markup for the page, and the related CSS - It's incredibly useful for troubleshooting all sorts of issues such as this.
Hope that helps!
Hope that helps!
The easiest option would possibly be to just put all of that text into one block, but if you want to keep it in 2 blocks, open the file: 'typography.css' in your theme directory + look for the style 'div#main-container #header h1' - On about line 138:
Change it to (note the last 2 lines have been changed):
That should force the second block to appear directly underneath the first block.