Widget Location in Header Area

Home Forums Support Widget Location in Header Area

Home Forums Support Widget Location in Header Area

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #195502
    Julian Birrer

    Hello

    I have Problem with the align of a Widget in my Header.
    I’d like to put the ultimate social media plugin icons between the logo and the search field.
    http://imgur.com/C7cjYgV
    The upper part of the image is, how it is at the moment and the lower part how it should look like.
    http://pfadi-rothenburg.ch/

    I copied this line im the header.php file: <?php echo do_shortcode( ‘[DISPLAY_ULTIMATE_SOCIAL_ICONS]’ ) ?>

    here ist the code from my header.php file:

    <?php
    /**
    * The Header for our theme.
    *
    * Displays all of the <head> section and everything up till <main id=”main”>
    *
    * @package GeneratePress
    */
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
    <meta http-equiv=”X-UA-Compatible” content=”IE=edge” />
    <?php if ( ! function_exists( ‘_wp_render_title_tag’ ) ) : ?>
    <title><?php wp_title( ‘|’, true, ‘right’ ); ?></title>
    <?php endif; ?>
    <link rel=”profile” href=”http://gmpg.org/xfn/11″&gt;
    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>
    <?php wp_head(); ?>
    </head>

    <body itemtype=”http://schema.org/WebPage&#8221; itemscope=”itemscope” <?php body_class(); ?>>
    <?php do_action( ‘generate_before_header’ ); ?>
    <header itemtype=”http://schema.org/WPHeader&#8221; itemscope=”itemscope” id=”masthead” role=”banner” <?php generate_header_class(); ?>>

    >
    <?php do_action( ‘generate_before_header_content’); ?>
    <?php generate_header_items(); ?>
    <?php echo do_shortcode( ‘[DISPLAY_ULTIMATE_SOCIAL_ICONS]’ ) ?>
    <?php do_action( ‘generate_after_header_content’); ?>

    <!– .inside-header –>
    </header><!– #masthead –>
    <?php do_action( ‘generate_after_header’ ); ?>

    <?php do_action(‘generate_inside_container’); ?>

    Thanks for your help
    Regards Julian

    #195574
    Tom
    Lead Developer
    Lead Developer

    Instead of editing core files like that, add your shortcode to another text widget in the Header widget area.

    Then add this CSS: https://generatepress.com/forums/topic/aligned-widgets-on-header-logo/#post-106330

    Adding CSS: https://generatepress.com/knowledgebase/adding-css/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.