Home › Forums › Basel support forum › Mobile navigation
Mobile navigation
- This topic has 21 replies, 2 voices, and was last updated 6 years, 9 months ago by
Elise Noromit.
-
AuthorPosts
-
April 24, 2018 at 1:00 pm #54317
conceptingParticipanthi !
I have done some customs for the responsive menu.
But I can’t find how to change the color of “Search for products” and also how to change the text.
Also for the dropdown menu I don’t know which lines I have to change for the background of the cross (see attached the cross is gold and also the background)Thank you
Attachments:
You must be logged in to view attached files.April 24, 2018 at 9:13 pm #54401
Elise NoromitMemberHello,
Please try this CSS, add it to Theme Settings > Custom CSS
/*text of search for product*/ .mobile-nav .searchform input[type=text] { color: #fff; } /*text of menu text by default*/ .mobile-nav ul li a { color: #B19D73; } /*text of menu text on hover*/ .mobile-nav ul li a:hover { text-decoration: none; color: #fff; }
If the code does not work please provide amdin access.
Best Regards
April 25, 2018 at 9:19 am #54474
conceptingParticipantIt doesn’t seem to work…
Also for the dropdown menu I don’t know which lines I have to change for the background of the cross (see attached the cross is gold and also the background)
Thank you
Attachments:
You must be logged in to view attached files.April 25, 2018 at 10:21 am #54496
Elise NoromitMemberHello,
Have you changed the colors? You did not provide that is why I gave you just code to modify as per your needs.
Please provide colors for all text types and admin access
Best Regards
April 25, 2018 at 1:47 pm #54522
conceptingParticipantSearch products color should be gold : #B19D73 and how can I change the text ?
Square behind the cross should be pink : #FDE6DEthank you
April 25, 2018 at 3:52 pm #54586
Elise NoromitMemberHello,
Do you mean replacing text “search for product” for something different?
Square behind the cross should be pink : #FDE6DE
Do you mean this one: http://prntscr.com/ja0kew ?
Please try this cod CSS to change text color:
/*text of search for product*/ .mobile-nav .searchform input[type=text] { color: #B19D73; } /*text of menu text by default*/ .mobile-nav ul li a { color: #B19D73; } /*text of menu text on hover*/ .mobile-nav ul li a:hover { text-decoration: none; color: #fff; }
Please check your admin access I cannot log in.
Best Regards
April 26, 2018 at 8:02 am #54730
conceptingParticipantHi!
Search product text is still white, and yes I’d like to change this text, the woocommerce won’t be active at first so we would like to use it as a regular search bar.
Yes we want to change the square you send in your screenshot. We need it to stay pink : #FDE6DE and keep the cross (to close the submenu) as it is now, gold.
“text of meny text on hover” was not needed but this line work.
Thank you,
April 26, 2018 at 11:44 am #54773
Elise NoromitMemberHello,
Please use this code for placeholder
input[type=text]::-webkit-input-placeholder {color:#B19D73;} input[type=text]::-moz-placeholder {color:#B19D73;}/* Firefox 19+ */ input[type=text]:-moz-placeholder {color:#B19D73;}/* Firefox 18- */ input[type=text]:-ms-input-placeholder {color:#B19D73;}
This is for icon to be pink
.mobile-nav ul li .up-icon{ background:#FDE6DE; }
You can remove those CSS if you do not need it.
You can replace all theme and plugin texts via PO file in WordPress. Here is a video tutorial that should help you translate your website texts with a Loco Translate plugin https://www.youtube.com/watch?v=D3NsDdMzsls&list=PLMw6W4rAaOgKKv0oexGHzpWBg1imvrval&index=3
Best Regards
April 26, 2018 at 3:33 pm #54825
conceptingParticipantBoth issues are not solved, for the placeholder and the background of the icon.
Could you try to connect and test it ?If I want the search products to be a regular search do I have to change settings ? or just translate ?
Thank you
April 26, 2018 at 6:33 pm #54871
Elise NoromitMemberHello,
Please provide the valid access.
Best Regards
April 27, 2018 at 8:33 am #54936
conceptingParticipantThank you
April 27, 2018 at 2:22 pm #55046
Elise NoromitMemberHello,
Please replace the code for placeholder with this one:
.mobile-nav .searchform ::-webkit-input-placeholder {color:rgba(0,0,0,0.4)} .mobile-nav .searchform ::-moz-placeholder {color:rgba(0,0,0,0.4)}/ Firefox 19+ / .mobile-nav .searchform :-moz-placeholder {color:rgba(0,0,0,0.4)}/ Firefox 18- / .mobile-nav .searchform :-ms-input-placeholder {color:rgba(0,0,0,0.4)}
And this one for icon and square:
.mobile-nav ul li .up-icon { background-color: black; } .mobile-nav .icon-sub-menu:after, .mobile-nav .icon-sub-menu:before { color: white; }
Best Regards
April 30, 2018 at 1:27 pm #55398
conceptingParticipantHi !
Sorry OVH severs were down friday so you were probably not able to connect on our site.
Everything works now if you want to try.thank you
April 30, 2018 at 2:47 pm #55422
Elise NoromitMemberHello,
I have added the recent code and deleted the previous one which was not workable.
Now it works.
Best Regards
April 30, 2018 at 3:12 pm #55453
conceptingParticipantHi !
Yes the code you put works great thank you.
But the text typed by the clients in the search tool is white …May 1, 2018 at 7:26 am #55514
Elise NoromitMemberHello,
This has been fixed. This CSS has been added:
/*text of search for product*/ .mobile-nav .searchform input[type=text] { color: #B19D73; }
Best Regards
May 4, 2018 at 2:05 pm #56067
conceptingParticipantHi!
Yes it’s working great.
How do you change the result’s square ? (see attached)Thank you
Attachments:
You must be logged in to view attached files.May 4, 2018 at 5:16 pm #56114
Elise NoromitMemberHello,
What do you mean? On hover or on click? Now the background is always pink.
Best Regards
May 15, 2018 at 9:11 am #57644
conceptingParticipantHi !
When you enter your research in the search bar, results are showing underneath and the background of those results is black.
Also the search module is searching only for products could it work to search “everything” in the site.Thank you
May 15, 2018 at 12:23 pm #57685
Elise NoromitMemberHello,
What color do you want on search? Add this CSS to Theme Settings > Custom CSS
.basel-search-full-screen .basel-search-wrapper { background-color: rgba(0,0,0,.9); }
Change the color as per your needs.
Woocommerce search works only with products.
Best Regards
May 30, 2018 at 9:59 am #60388
conceptingParticipantHello,
Thank you for your answer.
How can I disable the search function ?
Thank you
May 30, 2018 at 11:47 am #60404
Elise NoromitMemberHello,
Please add this CSS to Theme Settings > Custom CSS > Custom CSS for mobile landscape and Custom CSS for mobile
.mobile-nav #searchform{ display:none!important; }
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register