Support » Themes and Templates » How to move Slogan position??

  • Hi all,

    I am currently working on my blog and want to move the slogan position. Here is what i need:
    – Slogan must be under the Logo (right now next to)

    Here is an extract of the current header.php file:

    <div class="logo"> <a>"><?php $logo = (get_option('bold_logo') <> '') ? get_option('bold_logo') : get_bloginfo('template_directory').'/images/logo.gif'; ?>
    	<img src="<?php echo esc_url( $logo ); ?>" alt="Logo" class="logo-image"/></a>
    <?php if (get_option('bold_display_slogan') == 'on') { ?>
    <img src="<?php bloginfo('template_directory'); ?>/images/<?php echo esc_attr(get_option('bold_color_scheme'));?>/slogan-left.gif" alt="logo" style="float: left; margin-top: 3px;" />
    <div class="slogan">
        <?php echo esc_html( get_bloginfo('description') ); ?>
    <img src="<?php bloginfo('template_directory'); ?>/images/<?php echo esc_attr(get_option('bold_color_scheme'));?>/slogan-right.gif" alt="logo" style="float: left; margin-top: 3px;" />
    <?php }; ?>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button.]

    Any ideas??
    Thanks a lot,


Viewing 3 replies - 1 through 3 (of 3 total)
  • Your current blog slogan is declared in :

    <div class="slogan">
        <?php echo esc_html( get_bloginfo('description') ); ?>

    Try to change it to :

    <div class="my_slogan">
        <?php echo esc_html( get_bloginfo('description') ); ?>

    You need to modify the stylesheet style.css

    Look for:

    .slogan {
     css: stuff;



    Forum Moderator

    with pure formatting problems, try to work with a tool such as to determine which styles to edit;

    or at least post a link to your site.

    if you happen to work with a commercial theme, contact the theme’s seller for support.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to move Slogan position??’ is closed to new replies.