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. different secondary menus

different secondary menus

Scheduled Pinned Locked Moved General Discussion
25 Posts 3 Posters 629 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.
  • A arminunruh
    Jun 19, 2023, 8:17 PM

    oh i see! its only on the phone version!

    u are using this css for the desktop version:

    .lay-carousel-sink {
    position: fixed !important;
    bottom: -24px !important;
    left: 12px !important;
    z-index: 999 !important;
    }

    you have to use that css for the phone version too!

    in lay options → custom css & html → css for phone

    C Offline
    C Offline
    cschm.tz
    wrote on Jul 3, 2023, 3:04 PM last edited by
    #16

    @arminunruh thanks so much! feel like i had been here before and had issues but it's working now which is what counts! have a lovely week :)

    C 1 Reply Last reply Jul 12, 2023, 7:48 AM
    1
    • C cschm.tz
      Jul 3, 2023, 3:04 PM

      @arminunruh thanks so much! feel like i had been here before and had issues but it's working now which is what counts! have a lovely week :)

      C Offline
      C Offline
      cschm.tz
      wrote on Jul 12, 2023, 7:48 AM last edited by
      #17

      @cschm-tz

      hi @arminunruh after cleaning my cache on mobile I have now found what the issue was, the last time I copied the css from the desktop version into the mobile version.

      What you suggested does fix things when shrinking the browser on desktop. However, on mobile it moves the caption to a different position (bigger bottom and left margins). Please see attached — seems like going in a vicious cycle! :(

      What do you think this could be?
      Thanks again!

      IMG_82D37D6953C5-1.jpeg

      1 Reply Last reply
      0
      • A Offline
        A Offline
        arminunruh
        Global Moderator
        wrote on Jul 17, 2023, 7:12 PM last edited by
        #18

        this happens because some of your captions span multiple lines because they are longer.

        use this css instead:

        .lay-carousel-sink .single-caption{
        vertical-align: bottom!important;
        }
        

        and

        .lay-carousel-sink {
            position: fixed !important;
            bottom: 12px!important;
            left: 12px !important;
            z-index: 999 !important;
        }
        
        

        the difference is we align the texts to the bottom and we change "bottom: -24px;" to "bottom: 12px;" for the wrap

        C 1 Reply Last reply Aug 24, 2023, 8:34 AM
        0
        • A arminunruh
          Jul 17, 2023, 7:12 PM

          this happens because some of your captions span multiple lines because they are longer.

          use this css instead:

          .lay-carousel-sink .single-caption{
          vertical-align: bottom!important;
          }
          

          and

          .lay-carousel-sink {
              position: fixed !important;
              bottom: 12px!important;
              left: 12px !important;
              z-index: 999 !important;
          }
          
          

          the difference is we align the texts to the bottom and we change "bottom: -24px;" to "bottom: 12px;" for the wrap

          C Offline
          C Offline
          cschm.tz
          wrote on Aug 24, 2023, 8:34 AM last edited by
          #19

          @arminunruh said in different secondary menus:

          .lay-carousel-sink {
          position: fixed !important;
          bottom: 12px!important;
          left: 12px !important;
          z-index: 999 !important;
          }

          Hi @arminunruh

          Sorry but that only seems to be working for chrome but not for safari or mobile, screenshots attached...I worry that we're going in circles, is there any chance you understand what is happening, I am asked to share final site before the weekend?

          Thank you!

          Captura-de-pantalla-2023-08-24-a-las-9.26.4/Users/christianschmitz/Downloads/IMG_5456.PNG6.jpg

          A 1 Reply Last reply Aug 24, 2023, 9:42 AM
          0
          • A Offline
            A Offline
            arminunruh
            Global Moderator
            wrote on Aug 24, 2023, 9:29 AM last edited by
            #20

            @arminunruh said in different secondary menus:

            .lay-carousel-sink .single-caption{
            vertical-align: bottom!important;
            }

            this is the important part of the css

            1 Reply Last reply
            0
            • A Offline
              A Offline
              arminunruh
              Global Moderator
              wrote on Aug 24, 2023, 9:32 AM last edited by
              #21

              here you have an empty <p> </p> tag, causing your caption to be positioned differently

              Screenshot 2023-08-24 at 11.30.49.png

              1 Reply Last reply
              0
              • C cschm.tz
                Aug 24, 2023, 8:34 AM

                @arminunruh said in different secondary menus:

                .lay-carousel-sink {
                position: fixed !important;
                bottom: 12px!important;
                left: 12px !important;
                z-index: 999 !important;
                }

                Hi @arminunruh

                Sorry but that only seems to be working for chrome but not for safari or mobile, screenshots attached...I worry that we're going in circles, is there any chance you understand what is happening, I am asked to share final site before the weekend?

                Thank you!

                Captura-de-pantalla-2023-08-24-a-las-9.26.4/Users/christianschmitz/Downloads/IMG_5456.PNG6.jpg

                A Offline
                A Offline
                arminunruh
                Global Moderator
                wrote on Aug 24, 2023, 9:42 AM last edited by
                #22

                i will release an update today that will fix it

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  arminunruh
                  Global Moderator
                  wrote on Aug 24, 2023, 10:11 AM last edited by
                  #23

                  ok u can update now, then it should work

                  C 1 Reply Last reply Aug 24, 2023, 10:15 AM
                  0
                  • A arminunruh
                    Aug 24, 2023, 10:11 AM

                    ok u can update now, then it should work

                    C Offline
                    C Offline
                    cschm.tz
                    wrote on Aug 24, 2023, 10:15 AM last edited by
                    #24

                    @arminunruh thanks Armin, just to clarify, what do I need to update on my side? The css you share has been applied both for Desktop CSS and Mobile CSS?

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      arminunruh
                      Global Moderator
                      wrote on Aug 24, 2023, 10:16 AM last edited by
                      #25

                      just update your lay theme and remove the empty <p></p>
                      tag

                      the css is correct already it seems

                      if it doesnt work:

                      can you send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?

                      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