New Landing How can we help? Themeforest Theme Support Dante Header 1 with social icons on right and phone number on right

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #117280
    sailaway
    Member
    Post count: 12

    Hi, is it possible to header one with phone number on the left side and social icons on the right side and logo in the middle? I know it can be done by adding the top bar but it adds up additional row. Is it possible to have phone number, logo and social icons in one line? thank you, Katerina

    #117405
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    I’m afraid not sorry, the header right is used for the aux links. If you wanted to change that you would have to edit sf-header.php

    – Kyle

    #117742
    sailaway
    Member
    Post count: 12

    Hi Kyle, thank you. I figured it out. I made changes in sf-header.php

    I’m using the information for top bar. I added $tb_right_text = $options['tb_right_text']; to variables of the header and change the the right side of the header like following:
    $header_output .= '<div class="header-right col-sm-4">'. do_shortcode($tb_right_text).'</div>'. "\n";

    Everything works good but I think it should be changed in child theme. I already created child theme but I’m not sure what file I need to added to child. Do I copy the whole modified sf-header.php or just part of it.

    Thank you, Katerina

    #117772
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    You need to add the entire modified sf-header.php to the child theme, this means when the theme is loaded that file in the child theme will be loaded instead of the sf-header.php in the parent theme that’s why it’s necessary all the code in the file.

    -Rui

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register