2012-09-25 2 views
1

WordPress의 우아한 테마에서 굵은 글꼴을 얻는 방법을 알아내는 데 도움이 필요하지만 제목이없는 영역 (h1, h2, h3 등)에서만 사용할 수 있습니다. 문제는 텍스트 본문에 점점. 나는 그것이 모든 것을 보았습니다. 편집기에서 대담한 제목을 얻었지만 변경 사항이 무엇이든 상관없이 내가 페이지를 게시하면 그렇지 않습니다. 나는 코드를 포함하고 있지만 (전체는 아니지만 중요한 부분) 'h1'영역의 변경 사항은 일단 게시 된 후 글꼴 유형이 아니라 크기를 제외하고 반영됩니다. 나는 코더가 아니기 때문에 내가 놓친 뭔가가있을 수있다. 도움을주십시오h1, h2, h3 제목의 굵게 글꼴 - 92590

/*------------------------------------------------*/ 

/* http://meyerweb.com/eric/tools/css/reset/ */ 
/* v1.0 | 20080212 */ 

html, body, div, span, applet, object, iframe, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre, 
a, abbr, acronym, address, big, cite, code, 
del, dfn, em, font, img, ins, kbd, q, s, samp, 
small, strike, strong, sub, sup, tt, var, 
b, u, i, center, 
dl, dt, dd, ol, ul, li, 
fieldset, form, label, legend { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; } 

body { line-height: 1; } 
ol, ul { list-style: none; } 
blockquote, q { quotes: none; } 


blockquote:before, blockquote:after,q:before, q:after { content: ''; content: none; } 

/* remember to define focus styles! */ 
:focus { outline: 0; } 

/* remember to highlight inserts somehow! */ 
ins { text-decoration: none; } 
del { text-decoration: line-through; } 

/* tables still need 'cellspacing="0"' in the markup */ 
table { border-collapse: collapse; border-spacing: 0; } 


/*------------------------------------------------*/ 
/*-----------------[BASIC STYLES]-----------------*/ 
/*------------------------------------------------*/ 

body { line-height: 18px; font-family: 'Droid Sans', Arial, sans-serif; font-size: 15px; color: black; text-shadow: 1px 1px 1px #ffffff; background-color: #15191f; } 

a { text-decoration: none; color: #00b7f3; } 
a:hover { text-decoration: underline; } 
.clear { clear: both; } 
.ui-tabs-hide { display: none; } 
br.clear { margin: 0px; padding: 0px; } 

h1, h2, h3, h4, h5, h6 { padding-bottom: 5px; color: #111; letter-spacing: -1px; line-height: 1em; font-weight: bold; } 
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: #111; } 
h1 { font-size: 30px; font-weight: bold; font-family:"Times New Roman", Times, serif;} 
h2 { font-size: 24px; } 
h3 { font-size: 22px; } 
h4 { font-size: 18px; } 
h5 { font-size: 16px; } 
h6 { font-size: 14px; } 
p { padding-bottom: 10px; line-height: 18px; } 
strong { font-weight: bold; color: #1c1c1c; } 
cite, em, i { font-style: italic; } 
pre, code { font-family: Courier New, monospace; margin-bottom: 10px; } 
ins { text-decoration: none; } 
sup, sub { height: 0; line-height: 1; position: relative; vertical-align: baseline; } 
sup { bottom: 0.8em; } 
sub { top: 0.3em; } 
dl { margin: 0 0 1.5em 0; } 
dl dt { font-weight: bold; } 
dd { margin-left: 1.5em;} 
blockquote { margin: 1.5em; padding: 1em; color: #666666; background: #e6e6e6; font-style: italic; border: 1px solid #dcdcdc; } 
    blockquote p { padding-bottom: 0px; } 

input[type=text],input.text, input.title, textarea, select { background-color:#fff; border:1px solid #bbb; padding: 2px; color: #4e4e4e; } 
input[type=text]:focus, input.text:focus, input.title:focus, textarea:focus, select:focus { border-color:#2D3940; color: #3e3e3e; } 
input[type=text], input.text, input.title, textarea, select { margin:0.5em 0; } 
textarea { padding: 4px; } 

img#about-image { float: left; margin: 3px 8px 8px 0px; } 

.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } 
* html .clearfix    { zoom: 1; } /* IE6 */ 
*:first-child+html .clearfix { zoom: 1; } /* IE7 */ 

/*------------------------------------------------*/ 
/*---------------[MAIN LAYOUT INFO]---------------*/ 
/*------------------------------------------------*/ 

#top { background: url(images/top-bg.png) repeat-x; } 
    #top-wrapper { background: url(images/top-wrapper-bg.jpg) no-repeat top center; } 
     #top-content { background: url(images/top-content-bg.png) repeat-x bottom left; } 
      #bottom-light { background: url(images/bottom-light-bg.png) no-repeat bottom center; } 
       .container { text-align: left; margin: 0 auto; width: 960px; position: relative; } 
        #top .container { padding-bottom: 60px; } 
         #logo { margin: 65px 13px 35px; } 
         #menu { background: url(images/left-menu-bg.png) no-repeat top left; padding-left: 11px; height: 49px; } 
          #menu-right { background: url(images/right-menu-bg.png) no-repeat top right; padding-right: 11px; height: 49px; } 
           #menu-content { background: url(images/content-menu-bg.png) repeat-x; height: 49px; } 
         #social-icons { float: right; margin-right:23px; margin-top: 17px; } 
          #social-icons a { padding-left:4px; }  

#content { background: url(images/content-bg.png); border-top: 1px solid #ffffff; } 
    #content-shadow { background: url(images/content-shadow-bg.png) repeat-x top left; padding-top: 70px; padding-bottom: 37px; } 
     #services { margin-bottom: 40px; } 
      .service { margin-right: 45px; width: 238px; float:left; position:relative; padding-left: 52px; } 
       .last { margin-right: 0px; } 
        img.icon { position:absolute; top: 0px; left: 0px; } 
        .service h3.title { font-size: 24px; margin-bottom: 8px; color: #1f262d; } 
        .service p { line-height: 21px; } 
        .service a.readmore { background:url(images/readmore.png) no-repeat right bottom; color:#1c2329; display:block; font-size:11px; height:24px; line-height:24px; padding-right:10px; text-shadow:1px 1px 1px #ffffff; display:block; float:right; } 
         .service a.readmore span { background:url(images/readmore.png) no-repeat; 
display:block; height:24px; padding-left: 12px; padding-right: 2px; } 
         .service a.readmore:hover { color: #000; } 
+0

실제 블로그에 대한 링크를 게시하십시오. 변경 사항을 저장하고 있습니까? CSS 파일은 어떻게 편집하고 있습니까? – Blender

+0

일반적으로 외모> 테마 옵션> 사용자 정의 CSS를 디자인하고 입력하는 것이 가장 좋습니다. – jtheman

+0

블로그를 볼 수 있도록 링크를 게시하십시오. 스타일을 덮어 쓸 수있는 추가 스타일 시트가 추가 될 가능성이 있습니다. – RussellUresti

답변

3

시도 CSS 글꼴 무게 속성 값이 같이

h1, h2, h3, h4, h5, h6 { 

    font-weight:100; 

} 

당신은 100, 200, 300, 400, 500, 600, 700, 800 to 900.의 값을 조정할 수 있습니다 900 같은 속성 값은 두꺼운이며 100는 가벼운입니다.

+3

거기에있는 많은 글꼴이 9 개의 별개의 무게 값을 모두 지원하지 않는다는 것을 언급하는 것이 좋습니다. 'font-weight : bold;'에서는'font-weight : 700'을 사용하는 것과 같습니다. – Terry

관련 문제