• I was wondering if there is a way to have the search bar maximized all the time or if it is possible to have the magnifying glass show all the time. I just see a white box. It is hard for users to notice.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Themes vary. Please post the url to your site.

    Thread Starter Hyperspun

    (@hyperspun)

    hyperspun.com

    user test
    pass test

    so you can see the fron end. ??

    I couldn’t find it at my first attempt.

    Try this in your custom css:

    #wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input
    {height:30px; width:200px; z-index:-1; color:#000; background:#2AC0FF; padding-left:26px}

    Best not to alter theme or plugin style sheets as any edits may be overwritten by updates.

    If your theme does not have a setting where you can enter custom css, you can use a plugin like this one:
    https://www.ads-software.com/plugins/simple-custom-css/

    Thread Starter Hyperspun

    (@hyperspun)

    Hi

    The code works. ??
    Just one thing you need to click higher up and only a little area in the search box to be able to type. Anyway that can be changed? ??

    The “height:30px” is being overwritten by “height: 24px;” (the second one of the two) at line 172 in the markup. I can’t tell where that’s coming from. Either delete that height style, or, in my suggestion, add !important after 30px. Bumping up the height should fix the issue.

    Thread Starter Hyperspun

    (@hyperspun)

    Thanks Lorro. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Toolbar Seach’ is closed to new replies.