WordPress.org

Ready to get started?Download WordPress

Forums

How to move Slogan position?? (4 posts)

  1. SaraAsman
    Member
    Posted 2 years ago #

    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') ); ?>
    </div>
    <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 }; ?>
    </div>

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

    Any ideas??
    Thanks a lot,

    Sara

  2. Kharis Sulistiyono
    Member
    Posted 2 years ago #

    Your current blog slogan is declared in :

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

    Try to change it to :

    <div class="my_slogan">
        <?php echo esc_html( get_bloginfo('description') ); ?>
    </div>
  3. threestyler
    Member
    Posted 2 years ago #

    You need to modify the stylesheet style.css

    Look for:

    .slogan {
     css: stuff;
    }
  4. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    with pure formatting problems, try to work with a tool such as http://getfirebug.com/ 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.

Topic Closed

This topic has been closed to new replies.

About this Topic