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. Feedback
  3. fixed text at the left

fixed text at the left

Scheduled Pinned Locked Moved Feedback
8 Posts 3 Posters 1.3k Views 1 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.
  • safeaS
    safeaS
    safea
    wrote on last edited by safea
    #1

    Hello,
    I would like create a list my projects on the left side of my page.
    I used the CSS below but it does not work, the text scroll always.
    .fixed {
    position: fixed;
    }
    In addition I would like if possible to create a unique menu for all my projects, without reloading it each time.

    Thank you!

    1_1574987512533_Test2.png 0_1574987512532_Test.png

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

      Did you try adding !important?

      I don’t really understand the last part with the menu. Could you go more in depth (with sketches) about that?

      ✦ ✦ ✦

      1 Reply Last reply
      0
      • safeaS
        safeaS
        safea
        wrote on last edited by
        #3

        Thx for you return, and sorry for my english.

        When I use
        .fixed {
        position: fixed !important;
        }
        the text is missing!

        To sum up, i want create a fixed menu at the left, like this:
        0_1575028547086_Capture.PNG
        http://sven-rose.com/de

        Just for my project pages.

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

          You could also just create a custom menu inside appearance / menus and try to add all the styling you desire to that menu and then hide it for other page types.

          I think I saw some Lay Theme websites do it that way.
          Perhaps someone who managed to do that could chime in and give some insights?

          ✦ ✦ ✦

          1 Reply Last reply
          0
          • safeaS
            safeaS
            safea
            wrote on last edited by
            #5

            Thx,
            I know create menu with appearance/menus but how to choose on which pages it appears?
            And I want use this on my menu, but how to do?
            .hover a:hover
            {
            font-family: suisseintl-regularitalic;
            }

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

              hey,

              here you can see how to do css based on the current page, also you'll find two links where you can learn css:
              http://laytheme.com/documentation.html#custom-css-styling

              the body has classes like slug-…, id-…, type-…

              all menus have a css class like "primary", "secondary" etc
              0_1575293474036_Screenshot 2019-12-02 at 14.30.48.png

              well you can fix a row, not an element really.
              right click on an empty part of a row and click "Edit html class and id", then enter a class like "fixed" and use css in lay options → custom css like:

              .fixed{
                  position: fixed;
                  top: 0;
                  left: 0;
                  z-index: 2;
              }
              

              Ok, I think what you need to do to have a fixed menu in all of your projects:

              In lay options → custom css & html → custom html at bottom.

              then insert html like

              <nav class="custom-nav">
              <a class="all _Default" data-id="11" data-type="page" href="/all">All</a>
              <a class="art _Default" data-id="13" data-type="page" href="/art">Art</a>
              <a class="commercial _Default" data-id="16" data-type="page" href="/commercial">Commercial</a>
              <a class="fashion _Default" data-id="15" data-type="page" href="/fashion">Fashion</a>
              </nav>
              

              then style your menu using custom css like positioning it fixed and more
              then use css to only show this menu when you are in any project:

              body .custom-nav{
              display: none;
              }
              
              body.type-project .custom-nav{
              display: block;
              }
              

              Good luck!

              1 Reply Last reply
              0
              • safeaS
                safeaS
                safea
                wrote on last edited by
                #7

                It works for me, thx a lot 🙏

                1 Reply Last reply
                0
                • safeaS
                  safeaS
                  safea
                  wrote on last edited by safea
                  #8
                  This post is deleted!
                  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
                  J
                  j.varela
                  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