Pegasus1935
04-16-2011, 02:50 AM
I want my website to use Friz Quadrata, and I've read up on how to add custom fonts to Weebly's themes' CSS, but it doesn't seem to be working.
It said to add the font name to the bolded part:
body {
margin: 0 auto;
padding: 0;
font: 76% Friz Quadrata,Verdana,Tahoma,Arial,sans-serif;
background: #f4f4f4 url(bg.gif) top center repeat-y;
}
#wrap {
background: #ffffff;
color: #303030;
margin: 0 auto;
width: 760px;
}
#header {
clear: both;
padding: 0;
padding: 20px 0 0 0;
height: 45px;
}
#header h1 {
margin: 0 0 10px 0;
float: left;
line-height:1.5;
}
#header p {
width: 500px;
float: right;
text-align: center;
color: #a0a0a0;
margin: 0 0 10px 0;
font-size: 0.8em;
line-height:1.5;
}
#frontphoto {
margin: 0 0 10px 0;
border: 0;
width: 760px;
height: 175px;
background:#ffffff url(%%HEADERIMG%%) top left no-repeat;
}
#avmenu {
clear: left;
float: left;
width: 150px;
margin: 0 0 10px 0;
padding: 0;
font-size: 0.9em;
}
#avmenu ul {
list-style: none;
width: 150px;
margin: 0 0 20px 0;
padding: 0;
font-size: 1.1em;
}
#avmenu li {
margin-bottom: 4px;
}
#avmenu li a {
font-weight: bold;
text-decoration: none;
color: #505050;
display: block;
padding: 6px 1px 6px 10px;
background: #f4f4f4;
border-left: 4px solid #cccccc;
}
#avmenu li a:hover {
background: #eaeaea;
color: #286ea0;
border-left: 4px solid #286ea0;
}
#active a:link {
background: #eaeaea;
color: #286ea0;
border-left: 4px solid #286ea0;
}
#active a:hover {
background: #eaeaea;
color: #286ea0;
border-left: 4px solid #286ea0;
}
#active a:visited {
background: #eaeaea;
color: #286ea0;
border-left: 4px solid #286ea0;
}
.announce {
margin: 10px 0 10px 0;
padding: 10px;
width: 130px;
color: #505050;
background-color: #f4f4f4;
line-height:1.5;
}
#extras {
float: right;
width: 100px;
margin: 0 0 10px 0;
padding: 0;
font-size: 0.9em;
line-height:1.5;
}
#extras p {
margin: 0 0 1.5em 0;
}
#content {
margin: 0 0 20px 0px;
border-left: 1px solid #f0f0f0;
border-right: 1px solid #f0f0f0;
padding: 0 10px 0 10px;
line-height:1.5;
text-align: justify;
min-height:400px;
height:auto !important;
height:400px;
width: 578px;
float: right;
overflow-x:visible !important;
overflow-x:hidden;
}
#content h2 {
font-size: 1.5em;
margin: 0 0 0.5em 0;
}
#content img {
padding: 1px;
display:inline;
border: 4px solid #f0f0f0;
}
h3 {
font-size: 1.3em;
margin: 0 0 10px 0;
}
a {
text-decoration: none;
color: #286ea0;
}
a:hover {
text-decoration: underline;
color: #286ea0;
}
a img {
border: 0;
}
#footer {
clear: both;
margin: 0 auto;
padding: 10px 0 20px 0;
border-top: 4px solid #f0f0f0;
width: 760px;
text-align: center;
color: #808080;
font-size: 0.9em;
}
#footer a {
color: #808080;
text-decoration: none;
}
#footer a:hover {
text-decoration: underline;
}
.left {
margin: 10px 10px 5px 0;
float: left;
}
.right {
margin: 10px 0 5px 10px;
float: right;
}
.textright {
text-align: right;
}
.center {
text-align: center;
}
.small {
font-size: 0.8em;
}
.bold {
font-weight: bold;
}
.hide {
display: none;
}
/****************************** flyout menus ******************************/
#weebly-menus .weebly-menu-wrap {
z-index: 5000;
}
#weebly-menus .weebly-menu {
padding: 0;
margin: 0;
list-style: none;
}
#weebly-menus .weebly-menu li {
float: left;
clear: left;
width: 170px;
text-align: left;
}
#weebly-menus .weebly-menu li a {
position: relative;
display: block;
width: 100%;
background: #286ea0;
border-right: 1px solid #286ea0;
border-left: 1px solid #286ea0;
border-bottom: 1px solid #286ea0;
text-decoration: none;
font-family:Verdana,Tahoma,Arial,sans-serif;
font-size: 11px;
font-weight: bold;
line-height:1;
padding:3px;
color: #ccc;
}
#weebly-menus .weebly-menu li a:hover {
border-right: 1px solid #3680b6;
border-left: 1px solid #3680b6;
border-bottom: 1px solid #3680b6;
background: #3680b6;
}
#weebly-menus span.weebly-menu-title {
display: block;
padding: 5px 10px;
}
#weebly-menus span.weebly-menu-more {
background: transparent url(http://images.weebly.com/weebly/images/submenu_arrow.gif) no-repeat center top;
display: block;
position: absolute;
right: 5px;
top: 0;
font-family: Courier;
height: 28px;
line-height: 28px;
padding:1px 0 3px 0;
}
That doesn't seem to be working, though. What am I doing wrong? Please keep in mind that I'm very new at this stuff, so go easy on me. :D
It said to add the font name to the bolded part:
body {
margin: 0 auto;
padding: 0;
font: 76% Friz Quadrata,Verdana,Tahoma,Arial,sans-serif;
background: #f4f4f4 url(bg.gif) top center repeat-y;
}
#wrap {
background: #ffffff;
color: #303030;
margin: 0 auto;
width: 760px;
}
#header {
clear: both;
padding: 0;
padding: 20px 0 0 0;
height: 45px;
}
#header h1 {
margin: 0 0 10px 0;
float: left;
line-height:1.5;
}
#header p {
width: 500px;
float: right;
text-align: center;
color: #a0a0a0;
margin: 0 0 10px 0;
font-size: 0.8em;
line-height:1.5;
}
#frontphoto {
margin: 0 0 10px 0;
border: 0;
width: 760px;
height: 175px;
background:#ffffff url(%%HEADERIMG%%) top left no-repeat;
}
#avmenu {
clear: left;
float: left;
width: 150px;
margin: 0 0 10px 0;
padding: 0;
font-size: 0.9em;
}
#avmenu ul {
list-style: none;
width: 150px;
margin: 0 0 20px 0;
padding: 0;
font-size: 1.1em;
}
#avmenu li {
margin-bottom: 4px;
}
#avmenu li a {
font-weight: bold;
text-decoration: none;
color: #505050;
display: block;
padding: 6px 1px 6px 10px;
background: #f4f4f4;
border-left: 4px solid #cccccc;
}
#avmenu li a:hover {
background: #eaeaea;
color: #286ea0;
border-left: 4px solid #286ea0;
}
#active a:link {
background: #eaeaea;
color: #286ea0;
border-left: 4px solid #286ea0;
}
#active a:hover {
background: #eaeaea;
color: #286ea0;
border-left: 4px solid #286ea0;
}
#active a:visited {
background: #eaeaea;
color: #286ea0;
border-left: 4px solid #286ea0;
}
.announce {
margin: 10px 0 10px 0;
padding: 10px;
width: 130px;
color: #505050;
background-color: #f4f4f4;
line-height:1.5;
}
#extras {
float: right;
width: 100px;
margin: 0 0 10px 0;
padding: 0;
font-size: 0.9em;
line-height:1.5;
}
#extras p {
margin: 0 0 1.5em 0;
}
#content {
margin: 0 0 20px 0px;
border-left: 1px solid #f0f0f0;
border-right: 1px solid #f0f0f0;
padding: 0 10px 0 10px;
line-height:1.5;
text-align: justify;
min-height:400px;
height:auto !important;
height:400px;
width: 578px;
float: right;
overflow-x:visible !important;
overflow-x:hidden;
}
#content h2 {
font-size: 1.5em;
margin: 0 0 0.5em 0;
}
#content img {
padding: 1px;
display:inline;
border: 4px solid #f0f0f0;
}
h3 {
font-size: 1.3em;
margin: 0 0 10px 0;
}
a {
text-decoration: none;
color: #286ea0;
}
a:hover {
text-decoration: underline;
color: #286ea0;
}
a img {
border: 0;
}
#footer {
clear: both;
margin: 0 auto;
padding: 10px 0 20px 0;
border-top: 4px solid #f0f0f0;
width: 760px;
text-align: center;
color: #808080;
font-size: 0.9em;
}
#footer a {
color: #808080;
text-decoration: none;
}
#footer a:hover {
text-decoration: underline;
}
.left {
margin: 10px 10px 5px 0;
float: left;
}
.right {
margin: 10px 0 5px 10px;
float: right;
}
.textright {
text-align: right;
}
.center {
text-align: center;
}
.small {
font-size: 0.8em;
}
.bold {
font-weight: bold;
}
.hide {
display: none;
}
/****************************** flyout menus ******************************/
#weebly-menus .weebly-menu-wrap {
z-index: 5000;
}
#weebly-menus .weebly-menu {
padding: 0;
margin: 0;
list-style: none;
}
#weebly-menus .weebly-menu li {
float: left;
clear: left;
width: 170px;
text-align: left;
}
#weebly-menus .weebly-menu li a {
position: relative;
display: block;
width: 100%;
background: #286ea0;
border-right: 1px solid #286ea0;
border-left: 1px solid #286ea0;
border-bottom: 1px solid #286ea0;
text-decoration: none;
font-family:Verdana,Tahoma,Arial,sans-serif;
font-size: 11px;
font-weight: bold;
line-height:1;
padding:3px;
color: #ccc;
}
#weebly-menus .weebly-menu li a:hover {
border-right: 1px solid #3680b6;
border-left: 1px solid #3680b6;
border-bottom: 1px solid #3680b6;
background: #3680b6;
}
#weebly-menus span.weebly-menu-title {
display: block;
padding: 5px 10px;
}
#weebly-menus span.weebly-menu-more {
background: transparent url(http://images.weebly.com/weebly/images/submenu_arrow.gif) no-repeat center top;
display: block;
position: absolute;
right: 5px;
top: 0;
font-family: Courier;
height: 28px;
line-height: 28px;
padding:1px 0 3px 0;
}
That doesn't seem to be working, though. What am I doing wrong? Please keep in mind that I'm very new at this stuff, so go easy on me. :D