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. Fade Effect / Smooth Transitions Links via "Custom HTML“

Fade Effect / Smooth Transitions Links via "Custom HTML“

Scheduled Pinned Locked Moved General Discussion
6 Posts 3 Posters 1.3k 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.
  • S Offline
    S Offline
    stdhd
    wrote on last edited by stdhd
    #1

    Hi there,

    just tried to add links via „Custom HTML“ (a fixed position of a link). Is there a solution to add this fade effect / smooth transition? Any hint if I could add the links to the frontend, index oder header file for a smooth transition?

    Here my code:

    <a href="https://domain.tld/page/" data-type="page" data-id="122" data-title="Homepage">Link to Page</a>

    Thank you!

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

      Hi @stdhd
      I just tested it and it works:

      <a class="test" href="http://localhost:8888/fullscreen-slider/" data-type="page" data-id="94" data-title="XXX">Link to Page</a>
      

      data-title is not imprtant
      give it a class to move it around. Make sure that the link is not BEHIND anything
      make the right href.
      And the right data-id

      And update Laytheme.

      Best!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • S Offline
        S Offline
        stdhd
        wrote on last edited by
        #3

        Great, thank you! Yes, everything is right (HREF, data-id ...). I've send you a chat message with the development link.

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

          This is strange indeed. You are right. The code seems to be ok.

          I will check with Armin about that!

          www.mariusjopen.world

          1 Reply Last reply
          0
          • arminunruhA Online
            arminunruhA Online
            arminunruh
            Global Moderator
            wrote on last edited by
            #5

            Hey I need the link to actually check it out xD

            1 Reply Last reply
            0
            • arminunruhA Online
              arminunruhA Online
              arminunruh
              Global Moderator
              wrote on last edited by
              #6

              Can you post the link or send it to info@laytheme.com with a link to this topic please?

              One reason could be that a shortcode is in use on the page that you link to.
              To make shortcodes work, the whole website needs to refresh, so you won't have a smooth transition.

              1 Reply Last reply
              2
              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
              arminunruhA
              arminunruh
              F
              francesco
              L
              lurchifon
              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