Search feature on custom Link
-
Hey,
I'd like to implement the new search feature by clicking a link in a text box on a page. I'd tried to do that via <a href="#search">search</a> wich does not work.Is it possible to integrate the search feature in any way besides as a custom menu link?
best,
markus -
-
AH cool, thaks for the qucik answer Marius - will try!
-
Hey Guys, I was wondering whether the situation regarding the question changed, or is it still not possible to implement the search feature upon clicking a link.
(I'm using a page as my menu and want to implement the search feature in there)
Cheers,
Martin -
Dear Martin
@mg
You can implement the Search Feature into a project/page using +More - +HTML:
The following is raw HTML so it's unlikely that it has any styling or CSS. It will probably not appear as it has no height/width or font-size. For this reason we should add a Class to it for easy targeting later.
class="custom-search"
<a href="#search" class="custom-search" data-type="custom"><span>WHAT I WANT TO CALL MY SEARCH</span></a>
Example CSS (basic)
.custom-search { font-size: 33px; }
The Custom CSS can be added via > Lay Options > Custom CSS & HTML >
Best
Richard
I don't answer or check forum DMs, please just post on the forum.
Before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. Now see if your problem solved itself
5. Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it