ยินดีต้อนรับคุณ, บุคคลทั่วไป กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

ThaiSEOBoard.comพัฒนาเว็บไซต์CMS & Free Scriptอยากทำให้ตัวหนาในส่วน Post Content เป็น Font ธรรมดา ทำ Css ยังไงครับ
หน้า: [1]   ลงล่าง
พิมพ์
ผู้เขียน หัวข้อ: อยากทำให้ตัวหนาในส่วน Post Content เป็น Font ธรรมดา ทำ Css ยังไงครับ  (อ่าน 1501 ครั้ง)
0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
*~NoName@xaou~*
หัวหน้าแก๊งเสียว
*

พลังน้ำใจ: 99
ออฟไลน์ ออฟไลน์

กระทู้: 1,034



ดูรายละเอียด
« เมื่อ: 06 เมษายน 2011, 18:21:56 »

นี่เป็น Css ครับ
โค๊ด:
/*  
Theme Name: SP142
Theme URI: http://www.skinpress.com/
Description: Custom blog design starts from just $500 @ <a href="http://www.askgraphics.com/blog-design.html">AskGraphics.com</a>.
Version: 1.0
Author: AskGraphics
Author URI: http://www.AskGraphics.com/


License Information :

All templates are free to use as long as you leave the credits unchanged.
You cannot claim these templates or modifications of these templates as yours.

You cannot redistribute these templates on your website.

You cannot modify these templates and distribute them.

*/



ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input{
margin:0;
padding:0;


}


ul{
list-style:none;
}


a{
color:#666666;
text-decoration:none;
}

a:hover{
color:#000000;
text-decoration:underline;
}

a img{
border:0;
}
.clear{
clear:both;
}

body{
margin:0px;
padding:0px;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size:13px;
background-color: #e2e3de;
        /background-color: #ffffff;
color:black;
border-radius: 5px;
}


#page{
width:1000px;
margin:0px auto;

}



/* HEADER */

#header{
width:100%;
height:124px;
/background:url(images/header_bg.gif) repeat-x;
background:#1C1C1C;
        /background:#ffffff;
}





#header_rss{
float:right;
}

#header_rss img{
display:block;
margin-right:30px;
position:relative;
top:90px;
}

#header_title{
float:left;
padding-top:40px;
}

#header_title h1{
color:#ffffff;
font-size:30px;
font-weight:normal;
margin-left:180px;
/background:url(images/lp.png)
}

#header_title h1 a{
color:#ffffff;
}

.description{
font-size:16px;
position:relative;
top:-5px;
color:#ffffff;
display:block;
text-align:right;
}

#header_line{
width:100%;
height:5px;
background:url(images/he_line.jpg);
}

#header_line2,{
width:100%;
height:5px;
background:url(images/Header_Line2.png);

}

#header_sha{
width:100%;
height:52px;
background-image: url('images/Header-sha.png');
}

#header_line2, #header_line, #shslideshow {
border-left: 3px solid #434951;
border-right: 3px solid #434951;
border-radius: 10px;
}
#body {
border-left: 3px solid #434951;
border-right: 3px solid #434951;
}

#footer #footer_text {
border-top: 3px solid #434951;
border-radius: 10px;
}


/* MENU */

#menu{
width:100%;
height:52px;
background:url(images/menu.png) repeat-x;
border-top: 3px solid #434951;
border-left: 3px solid #434951;
border-right: 3px solid #434951;

}

#menu_items{
float:left;
font-size:14px;
width:1000px;
font-weight:bold;
color:#ffffff;
}

#main_search{
float:right;
width:303px;
height:52px;
background:url(images/main_search_bg.gif) no-repeat;
}

#menu_items ul{
padding-left:10px;
position:relative;
top:12px;
float:left;
}

#menu_items li{
float:left;
display:block;
height:29px;
padding-left:13px;
padding-right:13px;
background:url(images/sep.png) no-repeat right center;
text-transform:uppercase;
}

#menu_items a{
color:white;
font-size:14px;
display:block;
padding-top:5px;

}

#menu_items a:hover{
color:black;
font-size:14px;
font-weight:bold;
display:block;
padding-top:5px;

}

#searchform_top{
padding-top:2px;
margin-left:8px;
}

#searchform_top span{
font-size:12px;
color:#afafaf;
font-style:italic;
}

#searchform_top_text{
width:210px;
border:0px;
background:none;
color:#afafaf;
font-size:11px;
font-family:Verdana, Arial, Helvetica, sans-serif;
}

#gosearch{
position:relative;
top:9px;
}

/* BODY */

#body{
width:100%;
float:left;
background:white url(images/body_bg.gif) repeat-x;
}

#body_top{
width:100%;
float:left;
background:url(images/body_top_bg.gif) repeat-x bottom;
padding-bottom:45px;
}

#body_left{
width:700px;
float:left;
}

#body_right{
width:300px;
float:right;
}

/* left contact */

#body_left_content{
width:650px;
padding-top:20px;
margin-left:18px;
}

.post{
width:100%;
}

.post b{

}

.post-top{
}

.post-title{
}

.post-title h2{
font-size:24px;
color:#000000;
font-weight:normal;
padding-bottom:4px;
}

.post-title h2 a{
color:#000000;
}

.post-title h3{
font-weight:normal;
margin:0 0 4px 0;
color:#8e8e8e;
font-size:9px;
font-family:Verdana, Arial, Helvetica, sans-serif;
}

.post-title h3 a{
color:#ec008c;
font-weight:bold
}

.post-title h3 span{
color:#ec008c;
font-weight:bold
}

.post-title h4{
font-weight:bold;
/color:#a4142f;
font-size:9px;
font-family:Verdana, Arial, Helvetica, sans-serif;
/background:#f0d4cc url(images/post-title_h4.gif) repeat-x bottom;
padding:6px 0 8px 4px;
}

.post-title h4 a{
color:#a4142f;
font-weight:normal;
}

.post-title h4 span{
color:#a4142f;
font-weight:normal;
}

.entry{
line-height:20px;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
padding:15px 0 10px 5px;
       
}

.entry p{
padding-bottom:15px;
}



.entry a{
color:#c92c44;
}

.entry img{
border:3px solid #d9d9d9;
}

.postmetadata{
margin-bottom:30px;
background:url(images/postmetadata_bg.gif) no-repeat;
width:100%;
height:35px;
font-size:11px;
font-family:Verdana, Arial, Helvetica, sans-serif;
}

.postmetadata .alignleft a{
color:#7d1c32;
font-weight:bold;

}

a.readmore{
background:url(images/dotted_white.gif) repeat-x left bottom;
}

a.readmore span{
color:#ffffff;
font-weight:bold;
background:url(images/readmore.gif) no-repeat left 4px;
padding-left:8px;
}

a.readmore:hover{
text-decoration:none;
}

.postmetadata .alignleft{
padding-top:11px;
padding-left:20px;
}

.postmetadata .alignright{
padding-top:10px;
padding-right:13px;
}

.post-page{
}

.post-page h2{
font-size:24px;
color:#3d3d3d;
font-weight:normal;
padding-bottom:10px;
border-bottom:1px solid #5b1e34;
}

.post-page .entry{
padding:8px 10px 0 10px;
background:url(images/pentry_bg.gif) repeat-x;
}

.post-page .entry a{
color:#c92c44;
text-decoration:underline;
font-weight:bold;
}

/strong{
color:#000000;
}

/* uncomment it if you want use STRONG tag like title h1,h2 ...

.post-page .entry strong{
font-size:24px;
color:#3d3d3d;
font-weight:normal;
padding-bottom:10px;
border-bottom:1px solid #5b1e34;
display:block;
}*/

/* right content */

#body_right_content{
margin-top:5px;
background:url(images/body_right_content.png) no-repeat;
width:300px;
float:right;
}

/* RIGHT ADS */

#right_ads{
margin:16px 0 20px 16px;
}

#right_ads div{
float:left;
margin-right:7px;
margin-bottom:7px;
}

#right_ads div.right{
margin-right:0;
}

/* TAGS */

#right_tags{
width:250px;
margin:0 0 20px 18px;
}

#right_tags h2{
color:#322f2e;
font-size:26px;
text-transform:capitalize;
font-weight:normal;
background:url(images/tag_h2.png) no-repeat bottom left;
padding:0 0 0 30px;
width:220px;
height:34px;
}

#right_tags a{
color:#591c32;
}

/* SIDE BAR */

#sidebar{
width:310px;
float:right;
padding-left:8px;
}

.sidebars h2{
color:#322f2e;
font-size:26px;
text-transform:capitalize;
font-weight:normal;
/background:url(images/tag_h2.png) no-repeat bottom left;
padding:0 0 0 30px;
width:220px;
height:34px;
margin-bottom:10px;
}

.sidebars ul{
color:#4b4846;
}

.sidebars ul li{
/padding-bottom:15px;
/*margin-bottom:10px;*/
}

.sidebars ul li ul li{
margin-left:10px;
}

.sidebars ul li ul li ul li{
margin-left:0;
}

.sidebars li ul{
/padding-bottom:8px;
}

.sidebars li ul li ul{
padding-left:10px;
padding-bottom:0px;
}

.sidebars li ul li ul li ul{
padding-left:0px;
}

.sidebars li{
margin-bottom:0px;
background:none;
}

.sidebars li li{
margin-bottom:0px;
background:url(images/dotted_red.gif) repeat-x left bottom;
padding-top:4px;
padding-bottom:8px;
padding-left:5px;
font-family:Verdana, Arial, Helvetica, sans-serif;
}

.sidebars li.widget_archives li{
background:url(images/dotted_grey.gif) repeat-x left bottom;
}

.sidebars li li li{
background:none;
border:0px;
padding-bottom:3px;
}

.sidebars li a{
color:#4b4846;
}

.sidebars li.widget_categories ul li{
font-weight:bold;
color:#ef5b6a;
}

.sidebars li.widget_categories ul li a{
background:url(images/sidebar_li_cat.gif) no-repeat left 4px;
font-weight:normal;
padding-left:10px;
}

.sidebars li.widget_categories ul li ul li a{
backgroundnone;
font-weight:normal;
}

.sidebars li.widget_archives ul li a{
background:url(images/sidebar_li_ar.gif) no-repeat left 4px;
font-weight:normal;
padding-left:10px;
}

.sidebars li.linkcat ul li a{
background:url(images/sidebar_li_br.gif) no-repeat left 4px;
font-weight:bold;
padding-left:10px;
color:#7d1c32;
}

.sidebars .widget_tags p{
padding:0px 10px;
}

.sidebars .textwidget{
padding:4px;
}

/* FOOTER */

#footer{
width:100%;
/height:144px;
/background:url(images/footer_bg.gif) repeat-x;
/background:#FAFAD2;
clear:both;
margin:0px auto;
color:black;
font-family:Verdana, Arial, Helvetica, sans-serif;
text-align:center;
}

#footer_text{
padding-top:10px;
}

#footer_ask{
padding-top:10px;
}

#footer_text a{
font-weight:bold;
color:#000000;
}

#footer_ask a{
color:#ffffff;
font-weight:bold;
}




/* Begin Typography & Colors */

#wp-calendar #prev a, #wp-calendar #next a {
font-size: 9pt;
}

#wp-calendar a {
text-decoration: none;
}

#wp-calendar caption {
font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
text-align: left;
}

#wp-calendar th {
font-style: normal;
text-transform: capitalize;
}
/* End Typography & Colors */




/* Begin Images */
p img {
padding: 0;
max-width: 100%;
}

/* Using 'class="alignright"' on an image will (who would've
thought?!) align the image to the right. And using 'class="centered',
will of course center the image. This is much better than using
align="center", being much more futureproof (and valid) */

img.centered {
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignright {
padding: 4px;
margin: 0 0 2px 7px;
display: inline;
}

img.alignleft {
padding: 4px;
margin: 0 7px 2px 0;
display: inline;
}

.alignright {
float: right;
}

.alignleft {
float: left
}
/* End Images */



/* Begin Calendar */
#wp-calendar {
empty-cells: show;
margin: 10px auto 0;
width: 98%;
}

#wp-calendar #next a {
padding-right: 10px;
text-align: right;
}

#wp-calendar #prev a {
padding-left: 10px;
text-align: left;
}

#wp-calendar a {
display: block;
}

#wp-calendar caption {
text-align: center;
width: 100%;
}

#wp-calendar td {
padding: 3px 0;
text-align: center;
}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
background-color: #9933CC;
color: red; !important; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
cursor: help;
}

acronym, abbr {
border-bottom: 1px dashed #999;
}

blockquote {
margin: 15px 30px 10px 10px;
padding-left: 30px;
padding-bottom:4px;
background:url(images/blockquote_bg.gif) repeat-y;
}

blockquote blockquote{
background:url(images/blockquote_bg2.gif) repeat-y;
}

blockquote cite {
margin: 5px 0 0;
display: block;
}

.center {
text-align: center;
}

hr {
display: none;
}

a img {
border: none;
}

.navigation {
display: block;
text-align: center;
margin-top: 10px;
margin-bottom: 60px;
font-weight:bold;
clear:both;
}
/* End Various Tags & Classes*/

/* Begin Lists

Special stylized non-IE bullets
Do not work in Internet Explorer, which merely default to normal bullets. */

.entry ul {
margin: 0 10px 15px 0;
list-style: none;
padding:10px 15px 10px 30px;
background:#fefbfa;
border:1px solid #f7f0ee;
}

.entry ul li {
padding-bottom:4px;
padding-top:3px;
border-bottom:1px solid #f7f0ee;
}

.entry ul li:before{
content: url(images/entry_before.gif);
}

.entry ol {
margin: 0 10px 15px 0;
padding:10px 15px 10px 40px;
background:#fefbfa;
border:1px solid #f7f0ee;
}

.entry ol li {
margin: 0;
padding: 0;
padding-bottom:4px;
padding-top:3px;
border-bottom:1px solid #f7f0ee;
}

.postmetadata ul, .postmetadata li {
display: inline;
list-style-type: none;
list-style-image: none;
}

ol li{
list-style: decimal outside;
}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
margin: 10px auto;
padding: 5px 3px;
text-align: center;
}

#sidebar #searchform #s {
width: 108px;
padding: 2px;
}

#sidebar #searchsubmit {
padding: 1px;
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
text-align:left;
}

select {
width: 130px;
}

#commentform{
width:400px;
}

#commentform input {
width: 170px;
padding: 2px;
margin: 5px 5px 1px 0;
}

#commentform textarea {
width: 350px;
padding: 2px;
}

#commentform #submit {
margin: 0;
width:65px;
height:25px;
}
/* End Form Elements */



/* Begin Comments*/

h2#comment_title{
font-size:24px;
color:#3d3d3d;
font-weight:normal;
margin-left:35px;
margin-bottom:15px;
}

.alt {
margin: 0;
}

.commentlist {
padding: 0px;
text-align: justify;
margin-left:30px;
}

.comm_items {
margin: 15px 0 5px;
display:block;
border:1px solid #f4e7e4;
background:#fdf8f7 url(images/comm_items_bg.gif) repeat-x bottom;
}

.comm_items li {
margin: 0;
padding: 5px 10px 5px;
background:none;
border:0;
list-style:none;
}

.commentlist p {
margin: 10px 5px 10px 0;
line-height:18px;
}

#commentform p {
margin: 5px 0;
}

.nocomments {
text-align: center;
margin: 0;
padding: 0;
}

.commentmetadata {
display: block;
color:#591c32;
text-transform:capitalize;
font-size:17px;
margin:15px 20px 5px 20px;
padding-bottom:10px;
}

.commentmetadata a{
color:#591c32;
}

.commentmetadata span{
color:#000000;
}

.commentmetadata_text{
margin:15px 20px 5px 25px;
color:#534741;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
}

.commentmetadata_end{
color:#000000;
background:url(images/dotted_red2.gif) repeat-x;
padding:12px 0 8px 0;
margin:15px 20px 5px 20px;
font-size:12px;
text-align:right;
}

.commentmetadata_end a{
color:#815060;
}

.commentmetadata_end span{
color:#815060;
}

#respond_box{
margin:10px 0 0 10px;
padding-bottom:60px;
width:618px;
}

h3#respond{
font-size:24px;
color:#591c32;
font-weight:normal;
padding-bottom:10px;
border-bottom:1px solid #5b1e34;
}

#commentform{
color:#000000;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
padding:18px 10px 0 55px;
background:url(images/pentry_bg.gif) repeat-x;
width:553px;
}

#commentform a{
color:#000000;
}

#commentform label{
position:relative;
top:-5px;
}

#commentform input{
background:#ffffff;
border:3px #e4cfcb solid;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
padding:3px;
color:#828587;
}

#commentform textarea{
background:#ffffff;
border:3px #e4cfcb solid;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
padding:3px;
color:#828587;
}

#commentform input#submit{
background:none;
border:0px;
}

/* End Comments */

/* Archives page */
.page_archives_div{
padding-bottom:60px;
width:95%;
}

.ar_panel{
}

.ar_panel3{
}

.page_archives_div h2{
font-size:24px;
color:#3d3d3d;
font-weight:normal;
padding-bottom:10px;
border-bottom:1px solid #5b1e34;
}

.ar_panel3 h2{
padding-top:5px !important;
}

.ar_panel3 ul{
margin-left:0px !important;
}

.page_archives_div ul h2{
}

.page_archives_div ul{
margin:0px;
padding:0px;
margin-bottom:40px;
padding:8px 10px 0 10px;
background:url(images/pentry_bg.gif) repeat-x;
width:96.7%;
}

.page_archives_div ul ul{
padding:0;
background:none;
}

.page_archives_div ul li{
margin:0px;
padding:4px 0 6px 10px;
list-style:none;
background:none;
border-bottom:1px solid #f3dbd4;
}

.page_archives_div ul li ul li{
border:0px;
background:none;
}

.page_archives_div ul li ul{
margin:0px;
padding:0px;
padding-left:10px;
}

.page_archives_div ul li a{
font-weight:normal;
color:#3d3d3d;
font-size:12px;
background:url(images/page_archives_div_a.gif) no-repeat left 5px;
padding-left:10px;
}
/* begin Box, Sheet */
.art-sheet
{
  position: relative;
  margin: 0 auto;
  min-width: 53px;
  min-height: 53px;
}

.art-sheet-body
{
  position: relative;
  padding: 9px;
}

.art-sheet-tr, .art-sheet-tl, .art-sheet-br, .art-sheet-bl, .art-sheet-tc, .art-sheet-bc,.art-sheet-cr, .art-sheet-cl
{
  position: absolute;
}

.art-sheet-tr, .art-sheet-tl, .art-sheet-br, .art-sheet-bl
{
  width: 72px;
  height: 72px;
  background-image: url('images/sheet_s.png');
}

.art-sheet-tl
{
  top: 0;
  left: 0;
  clip: rect(auto, 36px, 36px, auto);
}

.art-sheet-tr
{
  top: 0;
  right: 0;
  clip: rect(auto, auto, 36px, 36px);
}

.art-sheet-bl
{
  bottom: 0;
  left: 0;
  clip: rect(36px, 36px, auto, auto);
}

.art-sheet-br
{
  bottom: 0;
  right: 0;
  clip: rect(36px, auto, auto, 36px);
}

.art-sheet-tc, .art-sheet-bc
{
  left: 36px;
  right: 36px;
  height: 72px;
  background-image: url('images/sheet_h.png');
}

.art-sheet-tc
{
  top: 0;
  clip: rect(auto, auto, 36px, auto);
}

.art-sheet-bc
{
  bottom: 0;
  clip: rect(36px, auto, auto, auto);
}

.art-sheet-cr, .art-sheet-cl
{
  top: 36px;
  bottom: 36px;
  width: 72px;
  background-image: url('images/sheet_v.png');
}

.art-sheet-cr
{
  right: 0;
  clip: rect(auto, auto, auto, 36px);
}

.art-sheet-cl
{
  left: 0;
  clip: rect(auto, 36px, auto, auto);
}

.art-sheet-cc
{
  position: absolute;
  top: 36px;
  left: 36px;
  right: 36px;
  bottom: 36px;
  background-image: url('images/sheet_c.png');
}

.art-sheet
{
  top: 75px !important;
  margin-bottom: 75px !important;
  cursor:auto;
  width: 80%;
}


/* end Box, Sheet */




ผมลองใส่  b{ font-weight:normal;}  แต่มันไม่ได้ในส่วนของ Post Content ครับ มันได้ในส่วนอื่นแทนครับ

บันทึกการเข้า

*~NoName@xaou~*
หัวหน้าแก๊งเสียว
*

พลังน้ำใจ: 99
ออฟไลน์ ออฟไลน์

กระทู้: 1,034



ดูรายละเอียด
« ตอบ #1 เมื่อ: 06 เมษายน 2011, 18:31:06 »

ดันหน่อยนะครับ
บันทึกการเข้า

Nopzixcros
Verified Seller
หัวหน้าแก๊งเสียว
*

พลังน้ำใจ: 158
ออฟไลน์ ออฟไลน์

กระทู้: 2,066



ดูรายละเอียด
« ตอบ #2 เมื่อ: 06 เมษายน 2011, 18:43:48 »

หาไม่เจอแฮะ
« แก้ไขครั้งสุดท้าย: 06 เมษายน 2011, 18:48:07 โดย Nopzixcros » บันทึกการเข้า
gigkokman
ก๊วนเสียว
*

พลังน้ำใจ: 19
ออฟไลน์ ออฟไลน์

กระทู้: 435



ดูรายละเอียด
« ตอบ #3 เมื่อ: 06 เมษายน 2011, 19:18:29 »

ลองเพิ่ม
โค๊ด:
font-weight:normal;
ที่บรรทัด 340 ดูครับ
โค๊ด:
.entry{...;font-weight:normal;}
บันทึกการเข้า

ลิขิตฟ้าหรือจะสู้มานะคน
หน้า: [1]   ขึ้นบน
พิมพ์