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. How to make a drop-down page

How to make a drop-down page

Scheduled Pinned Locked Moved General Discussion
6 Posts 2 Posters 754 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.
  • F
    F
    fredyatb
    wrote on last edited by
    #1

    How could I make a drop-down page like the one in the example:
    www.trestiposgraficos.com (work or about on the web page) In horizontal position.

    Thanks :)

    1 Reply Last reply
    0
    • RichardR
      RichardR
      Richard
      Global Moderator
      wrote on last edited by Richard
      #2

      Dear @fredyatb

      This is customisation ( a really nice one ) that isn't offered in the regular Lay Theme options provided.

      This goes beyond my level of Forum support, you may wish to seek the aid of a developer if you are unable to create this yourself.

      However i would be happy to show you the basics of what is happening here.

      Let's take a look at "About" as an Example.

      About is a button that when clicked 'toggle's' a class off and on
      https://www.w3schools.com/jquery/eff_toggle.asp
      https://www.w3schools.com/cssref/sel_class.asp

      Screen Shot 2020-09-09 at 11.18.13 AM.png

      When clicked - the class "active-about" is added to the page

      Screen Shot 2020-09-09 at 11.18.19 AM.png

      https://www.w3schools.com/jquery/html_addclass.asp

      The About area has always existed, but it has been hiding off to the left side of the viewport.

      • It has a width of 50% and has been sitting ( -50%) off to the left

      Screen Shot 2020-09-09 at 11.23.31 AM.png

      When the class "active-about" is added to the page, the browser receives some new CSS information that makes it visible to the viewer,
      https://www.w3schools.com/cssref/css3_pr_transform.asp

      https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/translate#:~:text=The translate() CSS function,element moves in each direction.

      Transform property not added:
      Screen Shot 2020-09-09 at 11.33.02 AM.png

      Clicked: Transform property added:
      Screen Shot 2020-09-09 at 11.33.14 AM.png

      The smooth gliding that occurs is due to the transition css property:
      https://www.w3schools.com/css/css3_transitions.asp

      If there were no transition it would just blink on and off the screen without the "transition".... :)

      For additional information regarding CSS:
      https://www.khanacademy.org/computing/computer-programming/html-css/web-development-tools/a/using-the-browser-developer-tools

      I hope this helps & good luck on your Lay Theme journey,

      Best Wishes
      Richard

      F 2 Replies Last reply
      0
      • RichardR Richard

        Dear @fredyatb

        This is customisation ( a really nice one ) that isn't offered in the regular Lay Theme options provided.

        This goes beyond my level of Forum support, you may wish to seek the aid of a developer if you are unable to create this yourself.

        However i would be happy to show you the basics of what is happening here.

        Let's take a look at "About" as an Example.

        About is a button that when clicked 'toggle's' a class off and on
        https://www.w3schools.com/jquery/eff_toggle.asp
        https://www.w3schools.com/cssref/sel_class.asp

        Screen Shot 2020-09-09 at 11.18.13 AM.png

        When clicked - the class "active-about" is added to the page

        Screen Shot 2020-09-09 at 11.18.19 AM.png

        https://www.w3schools.com/jquery/html_addclass.asp

        The About area has always existed, but it has been hiding off to the left side of the viewport.

        • It has a width of 50% and has been sitting ( -50%) off to the left

        Screen Shot 2020-09-09 at 11.23.31 AM.png

        When the class "active-about" is added to the page, the browser receives some new CSS information that makes it visible to the viewer,
        https://www.w3schools.com/cssref/css3_pr_transform.asp

        https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/translate#:~:text=The translate() CSS function,element moves in each direction.

        Transform property not added:
        Screen Shot 2020-09-09 at 11.33.02 AM.png

        Clicked: Transform property added:
        Screen Shot 2020-09-09 at 11.33.14 AM.png

        The smooth gliding that occurs is due to the transition css property:
        https://www.w3schools.com/css/css3_transitions.asp

        If there were no transition it would just blink on and off the screen without the "transition".... :)

        For additional information regarding CSS:
        https://www.khanacademy.org/computing/computer-programming/html-css/web-development-tools/a/using-the-browser-developer-tools

        I hope this helps & good luck on your Lay Theme journey,

        Best Wishes
        Richard

        F
        F
        fredyatb
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • F
          F
          fredyatb
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • RichardR Richard

            Dear @fredyatb

            This is customisation ( a really nice one ) that isn't offered in the regular Lay Theme options provided.

            This goes beyond my level of Forum support, you may wish to seek the aid of a developer if you are unable to create this yourself.

            However i would be happy to show you the basics of what is happening here.

            Let's take a look at "About" as an Example.

            About is a button that when clicked 'toggle's' a class off and on
            https://www.w3schools.com/jquery/eff_toggle.asp
            https://www.w3schools.com/cssref/sel_class.asp

            Screen Shot 2020-09-09 at 11.18.13 AM.png

            When clicked - the class "active-about" is added to the page

            Screen Shot 2020-09-09 at 11.18.19 AM.png

            https://www.w3schools.com/jquery/html_addclass.asp

            The About area has always existed, but it has been hiding off to the left side of the viewport.

            • It has a width of 50% and has been sitting ( -50%) off to the left

            Screen Shot 2020-09-09 at 11.23.31 AM.png

            When the class "active-about" is added to the page, the browser receives some new CSS information that makes it visible to the viewer,
            https://www.w3schools.com/cssref/css3_pr_transform.asp

            https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/translate#:~:text=The translate() CSS function,element moves in each direction.

            Transform property not added:
            Screen Shot 2020-09-09 at 11.33.02 AM.png

            Clicked: Transform property added:
            Screen Shot 2020-09-09 at 11.33.14 AM.png

            The smooth gliding that occurs is due to the transition css property:
            https://www.w3schools.com/css/css3_transitions.asp

            If there were no transition it would just blink on and off the screen without the "transition".... :)

            For additional information regarding CSS:
            https://www.khanacademy.org/computing/computer-programming/html-css/web-development-tools/a/using-the-browser-developer-tools

            I hope this helps & good luck on your Lay Theme journey,

            Best Wishes
            Richard

            F
            F
            fredyatb
            wrote on last edited by
            #5

            @Richard-Keith big thanks!

            1 Reply Last reply
            0
            • RichardR
              RichardR
              Richard
              Global Moderator
              wrote on last edited by
              #6

              Dear @fredyatb

              Unsure of what i did, but you are most welcome! :)

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