TechnoSparks
Arifmtp ya seperti yang dikatakan johntxt, paste kod itu ke dalam
global_stylesheet
tapi kalau di dalam
global_stylesheet kamu perlu tambah
!important. Ini kerana
xtgem_template mempunyai kepentingan yang lebih tinggi. Apabila ditambahnya
!important, maka ia jadi lebih tinggi kepentingannya
kamu juga boleh guna kod CSS di atas di dalam _headtags, asalkan kamu letakkan nya di antara
<style></style>
kamu juga boleh tambah
max-width: 700px; ke dalam xtgem_template, tapi kamu pasti akan terpaksa buang mana-mana max-width yang sebelumnya.
Graham
also you need to go to the site options and switch "Auto-include xtgems javascript wrapper" to "No"
TechnoSparks
Arifmtp Ikut suka kamu sahaja
kamu ada hak untuk ubahnya dalam apa jua bentuk, %, em, pt dan lain lain.
Maafkan saya pada posting tadi, saya tertulis _header sedangkan sepatutnya _headtags
Graham
Also if you are using xtgem_template.css Xtgem automatically adds an extra class to the <body> when viewed on web devices
xt_touch
so
body {max-width:700px!important} will apply to all devices
.xt_touch {max-width:1000px!important} will apply to web devices
Other classes can be set by reference
.my_class {border 1px solid red} will apply to all devices
.xt_touch .my_class {border 1px solid green} will apply to web devices
Graham
Arifmtp "Auto-include xtgems javascript wrapper" does the xt_touch class and also limits the body width to 400px
if you switch to No the width limit is not set
new sites have it switched to "No" by default