Site logo

Archived topic

HEADER SECTION (BUTTON & SEARCH BAR)

11 replies · Started by Huseyin on April 19, 2020

Viewing posts 1–12 of 12

Hey GeneratePress TEAM

So I need help on two parts on the header, so I'm currently migrating from "heavy" theme to generate press (currently my dummy site; https://kogodigital.com/) and my LIVE website http://acehsc.net/

1. I want a button on the header like on my live site
2. Want the search like on my live site

Thanks
Huseyin

Thanks, Leo for the reply

For the search bar, the code generated something else so I have changed my mind, I simply want the code to get the search bar under the navigation bar.

Hi there,

add this CSS to make the Search field open below the navigation:

.navigation-search.nav-search-active {
    top: 100%;
}

Thanks, David

Glad to be of help

Wondering how could disable the button showing in primary navigation in mobile & tablet devices ?

Hi,

I tried using this css code to hide it but it doesn't work


@media (min-width: 1025px) {
    .nav-button {
   display: none;
}

menu item screenshot: https://ibb.co/qssgLph

Replace your Menu Item CSS Classes with:

nav-button hide-on-tablet hide-on-mobile

Legend! Thank you very much David ;)

You're welcome

This archived topic is closed to new replies.