Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #754946

    isearchlocal
    Participant
    This reply has been marked as private.
    #754996

    isearchlocal
    Participant
    This reply has been marked as private.
    #755587

    Jade
    Moderator

    Hi there,

    The FTP details seem to be not working so kindly double check it. Although I was able to do some checking on your admin section and it seems like you haven’t setup a child theme yet. Kindly install a child theme and make the changes to the correct files which are mentioned on the previous response.

    #756664

    isearchlocal
    Participant

    hi, yes i wanted to set this up first see the functionality then copy it all across into a child theme afterwards on a new domain, this url is solely for initial build you see.

    i’ll have a look at the FTP now – try this link with the previous log in details, it works http://ftp.gridhost.co.uk

    p.s i have set up the child theme now also

    #756845

    Paul R
    Moderator

    Hi,

    I was able to fix it, though I can see the url in your navbar which I am not able to find out where it is coming from.

    Can you tell us the codes you have edited and added prior to installing a child theme

    Thanks

    #756878

    isearchlocal
    Participant

    only other changes i have made where to the carousal slider.. and to some CSS on the site itself.

    its the first time i have seen the url in the nav bar?

    #757179

    isearchlocal
    Participant

    hi, any luck?

    #757628

    Jade
    Moderator

    Hi there,

    Please use this code instead:

    // Additional Functions
    // =============================================================================
    
    add_filter('wp_nav_menu_items','add_search_box_to_menu', 99999, 2);
    function add_search_box_to_menu( $items, $args ) {
        
        if( $args->theme_location == 'primary' ){
            $items .= '<li class="custom-search">
                            <form id="searchform" class="menu-item menu-search" action="/"  method="get">
                                <label class="visually-hidden" for="s"></label>
                                <input id="s" class="search-query" type="text" placeholder="Search" name="s">
                                <input id="searchsubmit" class="hidden" type="submit" value="Search" name="submit">
                            </form>
                    </li>';
        }
    
        return $items;
    }

    Hope this helps.

    #758697

    isearchlocal
    Participant

    oh dear!.. no this makes things worse!
    please look
    http://churchillandpartners2015.com.gridhosted.co.uk/

    #758914

    Paul R
    Moderator

    Hi,

    I was able to fix it. Kindly check on your end.

    http://churchillandpartners2015.com.gridhosted.co.uk/

    As this is a custom development, further customizations from here is outside the scope of support we can offer. If you need more in depth changes, you may wish to consult with a developer. X is quite extensible with child themes, so there are plenty of possibilities. https://theme.co/community/custom-development/

    Thank you for understanding.

    #759203

    isearchlocal
    Participant

    i cannot thank you enough!

    its not so much any FTP changes however the navbar is now left alligned when it was centred previously and also there seems to be some extra padding in there?

    i think it might be because the search bar is bigger in size then the icons and menu options.
    meaning its not alligned to each other.

    #760048

    Rue Nel
    Moderator

    Hello There,

    Please update your Cornerstone plugin. The latest version is 1.1.0.

    Regarding your menu issue, you have added this custom css in your child theme’s style.css

    body .masthead-inline .desktop .x-nav {
        float: left;
    }

    Removing it will move your menu to the center.

    Hope this helps.