- This topic has 1 reply, 2 voices, and was last updated 10 years, 2 months ago by
Tom.
-
AuthorPosts
-
May 20, 2016 at 2:26 am #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″>
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>
<?php wp_head(); ?>
</head><body itemtype=”http://schema.org/WebPage” itemscope=”itemscope” <?php body_class(); ?>>
<?php do_action( ‘generate_before_header’ ); ?>
<header itemtype=”http://schema.org/WPHeader” 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 JulianMay 20, 2016 at 12:13 pm #195574Tom
Lead DeveloperLead DeveloperInstead 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/
-
AuthorPosts
- You must be logged in to reply to this topic.