• Resolved Willem 2

    (@willem-2)


    Ik gebruik het twenty twelve thema en wil de lettergrootte en de regelafstand van de links aanpassen wanneer ik de menu knop op een mobiele telefoon aanklik, zonder daarbij de layout van de navigatiebalk in de desktop versie te veranderen. Is hier een oplossing voor?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Add this under Appeareance > Customizer > Additional CSS:

    @media screen and (max-width: 760px) {
     .main-navigation li { margin-top: 2rem }
    }

    Of course you can adjust the value to your needs.

    Thread Starter Willem 2

    (@willem-2)

    Ik heb geprobeerd de lettergrootte en regelafstand te vergroten van de links als ik op de menuknop klik. Zou je me een voorbeeld kunnen geven waarna ik de lettergrootte en regelafstand alleen nog hoef aan te passen? Met alleen de code die je mij hebt gegeven lukt het niet.

    You can also control the line spacing with the above code. Or you take:

    @media screen and (max-width: 760px) {
     .main-navigation li { line-height: 2 }
    }

    The font size with this:

    @media screen and (max-width: 760px) {
     .main-navigation li a { font-size: 20px; }
    }
    Thread Starter Willem 2

    (@willem-2)

    Hi threadi, This helped me. Thank you very much!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Menu op mobiele telefoon’ is closed to new replies.