I would like to put the Blog title and the description text side by side in my header. Right now the description line appears on a line below the Title. I look at my header code and this is what I find:
<h1>“><?php bloginfo(‘name’); ?></h1>
<h2><?php bloginfo(‘description’); ?></h2>
So I get a hyperlinked title to my blog, then right below it is my description line. The What I don’t see in the above code is a <br> or anything else that tells the page to display the two items as separate lines. If there was a <br> or something like that, I’d just delete it and have it all on one line, or so I would think.
So, what I want is to have my blog title on the left of my page, and the description to the right in smaller text. I have the styles set up correctly. I just need the positioning trick. Anyone have a suggestion? Thanks!
- The topic ‘Want to have Blog title and description side-by-side in header’ is closed to new replies.