Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Search feature on custom Link

Search feature on custom Link

Scheduled Pinned Locked Moved General Discussion
5 Posts 4 Posters 282 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mw
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • mariusjopenM Offline
      mariusjopenM Offline
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      Dear @mw
      not yet. But you could try to use a HTML element which has an image inside.

      Best!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mw
        wrote on last edited by
        #3

        AH cool, thaks for the qucik answer Marius - will try!

        1 Reply Last reply
        1
        • M Offline
          M Offline
          mg
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • RichardR Offline
            RichardR Offline
            Richard
            Global Moderator
            wrote on last edited by
            #5

            Dear Martin

            @mg

            You can implement the Search Feature into a project/page using +More - +HTML:

            Screen Shot 2022-02-23 at 3.01.09 PM.png

            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 >

            https://laytheme.com/documentation/custom-css-styling.html


            Best
            Richard
            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            I also code custom websites or custom Lay features.
            šŸ’æ Email me here: šŸ’æ
            info@laytheme.com

            Before you post:
            1. When using a WordPress Cache plugin, disable it or clear your cache.
            2. Update Lay Theme and all Lay Theme Addons
            3. Disable all Plugins
            4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

            This often solves issues you might run into

            When you post:
            1. Post a link to where the problem is
            2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
            3. If the problem is difficult to explain, post screenshots / link to a video to explain it
            Online Users
            dafvD
            dafv
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
            laytheme.com
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search