• Resolved pucklitaay

    (@pucklitaay)


    Hi guys,

    I’m using twentyeleven as a theme on my blog. Though I want to change the font of the Navigation bar. How can I change this? And how can I change the color of both the hover and regular nav bar?

    My site is currently closed, so I can’t post a link here.

Viewing 3 replies - 16 through 18 (of 18 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    There is likely to be styles overriding the code mentioned. As we haven’t access to your website, my last resort would be adding !important on the end of your styles.

    Example;

    #access a {
     font-family: Your font family !important;
     color: #yourFontColour !important;
    }

    More info what !important does – https://webdesign.about.com/od/css/f/blcssfaqimportn.htm

    Thread Starter pucklitaay

    (@pucklitaay)

    Yes, the !important; did the trick! ??

    Here what I added to child theme css. As you can see some things worked and others didn’t. Before updating to twentyeleven 1.6, they did. Adding important didn’t change anything. Any suggestions?

    /*Reduce Space between Paragraphs/* /*DID NOT WORK*/
    p {
    margin-bottom: .5em;
    }

    /*Indent Post Paragraphs*/
    p {
    text-indent: 1.5em;
    }

    /*Decrease Line Spacing in Paragraphs*/ /*DID NOT WORK*/
    body, input, textarea {
    line-height: 1.625em;
    }

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘[TwentyEleven] Changing Navbar Font with Child Theme’ is closed to new replies.