• Here is the code I have:

    <div id=”masthead_wrapper”>
    <h1 id=”masthead”>“><?php bloginfo(‘name’); ?></h1><h2 id=”tagline”><?php bloginfo(‘description’); ?></h2>
    </div>

    It currently shows up like this:

    SiteName
    Slogan goes here.

    I want it to be like this:

    SiteName Slogan Goes here.

    Since they are both tagged with different header qualities, does that mena they have to show up that way?

Viewing 1 replies (of 1 total)
  • Try this

    <div id="masthead_wrapper">
      <h1 id="masthead" style="display: inline;"><?php bloginfo('name'); ?></h1>
      <h2 id="tagline" style="display: inline;"><?php bloginfo('description'); ?></h2>
    </div>

Viewing 1 replies (of 1 total)
  • The topic ‘How can I get these items to show up on the same line?’ is closed to new replies.