• Resolved crowds90

    (@crowds90)


    Hi,

    I have read through the forum and your FAQs. I just want to have the search field and not the submit box or title. I would prefer to try and solve this by just using css.

    I have tried the css provided “.bop-nav-search .screen-reader-text” for the title and “.bop-nav-search input[type=”submit”]” for the submit box to display:none and both didn’t work. I also looked to make sure the search box menu item is checked to on.

    So what am I missing here. I looked through the plugins css file where there is not much and couldn’t find anything relatable.

    I am just using the plugin for mobile under 800px. Website is https://www.thesalestop.com
    Help please. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author joe_bopper

    (@joe_bopper)

    Hi crowds90,

    It seems the issue is that .bop-nav-search input[type=”submit”] is being escaped, i.e., coming out as .bop-nav-search input[type=\”submit\”]. If you try using .bop-nav-search .search-submit instead, that should hopefully do the trick.

    Cheers,
    Joe

    Thread Starter crowds90

    (@crowds90)

    Thanks for the response. .bop-nav-search .search-submit worked great for hiding the search submit box.

    I still have “Search” text above the search field. I tried the .bop-nav-search .screen-reader-text but no luck. Any ideas? Thanks again

    • This reply was modified 7 years, 7 months ago by crowds90.
    Plugin Author joe_bopper

    (@joe_bopper)

    Hi,

    It seems you’ve got some javascript that is removing the .screen-reader-text class at mobile size. The class is there at desktop size but disappears when reloaded at mobile size. Rather than the optimal solution of trying to find and fix the js, you may want the quicker method of using the selector .bop-nav-search label span instead.

    Hope this helps,
    Cheers,
    Joe

    Thread Starter crowds90

    (@crowds90)

    Yes! Worked perfect. Thank you so much

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Search title and Search submit box’ is closed to new replies.