smf การย้ายโลโก้มาอยู่ตรงกลาง
(1/1)
ลุงเปี๊ยก ที-เน็ตเวิร์ค (อ.สากเหล็ก):
smf การย้ายโลโก้มาอยู่ตรงกลางทำการแก้ไขที่เว็บ http://www.e20aa.com
ที่มาข้อมูล... เว็บสิงห์รถบรรทุก
การแก้ไข
เข้าไปที่...
./ Themes/ ธีมที่ใช้ /css /index.css
ค้นหาคำว่า...
--- โค๊ด: ---/* the main title, always stay at 45 pixels in height! */
h1.forumtitle
{
line-height: 45px;
font-size: 1.8em;
font-family: Geneva, verdana, sans-serif;
margin: 0;
padding: 0;
float: left;
}
/* float these items to the right */
#siteslogan, img#smflogo
{
margin: 0;
padding: 0;
float: right;
line-height: 3em;
}
h3, h4
{
padding-bottom: 3px;
}
/* the upshrink image needs some tweaking */
--- ปิดโค้ด ---
แล้วเอาโค้ดนี้ วางแทนที่
--- โค๊ด: ---/* the main title, always stay at 45 pixels in height! */
h1.forumtitle
{
line-height: 45px;
font-size: 1.8em;
font-family: Geneva, verdana, sans-serif;
margin: 0;
padding: 0;
float: center;
text-align: center;
}
/* float these items to the right */
#siteslogan, img#smflogo
{
margin: 0;
padding: 0;
float: right;
line-height: 3em;
}
h3, h4
{
padding-bottom: 3px;
}
/* the upshrink image needs some tweaking */
--- ปิดโค้ด ---
นำลิ้งค์โลโก้มาใส่ตรงนี้
ผู้ดูแลระบบ / ตั้งค่าธีมปัจจุบัน / URL รูปโลโก้::
นี่คือโลโก้ก่อนทำการปรับโค้ด
โลโก้ หลังจากทำการปรับโค้ด จะเห็นว่าอยู่ตรงกลาง สวยงาม
นำร่อง
[0] ดัชนีข้อความ
ไปที่เวอร์ชันเต็ม