Site logo

Archived topic

changing font size navigation menu German

3 replies · Started by Piet Hein on August 20, 2018

Viewing posts 1–4 of 4

Hi Guys,

I wanna change the font size for my primary navigation menu in German only.

I've added CSS classes menu_de to the menu items, and:

@media (min-width: 769px) {
.main-navigation .main-nav ul li.menu_de a {
font-size: 11px !important;
}
}

(I've also just tried .menu_de { font-size: 11px} and some other things; not as good with CSS as I would like to be...

However, nothing seems to change anything. Can you tell me what I'm doing wrong?

Cheers,

Piet

Hi there,

Can you double check on the link to your site?

It downloads a file instead of opening a browser when I click it.

Let me know :)

Looks like you were on the right track.

Just make the font-size property smaller to like 15px in the existing CSS:

@media (min-width: 769px) {
    .main-navigation .main-nav ul li.Donate a {
        -webkit-border-radius: 28;
        line-height: 40px;
        -moz-border-radius: 28;
        border-radius: 28px;
        -webkit-box-shadow: 1px 3px 3px #ffffff;
        -moz-box-shadow: 1px 3px 3px #ffffff;
        box-shadow: 1px 1px 3px #ffffff;
        font-family: Georgia;
        color: #ffffff;
        font-size: 15px;
        background: transparant;
        border: 1px solid #fff;
        text-decoration: none;
    }
}

Make sure to clear plugin cache.

This archived topic is closed to new replies.