Jump to content

Archived

This topic is now archived and is closed to further replies.

jmad

DMS2 Mobile Menu - Remove Search and Icon

Recommended Posts

jmad
I used the code below to remove the search bar on the mobile menu but the icon remains.  I've tried a number of options but no success  any other suggestions.   I thought I'd seen this covered in the forum before but couldn't find it.
 
Also is it necessary to use 'body' before the classes here?  It works without them but....
 
body .pl-mobile-menu .mm-search input{
display: none;
}
 
 

Share this post


Link to post
Share on other sites
lazlo

Hi, have you found a solution to hide search field from mobile menu? I'm trying to hide search field too..

Share this post


Link to post
Share on other sites
Danny

Thats because you have only targeted the input and not the full form, try the following:

 

form.mm-search.pl-searcher {
display: none;
}

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
jmad

Danny

 

Thanks.  Using the Chrome inspection tool I didn't see that class...I'll look again and give this a try. 

 

Thanks.

Share this post


Link to post
Share on other sites
James B

Let us know if you need any further assistance.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

×