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.
  • C Offline
    C Offline
    cschm.tz
    wrote on Apr 3, 2023, 8:20 PM last edited by cschm.tz Apr 3, 2023, 4:21 PM
    #1

    Dear @Richard

    How are you?

    Captura de pantalla 2023-04-03 a las 21.04.40.jpg
    Captura de pantalla 2023-04-03 a las 21.04.54.png

    I am trying to set up a simple differentiation in menus/links between Homepage and About page like the attached screenshots. In total, there should be 4 (+Info) in the Homepage only and (Email, Instagram and Close) in the About page only. I have looked at other threads and tried to hide the menus in the homepage through this css:

    nav.second_menu{
    visibility: hidden !important;
    }

    body[data-id="74"][data-type="category"]
    nav.second_menu{
    visibility: visible !important;
    }

    nav.third_menu{
    visibility: hidden !important;
    }

    body[data-id="74"][data-type="category"]
    nav.third_menu{
    visibility: visible !important;
    }

    But it seems to hide it in the about page as well.
    http://s955093523.mialojamiento.es/

    Do you have any idea what I am doing wrong/if there is a better responsive way of doing this? I would like this system to be reflected in the mobile version too.

    Any help would be super appreciated!
    Thanks very much in advance,

    Christian

    A C 2 Replies Last reply Apr 5, 2023, 2:52 PM
    0
    • C cschm.tz
      Apr 3, 2023, 8:20 PM

      Dear @Richard

      How are you?

      Captura de pantalla 2023-04-03 a las 21.04.40.jpg
      Captura de pantalla 2023-04-03 a las 21.04.54.png

      I am trying to set up a simple differentiation in menus/links between Homepage and About page like the attached screenshots. In total, there should be 4 (+Info) in the Homepage only and (Email, Instagram and Close) in the About page only. I have looked at other threads and tried to hide the menus in the homepage through this css:

      nav.second_menu{
      visibility: hidden !important;
      }

      body[data-id="74"][data-type="category"]
      nav.second_menu{
      visibility: visible !important;
      }

      nav.third_menu{
      visibility: hidden !important;
      }

      body[data-id="74"][data-type="category"]
      nav.third_menu{
      visibility: visible !important;
      }

      But it seems to hide it in the about page as well.
      http://s955093523.mialojamiento.es/

      Do you have any idea what I am doing wrong/if there is a better responsive way of doing this? I would like this system to be reflected in the mobile version too.

      Any help would be super appreciated!
      Thanks very much in advance,

      Christian

      A Offline
      A Offline
      arminunruh
      Global Moderator
      wrote on Apr 5, 2023, 2:52 PM last edited by
      #2

      hey!
      richard moved to new zealand so he doesnt work here anymore. :D
      i think hes doing well!!

      ok not sure maybe this:

      by default, on all pages hide third menu:

      .third_menu{
      display: none;
      }
      

      on info page, hide second menu and show third menu:

      body.slug-info nav.second_menu{
      display: none;
      }
      
      body.slug-info nav. third_menu{
      display: block;
      }
      

      just use .slug-xx or .type-xxx or .id-xxx its a little easier

      1 Reply Last reply
      0
      • C cschm.tz
        Apr 3, 2023, 8:20 PM

        Dear @Richard

        How are you?

        Captura de pantalla 2023-04-03 a las 21.04.40.jpg
        Captura de pantalla 2023-04-03 a las 21.04.54.png

        I am trying to set up a simple differentiation in menus/links between Homepage and About page like the attached screenshots. In total, there should be 4 (+Info) in the Homepage only and (Email, Instagram and Close) in the About page only. I have looked at other threads and tried to hide the menus in the homepage through this css:

        nav.second_menu{
        visibility: hidden !important;
        }

        body[data-id="74"][data-type="category"]
        nav.second_menu{
        visibility: visible !important;
        }

        nav.third_menu{
        visibility: hidden !important;
        }

        body[data-id="74"][data-type="category"]
        nav.third_menu{
        visibility: visible !important;
        }

        But it seems to hide it in the about page as well.
        http://s955093523.mialojamiento.es/

        Do you have any idea what I am doing wrong/if there is a better responsive way of doing this? I would like this system to be reflected in the mobile version too.

        Any help would be super appreciated!
        Thanks very much in advance,

        Christian

        C Offline
        C Offline
        cschm.tz
        wrote on Apr 8, 2023, 3:17 PM last edited by
        #3

        hey @arminunruh !

        Thanks so much for getting back to me, very glad to hear all is going well for him in new zealand :)

        Your suggestion helped for desktop with id's which is great, but not sure if this applies to mobile also? Menus seem to be behaving a bit weirdly, i.e social media ones disappearing in the about page and unwanted ones hidden in the homepage (Close appearing in grey when hovering on the top corner) like the screenshots attached? Feel like I am missing a very small detail to crack this!!

        http://s955093523.mialojamiento.es/homepage-copy/

        Captura de pantalla 2023-04-08 a las 16.12.12.png Captura de pantalla 2023-04-08 a las 16.12.23.png

        Any idea what this could be? Thanks so much!

        A 1 Reply Last reply Apr 8, 2023, 8:42 PM
        0
        • C cschm.tz
          Apr 8, 2023, 3:17 PM

          hey @arminunruh !

          Thanks so much for getting back to me, very glad to hear all is going well for him in new zealand :)

          Your suggestion helped for desktop with id's which is great, but not sure if this applies to mobile also? Menus seem to be behaving a bit weirdly, i.e social media ones disappearing in the about page and unwanted ones hidden in the homepage (Close appearing in grey when hovering on the top corner) like the screenshots attached? Feel like I am missing a very small detail to crack this!!

          http://s955093523.mialojamiento.es/homepage-copy/

          Captura de pantalla 2023-04-08 a las 16.12.12.png Captura de pantalla 2023-04-08 a las 16.12.23.png

          Any idea what this could be? Thanks so much!

          A Offline
          A Offline
          alasdair17
          wrote on Apr 8, 2023, 8:42 PM last edited by alasdair17 Apr 8, 2023, 4:56 PM
          #4

          @cschm-tz Hi Christian, sorry to interrupt your thread but how did you get your captions to sit perfectly and responsive at the bottom? It'd be great to know, thanks!

          1 Reply Last reply
          0
          • A Offline
            A Offline
            arminunruh
            Global Moderator
            wrote on Apr 11, 2023, 1:42 PM last edited by
            #5

            hey i think for mobile the css is different

            C 1 Reply Last reply Apr 21, 2023, 10:21 AM
            0
            • A Offline
              A Offline
              arminunruh
              Global Moderator
              wrote on Apr 11, 2023, 1:43 PM last edited by
              #6

              @alasdair17

              go to lay options → carousel addon → enable "Align Captions and Numbers to width of slides"

              A 1 Reply Last reply Apr 12, 2023, 1:07 PM
              0
              • A arminunruh
                Apr 11, 2023, 1:43 PM

                @alasdair17

                go to lay options → carousel addon → enable "Align Captions and Numbers to width of slides"

                A Offline
                A Offline
                alasdair17
                wrote on Apr 12, 2023, 1:07 PM last edited by
                #7

                @arminunruh thanks man! but how do I get it the captions and numbers to sit at the bottom of the page, best to make the row a full browser window?

                C 1 Reply Last reply Apr 22, 2023, 10:39 AM
                0
                • A arminunruh
                  Apr 11, 2023, 1:42 PM

                  hey i think for mobile the css is different

                  C Offline
                  C Offline
                  cschm.tz
                  wrote on Apr 21, 2023, 10:21 AM last edited by
                  #8

                  @arminunruh Hey Armin hope you are well!

                  Thanks very much for getting back to me, is there any chance you could indicate me what the difference would be in mobile css?

                  I would really appreciate any guidance.
                  Thanks a lot and have a great weekend!

                  1 Reply Last reply
                  0
                  • A alasdair17
                    Apr 12, 2023, 1:07 PM

                    @arminunruh thanks man! but how do I get it the captions and numbers to sit at the bottom of the page, best to make the row a full browser window?

                    C Offline
                    C Offline
                    cschm.tz
                    wrote on Apr 22, 2023, 10:39 AM last edited by
                    #9

                    @alasdair17

                    Hey hope you are well! I applied some css to the captions, see if this helps you? :)

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

                    A 1 Reply Last reply Apr 22, 2023, 1:49 PM
                    1
                    • C cschm.tz
                      Apr 22, 2023, 10:39 AM

                      @alasdair17

                      Hey hope you are well! I applied some css to the captions, see if this helps you? :)

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

                      A Offline
                      A Offline
                      alasdair17
                      wrote on Apr 22, 2023, 1:49 PM last edited by
                      #10

                      @cschm-tz awesome, thanks man!

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        arminunruh
                        Global Moderator
                        wrote on Apr 26, 2023, 3:17 PM last edited by
                        #11

                        @cschm-tz

                        is everything resolved?

                        C 1 Reply Last reply Jun 8, 2023, 7:56 AM
                        0
                        • A arminunruh
                          Apr 26, 2023, 3:17 PM

                          @cschm-tz

                          is everything resolved?

                          C Offline
                          C Offline
                          cschm.tz
                          wrote on Jun 8, 2023, 7:56 AM last edited by
                          #12

                          @arminunruh

                          Hi Armin,

                          Thanks for getting back to me.

                          Not yet unfortunately. Captions seem to work individually in desktop version and mobile version, they are ultimately in the right position. However, when shrinking the page on desktop, the caption on bottom left jumps up leaving a gap underneath.

                          http://s955093523.mialojamiento.es/info-copy/

                          I would really like to avoid this if possible. Would you be able to help me assuring this? I have reached out for help but they weren't able to crack this..

                          Thanks a lot and hope all is well!

                          1 Reply Last reply
                          0
                          • A Offline
                            A Offline
                            arminunruh
                            Global Moderator
                            wrote on Jun 13, 2023, 10:10 AM last edited by
                            #13

                            do u have a video or screenshot of this, i cant reproduce this

                            C 1 Reply Last reply Jun 13, 2023, 2:38 PM
                            0
                            • A arminunruh
                              Jun 13, 2023, 10:10 AM

                              do u have a video or screenshot of this, i cant reproduce this

                              C Offline
                              C Offline
                              cschm.tz
                              wrote on Jun 13, 2023, 2:38 PM last edited by
                              #14

                              @arminunruh sure thing please find attached!Captura-de-pantalla-2023-06-13-a-las-14.55.30.jpg Captura-de-pantalla-2023-06-13-a-las-14.54.30.jpg

                              1 Reply Last reply
                              0
                              • A Offline
                                A Offline
                                arminunruh
                                Global Moderator
                                wrote on Jun 19, 2023, 8:17 PM last edited by
                                #15

                                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 1 Reply Last reply Jul 3, 2023, 3:04 PM
                                0
                                • 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
                                    • arminunruhA Offline
                                      arminunruhA 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
                                      • arminunruhA 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

                                        arminunruhA 1 Reply Last reply Aug 24, 2023, 9:42 AM
                                        0
                                        • arminunruhA Offline
                                          arminunruhA 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
                                          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
                                          S
                                          slartislart
                                          16 minutes ago
                                          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