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

Problems with Anchor and Div

Scheduled Pinned Locked Moved General Discussion
19 Posts 5 Posters 712 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.
  • C Offline
    C Offline
    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 Offline
      mariusjopenM Offline
      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 Offline
        C Offline
        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 Offline
          mariusjopenM Offline
          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 Offline
            C Offline
            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 Offline
              mariusjopenM Offline
              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 Offline
                C Offline
                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 Offline
                  edgrbnzE Offline
                  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 Offline
                    C Offline
                    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 Offline
                      edgrbnzE Offline
                      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 Offline
                        mariusjopenM Offline
                        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 Offline
                          edgrbnzE Offline
                          edgrbnz
                          wrote on last edited by
                          #12

                          Any news on that?

                          ✦ ✦ ✦

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

                            I need to solve the problem... :(

                            1 Reply Last reply
                            0
                            • J Offline
                              J Offline
                              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 Offline
                                arminunruhA Offline
                                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 Offline
                                  J Offline
                                  jonacaspar
                                  wrote on last edited by
                                  #16

                                  @arminunruh great. Thanks a lot!

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

                                    It seems to work again!

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

                                    ✦ ✦ ✦

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

                                      Sweet!!!

                                      www.mariusjopen.world

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

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

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