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. Problems with Anchor and Div

Problems with Anchor and Div

Scheduled Pinned Locked Moved General Discussion
19 Posts 5 Posters 2.5k Views 3 Watching
  • 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.
  • C
    C
    carlosadalid
    wrote on last edited by
    #1

    Hello!

    I have an Info button on top of a carousel that should send me to a Div with an Id.

    That Info button has an anchor and when pressed, it lowers you down but stays on a white page and gives me an error.

    https://www.carlosadalid.com/tercera

    This is the error message it gives me in inspect mode. I don't know if it will help.

    0_1569674937458_Captura de pantalla 2019-09-28 a las 13.37.21.png
    Any solution?

    Thanks!!

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

      Dear @carlosadalid
      what CUSTOM CODE do you use?

      Best!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • C
        C
        carlosadalid
        wrote on last edited by
        #3

        The custom code it's the following one:

        <p><span style="color: #000000;"><a style="color: #000000;" href="#info-tercera" data-id="0">Info</a></span></p>

        It's the source code of carousel's image caption. The problem that I found it's that the caption it's linking to "https://www.carlosadalid.com/tercera#info-tercera" when it have to been linking to "https://www.carlosadalid.com/#info-tercera".

        If fix the problem it's not possible, there's another way to link to the page's bottom?

        Thanks.

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

          Dear @carlosadalid
          which plugins do you use?

          Best!

          Marius

          www.mariusjopen.world

          1 Reply Last reply
          0
          • C
            C
            carlosadalid
            wrote on last edited by
            #5

            Hi @mariusjopen
            I'm using the carrousel plugin.

            I want to put a text / Info button with an anchor to send me to the bottom of the page, just that.

            Any suggestions in case my problem cannot be solved?
            Thanks!!

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

              Dear @carlosadalid
              what is the div called to which you want to scroll? Do you use the id or the name?

              Best!

              Marius

              www.mariusjopen.world

              1 Reply Last reply
              0
              • C
                C
                carlosadalid
                wrote on last edited by carlosadalid
                #7

                Hi @mariusjopen!

                The code of caption is "<p> <span style =" color: # 000000; "> <a style="color: #000000;" href="#info" data-id="0"> Information </ a> </span> </p>" and the info is "id info" is: info

                I think the problem is that when you press "info" the anchor that goes down to the "div" is done well, but the "div" shows a blank page above that does not reveal the content.

                Can you try to visualize the error in your browser?(https://www.carlosadalid.com/tercera and click on info) I think it's easier to see it than to explain it hahaha

                Many thanks!

                1 Reply Last reply
                0
                • edgrbnzE
                  edgrbnzE
                  edgrbnz
                  wrote on last edited by
                  #8

                  Also see this topic.

                  This seems to be an issue that’s related to one of the recent updates, because this worked perfectly fine a while ago.

                  ✦ ✦ ✦

                  1 Reply Last reply
                  0
                  • C
                    C
                    carlosadalid
                    wrote on last edited by
                    #9

                    @edgrbnz said in Problems with Anchor and Div:

                    This seems to be an issue that’s related to one of the recent updates, because this worked perfectly fine a while ago.

                    Thanks for the reply! Did you find any solution to the problem?

                    1 Reply Last reply
                    0
                    • edgrbnzE
                      edgrbnzE
                      edgrbnz
                      wrote on last edited by
                      #10

                      No nothing yet…
                      @mariusjopen or @arminunruh might need to have a look at this I guess.

                      ✦ ✦ ✦

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

                        Dear @carlosadalid and @edgrbnz

                        we will look right into it!

                        Best!

                        Marius

                        www.mariusjopen.world

                        1 Reply Last reply
                        1
                        • edgrbnzE
                          edgrbnzE
                          edgrbnz
                          wrote on last edited by
                          #12

                          Any news on that?

                          ✦ ✦ ✦

                          1 Reply Last reply
                          0
                          • C
                            C
                            carlosadalid
                            wrote on last edited by
                            #13

                            I need to solve the problem... :(

                            1 Reply Last reply
                            0
                            • J
                              J
                              jonacaspar
                              wrote on last edited by jonacaspar
                              #14

                              Hi @mariusjopen & @arminunruh,
                              we are having the same problem. Is there any possibility to deal with it?
                              http://karwendelmusik.de

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

                                Ok will be fixed in the next update, I will release it later today!

                                1 Reply Last reply
                                1
                                • J
                                  J
                                  jonacaspar
                                  wrote on last edited by
                                  #16

                                  @arminunruh great. Thanks a lot!

                                  1 Reply Last reply
                                  0
                                  • edgrbnzE
                                    edgrbnzE
                                    edgrbnz
                                    wrote on last edited by
                                    #17

                                    It seems to work again!

                                    Thank you πŸ’ Lay People πŸ’!

                                    ✦ ✦ ✦

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

                                      Sweet!!!

                                      www.mariusjopen.world

                                      1 Reply Last reply
                                      0
                                      • C
                                        C
                                        carlosadalid
                                        wrote on last edited by
                                        #19

                                        Many thanks!! πŸ’πŸ’πŸ’

                                        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