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. Feedback
  3. Height of marquees relative to screen

Height of marquees relative to screen

Scheduled Pinned Locked Moved Feedback
10 Posts 3 Posters 165 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.
  • K Offline
    K Offline
    KW1
    wrote on Jan 22, 2025, 4:45 PM last edited by
    #1

    Hi
    I have several marquees running below each other and would like to make their height relative to the height of the screen so that the screen is completely filled by the marquees. Is this somehow possible, both for desktop and mobile?

    Thanks a lot!

    Scherm­afbeelding 2025-01-22 om 17.42.05.png

    1 Reply Last reply
    0
    • F Offline
      F Offline
      felix_rabe
      wrote on Jan 22, 2025, 8:56 PM last edited by
      #2

      @KW1 you can work with vh value (viewport height). You can give the marquees a custom class and then add the custom style.

      Example CSS for 5 marquees:

      .marquee{height: 20vh;}

      Learn more:
      https://laytheme.com/documentation/custom-css-styling.html

      1 Reply Last reply
      0
      • A Offline
        A Offline
        arminunruh
        Global Moderator
        wrote on Jan 24, 2025, 4:17 PM last edited by
        #3

        ah clever! did that work?

        1 Reply Last reply
        0
        • K Offline
          K Offline
          KW1
          wrote on Jan 30, 2025, 10:28 AM last edited by
          #4

          Thanks for the feedback, I also thought for a moment that I had the solution! Unfortunately, I have the feeling that the border specifications of the marquees, which you can set under the marquee setting, get in the way. It would be perfect if you could specify other values apart from px to make it a percentage of the screen. The 20vh creates gaps where my background colour shows through, but the marquee size itself remains unchanged. Does anyone have any ideas?

          1 Reply Last reply
          0
          • A Offline
            A Offline
            arminunruh
            Global Moderator
            wrote on Jan 30, 2025, 10:57 AM last edited by
            #5

            hey i will look into this now

            1 Reply Last reply
            0
            • A Offline
              A Offline
              arminunruh
              Global Moderator
              wrote on Jan 30, 2025, 12:36 PM last edited by
              #6

              ok if you update lay theme now:

              Marquees can now have "vh" height. Also Space below and Space above can be set in vh now. This way you can have for example 5 marquees on top of another that each have 20vh height. This way they will always fill up the whole screenheight.

              1 Reply Last reply
              0
              • K Offline
                K Offline
                KW1
                wrote on Jan 30, 2025, 2:47 PM last edited by
                #7

                omg — thats so nice! What a support, thank you! I will check it...

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  KW1
                  wrote on Jan 30, 2025, 3:39 PM last edited by
                  #8

                  Hi Armin, I have updated everything and I can also set vh as a value, thanks a lot for your quick action! Unfortunately, the content of the marquees does not change with the value, it actually gets smaller. Do you know the reason for this?

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    arminunruh
                    Global Moderator
                    wrote on Jan 31, 2025, 6:12 AM last edited by
                    #9

                    do u have a link?
                    for me it works

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      arminunruh
                      Global Moderator
                      wrote on Jan 31, 2025, 6:13 AM last edited by
                      #10

                      make sure to remove your custom css you added before

                      1 Reply Last reply
                      1
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes

                      1/10

                      Jan 22, 2025, 4:45 PM


                      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.
                      1 out of 10
                      • First post
                        1/10
                        Last post
                      0
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Search