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. How can I change the font size in a drop down menu?

How can I change the font size in a drop down menu?

Scheduled Pinned Locked Moved General Discussion
18 Posts 5 Posters 687 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.
  • N Offline
    N Offline
    ninaverena
    wrote on last edited by
    #7

    Any solution to this question yet? I'd also really like to change the font size of my drop-down menu. Best, nina

    P 1 Reply Last reply
    0
    • N ninaverena

      Any solution to this question yet? I'd also really like to change the font size of my drop-down menu. Best, nina

      P Offline
      P Offline
      prazzo101
      wrote on last edited by
      #8

      @ninaverena No, I didn’t get any answer. I just ended up not using a drop down menu at all.

      1 Reply Last reply
      0
      • N Offline
        N Offline
        ninaverena
        wrote on last edited by
        #9

        ok, thanks anyway. :) Best, nina

        1 Reply Last reply
        0
        • RichardR Offline
          RichardR Offline
          Richard
          Global Moderator
          wrote on last edited by
          #10

          Dear @ninaverena @piero101

          Ah older thread!
          Have just seen this now, apologies for the delay!

          Could you both please post a link to your website with the drop-down menu in question and i can take a better look :)

          Best wishes
          Richard

          P 1 Reply Last reply
          0
          • RichardR Richard

            Dear @ninaverena @piero101

            Ah older thread!
            Have just seen this now, apologies for the delay!

            Could you both please post a link to your website with the drop-down menu in question and i can take a better look :)

            Best wishes
            Richard

            P Offline
            P Offline
            prazzo101
            wrote on last edited by prazzo101
            #11

            @Richard-Keith Thanks Richard, but that state of the website is long gone now ;) Still looking forward to any input for the future because that question will definitely pop up again for me. Thanks!

            1 Reply Last reply
            0
            • RichardR Offline
              RichardR Offline
              Richard
              Global Moderator
              wrote on last edited by
              #12

              Dear @piero101

              Thank you for the kind reply :)

              Best wishes and i will be ready when the time comes!

              Sincerely
              Richard

              1 Reply Last reply
              0
              • N Offline
                N Offline
                ninaverena
                wrote on last edited by
                #13

                Hey @Richard-Keith :)
                My website is not yet online. But here is a screenshot. I was wandering whether it is possible to change the font / font size of the menu items (portrait, advertising, etc.)?

                1 Reply Last reply
                0
                • N Offline
                  N Offline
                  ninaverena
                  wrote on last edited by
                  #14

                  Bildschirmfoto-2020-10-20-um-17.04.43.jpg

                  1 Reply Last reply
                  0
                  • RichardR Offline
                    RichardR Offline
                    Richard
                    Global Moderator
                    wrote on last edited by
                    #15

                    Dear @ninaverena

                    I understand that sometimes access to the website is not possible :)

                    I hope i can run you through and you apply this to your case:

                    For this we will need help of the Inspection tools provided within Google Chrome's browser:
                    https://www.khanacademy.org/computing/computer-programming/html-css/web-development-tools/a/using-the-browser-developer-tools

                    along with adding our own Custom CSS within "Lay options- custom css & html" :
                    Screen Shot 2020-09-14 at 2.51.54 PM.png

                    When we right click on your webpage we can choose "inspect" from the menu:
                    Screen Shot 2020-10-21 at 11.26.41 AM.png

                    So clicking on the menu which you wish to change:
                    Screen Shot 2020-10-21 at 11.28.00 AM.png

                    Here on the left we have some related data, that we will use to target the menu with CSS e.g:

                    .menu-item-171
                    
                    a
                    
                    [data-id="10"]
                    
                    span
                    

                    I changed my menu item's font size by targeting it like this:

                    .menu-item-171 a {
                        font-size:48px;
                    }
                    

                    Because this is a link <a> i have added the 'a' to be sure that the change occurs, you could also target it further to be sure by adding 'span' to the code.

                    I hope this help's you - target the Menu-item area or the individual menu-items this is your choice - then use 'font-size:20px;' ( change the 20 px to your preferred size ) - adding the code to Custom CSS

                    Let me know how you go! :)

                    Best wishes and have a wonderful day

                    Sincerely
                    Richard

                    1 Reply Last reply
                    0
                    • N Offline
                      N Offline
                      ninaverena
                      wrote on last edited by
                      #16

                      dear @Richard-Keith, thanks so much for your detailed help! Whoop-whoop - I did it! ;) (although now I'm not sure if I really like it better.. :) ) All the best, nina

                      1 Reply Last reply
                      0
                      • RichardR Offline
                        RichardR Offline
                        Richard
                        Global Moderator
                        wrote on last edited by
                        #17

                        Dear @ninaverena

                        Great to hear! :)

                        Best wishes and good luck on the rest of your Lay Theme Journey

                        Sincerely
                        Richard

                        1 Reply Last reply
                        0
                        • N Offline
                          N Offline
                          ninaverena
                          wrote on last edited by
                          #18

                          thanks a lot! :)

                          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