• Resolved darrmik

    (@darrmik)


    What css will allow me to set the font of my navigation bar??

    ul#menu-main.menu {
    	line-height: 1;
    	font-size: 30px;
    	font-family: Westmeath !important;
    }
    @font-face {
    	font-family: Westmeath;
    	src: url(/fonts/Westmeath.ttf)
    }

    The above css allowed me to change the size of the font, but does not affect the font-family.

    Secondary question: I would like the text color of the navigation bar to change when I hover over it.

    a:hover {
    	color: red;
    }

    This css will make my other links function as desired, but not the navigation bar. What would the correct css be to have the navigation bar function as described?

Viewing 1 replies (of 1 total)
  • Thread Starter darrmik

    (@darrmik)

    Found a method to set the font for the navigation bar.

    ul#menu-main a {
    	font-family: Westmeath;
    }

    Simply substitute the name of your menu where I have “main”

    Hope this helps someone else.

Viewing 1 replies (of 1 total)
  • The topic ‘Change Menu Font’ is closed to new replies.