Adding links after the 'Site Description'
-
I would like to add the Registration and Login/Logout links (side-by-side) in the blank area to the right side of the Site Description statement in the header, above the slider.
However, when I add the following code after the header statement, it drops the links below the Site Description, in list format, rather than beside the header statement.
Here’s the id=”header-group” code;
<div id="header-group"<?php echo $header_class; ?>> <h1 id="site-title"<?php echo $class; ?>> <a href="<?php echo esc_url( home_url() ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a> </h1> <?php if ( $bavotasan_theme_options['tagline'] ) { ?> <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2> <?php } ?> <div id="headerlinks"> <?php wp_register(); ?> <?php wp_loginout(); ?> /div> </div>
I was going to use the “id=headerlinks” to control it with CSS, but I’m not sure how to make this work.
Can you help?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Adding links after the 'Site Description'’ is closed to new replies.