Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @dem10,

    Am I right in assuming https://www.infoliga.schleider.com.ar is the site you’re trying to make those changes on? Are you trying to reposition the search box so that it’s in the upper most right corner of the site?

    If so, firstly set up a child theme and then copy the parent theme’s header.php file to your child theme’s directory.

    The following code in header.php defines the search box:

    <div class="header-search">
    	<?php get_search_form(); ?>
    </div>

    You can reposition that code so it’s above your header and then target .header-search with some custom CSS to style it further.

    Would you like to give that a try? We’ve gone through a few HTML and CSS changes together now and this is a good opportunity to put those skills to test. ??

    Some good resources to help you out with this task are here:

    https://en.support.wordpress.com/custom-design/how-to-find-your-themes-css/
    https://www.codecademy.com/learn/web
    https://learn.shayhowe.com/html-css/

    If you get stuck at any stage then let me know and I’ll see how I can guide you.

    Thread Starter dem10

    (@dem10)

    I want to insert the search box (I prefer an icon) inside the menu but I don′t know how.

    this is the header.php

    <?php wp_nav_menu( array( ‘theme_location’ => ‘primary’, ‘menu_class’ => ‘nav-menu’ ) ); ?>
    </nav><!– #site-navigation –>

    <div class=”header-search”>
    <?php get_search_form(); ?>
    </div>

    screenshot

    View post on imgur.com

    Hi there,

    I can see the search box is displaying alongside your menu on your site and and I’m afraid I’m unclear as to how you’re trying re-position/style it.

    Is the screenshot of the style you’re trying to achieve? If you can clarify what you’re trying to do, I can help guide you.

    I can also see that you’ve asked a similar question on another theme’s forum. Can I confirm that the site you’re trying to customise is https://www.infoliga.schleider.com.ar?

    Please note, that this forum is intended to offer support for getting set up with Pictorico and basic customisation requests. We don’t offer full customisation services but will try to help guide you as best we can when it comes to larger changes to code.

    Thread Starter dem10

    (@dem10)

    sorry, is for other site (shown in capture) with other theme

    Can you let me know the URL of the other site? Also, is it using Pictorico?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘change position search box icon’ is closed to new replies.