Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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 730 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
    M
    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
      mariusjopenM
      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
        M
        mw
        wrote on last edited by
        #3

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

        1 Reply Last reply
        1
        • M
          M
          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
            RichardR
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            Online Users
            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