elkriverken

Q: iWeb Fonts

Can I change the fonts style and/or size within the iWeb navigation menu? If so, how do I go about this?

iMac, OS X Yosemite (10.10), iLife '11, iTunes 12, i Work 09

Posted on Jul 16, 2015 9:33 AM

Close

Q: iWeb Fonts

  • All replies
  • Helpful answers

  • by Wyodor,

    Wyodor Wyodor Jul 16, 2015 10:14 AM in response to elkriverken
    Level 6 (19,753 points)
    Jul 16, 2015 10:14 AM in response to elkriverken

    The navigation style is determined by the template.

     

    You cannot change it in iWeb.

     

    You can use a JavaScript to change it. Here's a script that I once used the change the styling of the navigation :

     

    <script>
    var css = "div#widget0 .navbar a,div#widget0 .noncurrent-page a:visited,div#widget0 .noncurrent-page a:hover,div#widget0 .current-page a {background-image: url('');font-size: 2em;font-family:Adler}",
    head = parent.document.getElementsByTagName('head')[0],
    style = parent.document.createElement('style');
    style.type = 'text/css';
    if (style.styleSheet){
      style.styleSheet.cssText = css;
    } else {
      style.appendChild(document.createTextNode(css));
    }
    head.appendChild(style);
    </script>
    
    

     

    The styling is in var css.

     

    Paste the JavaScript in a HTML snippet.