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. Headers & footers

Headers & footers

Scheduled Pinned Locked Moved General Discussion
9 Posts 2 Posters 326 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 last edited by
    #1

    Hi Armin,

    Hope you are well!

    I am trying to design a very simple site that has the same menu/footer in desktop as the mobile version. For this, we need a burger on the top left as per the screenshot attached which I thought should be very simple.
    Captura de pantalla 2024-01-24 a las 19.25.31.png

    Is there any chance you could give me any guidance on this? I saw something related to overlays but even though I have bought the license it asks me to re-buy (see attached also).

    Captura de pantalla 2024-01-24 a las 19.22.12.png

    On the other hand, the footer should ideally have a solid background as per the above screenshot instead of being transparent as it currently is here: http://das-fleet.com/home-1/ Where does one determine this?

    Thanks so much for your help!
    Christian

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cschm.tz
      wrote on last edited by
      #2

      Apologies, have seen my license needed re-entering regarding locked elements part. would still very much appreciate any help on the above if possible! Thank you :)

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

        hey!

        yea you can enter your license key to unlock all features like the overlay feature

        add a z-index to your footer:

        #footer-region {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: black !important;
            z-index: 1;
        }
        

        if you want the exact same layout for phone i think you can go to lay options and set Screenshot 2024-01-25 at 19.07.00.png

        phone breakpoint to 0

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cschm.tz
          wrote on last edited by
          #4

          Hi Armin,

          Thanks so much, the z index solved the first bit and I was able to solve the custom burger with overlays!

          In terms of same layout, this applies to the header (custom burger icon and top key line) and footer (logos and bottom keyline) only like in the below screenshots. The text layouts etc differentiated between desktop and mobile would still be needed though — is this possible?

          Captura de pantalla 2024-01-25 a las 19.04.58.png

          Captura de pantalla 2024-01-25 a las 19.04.46.png

          Thanks again!!!!

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

            The text layouts etc differentiated between desktop and mobile would still be needed though — is this possible?

            U just want smaller text for your mobile version that's all right?

            don't use a custom phone layout,
            that wont work if you disable the phone version by setting the breakpoint to 0
            use textformats please instead of formatting the text using the texteditor

            disable the phone version by setting the breakpoint to 0 as i said

            then use custom css to decrease the font-size of your text
            in custom css write:

            @media (max-width: 800px) {
              /* your css to decrease font-size */
            }
            

            if this won't work for you because you need to use a custom phone layout,
            i would set the phone breakpoint back to 800 again,
            then i would
            code both of these parts:

            Screenshot 2024-01-27 at 14.29.53.png

            Screenshot 2024-01-27 at 14.30.03.png

            using html. with the exception of the overlay burger button

            i would first remove these parts with the exception of the overlay button,

            then i would create html and css in lay options → custom css & html
            to replicate these parts on the website

            this way, these two parts are completely controlled by custom code and they don't change if you're on the mobile version or not

            1 Reply Last reply
            0
            • C Offline
              C Offline
              cschm.tz
              wrote on last edited by
              #6

              Hi Armin,

              Thanks for your feedback! So if the first option could work it would be amazing as html is perhaps beyond my expertise unless I know what to input..

              Captura de pantalla 2024-01-29 a las 14.04.06.png

              However when trying the first option (deleting phone layouts and using textformats) the footer still seems to shrink as per the above attachment, rather than stay within the desired scale — desktop and mobile the same, just the width of the page shrinks as per the below attachment

              Captura de pantalla 2024-01-25 a las 19.04.46.png

              Any thoughts? Thank you!!!

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

                i see!

                the images in grids are always just %-based widths.
                i need to somehow make lay theme better so people are not too restricted by the grid :|

                both of these images, the "dragon" and "delta" become smaller because they have a % based width.

                can you right-click the "delta" image in the gridder, choose "give html class and id"
                and then for html class enter: myright

                do the same for the "dragon" icon/image and enter: myleft

                then:

                .myright{
                    right: 10px!important;
                    left: auto!important;
                    width: 100px!important;
                    bottom: -1px!important;
                }
                .myleft{
                    left: 10px!important;
                    right: auto!important;
                    width: 40px!important;
                    bottom: -1px!important;
                }
                

                in lay options → custom css & html → custom css

                you can play around with these values

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  cschm.tz
                  wrote on last edited by
                  #8

                  Hi Armin,

                  Thanks very much this is great.

                  Hopefully last few questions on this:

                  1. if i were to tweak the sizes of icon/delta what kind of css can i include in the classes?
                  2. this whole process has implied disabling the custom phone layout and the split screen you previously explained has now been deconstructed attached below design vs result

                  Captura de pantalla 2024-01-25 a las 18.49.43.png

                  Captura de pantalla 2024-01-30 a las 16.01.57.png

                  Same thing applies to overlay

                  Captura de pantalla 2024-01-30 a las 16.03.50.png

                  Captura de pantalla 2024-01-30 a las 16.04.01.png

                  How can I make sure I obtain the results you suggested without preventing the rest from working? Thanks again!

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

                    if i were to tweak the sizes of icon/delta what kind of css can i include in the classes?

                    you can change the width!

                    like
                    width: 500px!important;

                    this whole process has implied disabling the custom phone layout and the split screen you previously explained has now been deconstructed attached below design vs result

                    you're not talking about this:
                    https://laytheme.com/tutorials/create-a-desktop-burger-menu-or-info-overlay.html
                    (its just a note to myself cause this can get confusing)

                    well,
                    in that case:

                    we need to use the custom phone layout and use the solution i recommended earlier:

                    i would first remove these parts with the exception of the overlay button,

                    then i would create html and css in lay options → custom css & html
                    to replicate these parts on the website

                    this way, these two parts are completely controlled by custom code and they don't change if you're on the mobile version or not

                    so i will do this for you
                    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