Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    How to preload a grid from another page and show it on the current one?

    General Discussion
    2
    4
    376
    Loading More Posts
    • 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
      spontans last edited by

      Hello,

      I would like to preview the grid (only text, no images) of page y, on page x when hovering over one of the menu items of page x.

      Is there any JS function or an event that it can be done with?

      Thanks,
      Sasha

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Hi Sasha,

        I would try it like this:

        Make three pages:

        A
        B
        C

        On the page C you make the grid with images and text.

        On the pages A and B you put no content. Except that you add page C as a footer for both.

        To do so have a look here:
        0_1502550853141_Bildschirmfoto 2017-08-12 um 17.13.40.png

        And here:
        0_1502550861779_Bildschirmfoto 2017-08-12 um 17.13.53.png

        Then both pages display page C as a footer.
        So you have two times page C but with a different url.

        Then have a look for the slug of the page:
        0_1502550935971_Bildschirmfoto 2017-08-12 um 17.15.10.png

        Then with custom CSS you can play around and hide the text on page A.

        Try this in your custom CSS code:

        .slug-A . text  {
        display: none;
        }
        
        

        You need to play around with this. But I think this is the way to go.

        I hope I could help!

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • S
          spontans last edited by

          @mariusjopen said in How to preload a grid from another page and show it on the current one?:

          Marius

          It's exactly what i needed. Many thanks.

          1 Reply Last reply Reply Quote 1
          • mariusjopen
            mariusjopen Global Moderator last edited by

            Cool! I am happy that worked out so far!

            www.mariusjopen.world

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            I don't answer or check forum DMs, please just post on the forum.

            Try this to fix issues before you post:

            Use the Search Feature. Maybe there is already a solution to your issue.

            1. Update Lay Theme and all Lay Theme Addons
            2. Disable all Plugins
            3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
            4. Now see if your problem solved itself
            5. Go here, see if your problem is listed here:
            Troubleshooting

            When you post:
            1. Post a link to where the problem is
            2. If the problem is difficult to explain, post screenshots / link to a video to explain it

            Thanks!

            Online Users

            A
            M
            L
            E
            C
            M
            S

            Recent Topics

            • T

              thumbnail grid categories fixed.

            • L

              BLEND MODE ON MOBILE

            • A

              A modal/pop up window displaying extra info

            • Carousel is not showing

            laytheme.com