Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #707202

    Hi Enfold Team

    Three questions regarding the header of the website:

    1) We would like to have “logo center menu above” but “left”. So the menu not center but left. How can we change this? http://prntscr.com/d258ar

    2) We would like to show the social icons all to the right in the main menu (so same line as “Home” “Blog” etc.). How can we do this?http://prntscr.com/d2599c

    3) The search symbol is not centered to the background hover color http://prntscr.com/d25aal Is this fixable and if so, would you know how?

    Thank you very much and best
    R

    #707217

    Hey eKMUch,

    1. Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    .av-main-nav-wrap ul {
        float: right;
    }
    

    2. To display social icon next to main menu go to Enfold > Header > Extra Elements > Header Social Icons > Display in main header area.

    3. use the below css code to fix search icon on hover.

    #menu-item-search a {
    	padding-right: 15px;
    }

    Best regards,
    Vinay

    #707338

    Hi Vinay

    Thank you so much for the excellently swiftand competent reply.

    1) works like charm

    2) This makes the social icons show where they’re now already – next to the logo. However, we would like to have them in the main menu just to the right instead of the left (float right). Do you know how to do this?

    3) Unfortunately didn’t work – still showing not centered http://prntscr.com/d29bp9 Any idea why?

    Thank you and best,
    R

    #707605

    Hi,

    Thank you for the kind words.

    1. Glad it works!

    2. In the theme options Enfold > Header > Extra Elements > Header Social Icons > select Top bar right.

    If that does not work keep the social icons in main header active and try adding this at the very end of your themes / child themes functions.php file:

    function mobile_menu_social_icons(){
    ?>
    <script>
    jQuery(document).ready(function(){
      var htmlString = jQuery('.social_bookmarks').html(),
      mobileMenu = jQuery('#mobile-advanced'),
      desktopMenu = jQuery('.av-main-nav');
      mobileMenu.prepend('<ul class="noLightbox social_bookmarks">' + htmlString + '</ul>');
      desktopMenu.prepend('<ul class="noLightbox social_bookmarks">' + htmlString + '</ul>');
      console.log('<ul class="noLightbox social_bookmarks">' + htmlString + '</ul>');
    });
    </script>
    <?php
    }
    add_action('wp_head', 'mobile_menu_social_icons');

    3. To fix the search icon hover state :

    #menu-item-search a {
    	padding-right: 15px!important;
    }

    If you still have any issue please let us know and we might have to take a closer look at the settings so Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Vinay

    #708159

    Hi Vinay

    Thank you again for your swift reply.

    2) “Enfold > Header > Extra Elements > Header Social Icons > select Top bar right” puts it in top bar instead of main header menu.
    The code you provided does put the social icons into the main header area but to the left instead of right and puts the icons into a strange box instead of fluid into the header (screenshot in private content). Can you change this?

    3) wonderful this worked :)

    Logins just in case anyhow in private content.

    Best,
    Raphael

    #709252

    Hi,

    Login credentials are not working for me. Can you please check them once again?

    Best regards,
    Yigit

    #709268

    Oh, really? Hm, not sure why, but I updated the user and this time it must work. sorry for the inconvenience.

    #709318

    Hi!

    I added following code to functions.php file of your child theme in Appearance > Editor

    function av_move_social(){
    ?>
     <script>
    jQuery(window).load(function(){
    jQuery(".av-logo-container ul.social_bookmarks").detach().appendTo('.avia-menu.av-main-nav-wrap')
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'av_move_social');

    and following code to style.css file

    #header_main nav .social_bookmarks { margin-left: 5px; }

    Please review your website now :)

    Regards,
    Yigit

    #709927

    Hi Yigit,

    Beautiful. Thank you works, well. I made it:

    #header_main nav .social_bookmarks { float:right; }

    And now its also all to the right.

    Thank you very much,
    R

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘header settings: logo, header social icons and search icon’ is closed to new replies.