topbar modifications

Home Forums Shard – WordPress Theme topbar modifications

This topic contains 1 reply, has 2 voices, and was last updated by  ab-themes 7 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17575

    amicus
    Participant

    Hello,
    In the topbar is it possible to move the search box to the left (to the position of the email address)?
    Is it possible to place a button on the right of in the topbar (instead of the search field)?

    Thank you.

    #17580

    ab-themes
    Keymaster

    Hi,

    please edit your header_layout_1.php in partials folder
    (you can find it here \wp-content\themes\shard\partials\header_layout_1.php)

    and on line 135 you have this code:

    <?php get_template_part('partials/header_searchform');?>

    Cut that code.

    Go to line 19 where you have this

    <?php endif; ?>

    and paste code upper code below below line 19. Now search box will be on left side.

    If you want to remove email address field comment or delete code from line 16 to line 19.

    For button scroll down and somewhere on line 130 you will have this code:

    if($zerply_url!= ''):?>
    <a href="<?php echo $zerply_url;?>" class="social_link dnd_tooltip tcvpb_tooltip" title="<?php _e('Follow us on Zerply','ABdev_shard'); ?>" data-gravity="n" target="<?php echo $target; ?>"><i class="icon-zerply"></i></a>
    <?php endif;?>

    Below that paste this:

    and you will have button in top bar, just set text that you like, we are just for example add “Add your text here”.

    Kind regards

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

The topic ‘topbar modifications’ is closed to new replies.