:: GPStt.com ::

หมวด บอร์ดทั่วไป
=> สารพันความรู้ - เทคโนโลยี => ข้อความที่เริ่มโดย: ลุงเปี๊ยก ที-เน็ตเวิร์ค (อ.สากเหล็ก) ที่ 11 พฤษภาคม 2557, เวลา 23:48:31 น.

หัวข้อ: smf การย้ายโลโก้มาอยู่ตรงกลาง
เริ่มหัวข้อโดย: ลุงเปี๊ยก ที-เน็ตเวิร์ค (อ.สากเหล็ก) ที่ 11 พฤษภาคม 2557, เวลา 23:48:31 น.
[attach=1]
smf การย้ายโลโก้มาอยู่ตรงกลาง
ทำการแก้ไขที่เว็บ http://www.e20aa.com

ที่มาข้อมูล... เว็บสิงห์รถบรรทุก (http://www.สิงห์รถบรรทุก.com/smf/t801)


การแก้ไข
เข้าไปที่...
./ 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 รูปโลโก้::

(http://www.gpsteawthai.com/Themes/image-board-smf/katoo-1539_01.JPG)



นี่คือโลโก้ก่อนทำการปรับโค้ด

(http://www.gpsteawthai.com/Themes/image-board-smf/katoo-1539_02.JPG)



โลโก้ หลังจากทำการปรับโค้ด จะเห็นว่าอยู่ตรงกลาง สวยงาม

(http://www.gpsteawthai.com/Themes/image-board-smf/katoo-1539_03.JPG)