-
این css کد رو پیدا کردم و میخوام تو یه خط باشه داده هام کجاشو باید تقییر بدم؟
کد:
* { margin:0; padding:0;}
h1 { font-size: 18px; font-weight:normal; line-height:32px; }
h2 { font-size: 16px; font-weight:normal; line-height:28px; }
h3 { font-size: 14px; font-weight:normal; line-height:22px; }
h4 { font-size: 8px; font-weight:normal; }
h5, h6 { font-size: 100%; font-weight:normal; text-transform:uppercase }
img { border: 0; }
#logo img { display:block;}
ul li { list-style-type:none; }
.invalid { color:#F00 !important}
.comcontent ul, .comcontent ol { margin-left:20px; margin-bottom:10px;}
.comcontent ul li { list-style-type:disc}
.in_item { position:relative}
/* COLUMN
---------------------------------------------------------------*/
.box { float:left}
.module-null { background:none !important; border:0}
.module-null .contentmod { margin:0; padding:0; border:0}
span.hasTip img { width:auto !important; height:auto !important}
.left { float:left; margin-right:10px;}
.right { float: right; margin-left:10px;}
/* ARTICLE CONTENT
---------------------------------------------------------------*/
.cols-1 { }
.cols-2 .item { width:50%; float:left;}
.cols-2 .column-1 .in_column { margin-right:10px;}
.cols-2 .column-2 .in_column { margin-left:10px;}
.cols-3 .item { float:left; width:33%; }
.cols-3 .column-2 { margin-left:0.5%;}
.cols-3 .column-3 { float:right; }
.cols-3 .column-1 .in_column { margin-right:10px;}
.cols-3 .column-2 .in_column { margin:0 5px;}
.cols-3 .column-3 .in_column { margin-left:10px;}
.cols-4 .item { float:left; width:25%; }
.cols-4 .column-1 .in_column { margin-right:10px;}
.cols-4 .column-2 .in_column,
.cols-4 .column-3 .in_column { margin:0 5px;}
.cols-4 .column-4 .in_column { margin-left:10px;}
.cols-5 .item { float:left; width:20%; }
.cols-5 .column-1 .in_column { margin-right:10px;}
.cols-5 .column-2 .in_column,
.cols-5 .column-3 .in_column,
.cols-5 .column-4 .in_column { margin:0 5px;}
.cols-5 .column-5 .in_column { margin-left:10px;}
.cat-children ul { margin:0}
.cat-children ul li { list-style-type:none;}
/* ADMIN EDIT
---------------------------------------------------------------*/
.button2-left {background:url(../images/buttonadmin.png) top left repeat-x; color:#fff; font-size:11px; line-height: 22px; float:left; padding:0 5px; margin:7px 5px 0 0;}
.button2-left div {background:url(../images/buttonadmin.png) no-repeat;}
.button2-left div.image { background-position:100% -22px; padding-right:24px;}
.button2-left div.article { background-position:100% -22px; padding-right:24px;}
.button2-left div.pagebreak { background-position:100% -44px; padding-right:24px;}
.button2-left div.readmore { background-position:100% -66px; padding-right:24px;}
.button2-left a { color:#fff;}
div.button {background-position:100% -22px; padding-right:5px; float:left; }
div.button button {background-position:0 0; border:none; padding:4px 0 3px 5px;}
form.editor div.button {margin:5px 5px 0 0;}
form.editor .btn {margin-left:29px;}
fieldset.publishing .radio label {width:auto; float:none;}
fieldset.publishing label,fieldset.publishing .radio .label1, .formelm label {width:120px; float:left;}
fieldset.publishing input.inputbox {width:280px;}
fieldset.publishing select.inputbox {width:285px;}
.metadata .inputbox { width:99% !important; margin-bottom:10px;}
.formelm-area, .formelm { margin-bottom:10px;}
.formelm-area .inputbox { width:99%;}
.tool-title, .tip-title { font-weight:bold}
.formelm label { width:auto; margin-right:10px;}
/* ARTICLE CONTENT
---------------------------------------------------------------*/
.article-info, .cat-items, .cat-children, h1, h2, h3, h4, h5, p, .searchintro, .results h2, .jv-sbinner .jv-module, .jv-vmenu, .items-leading,
.items-row, .items-more, .category-desc { margin-bottom:10px;}
ul.actions { position:absolute; top:0; right:0; margin:0 !important;}
ul.actions li { display:inline;}
.article-info { font-size:92%; font-style:italic; color:#666; border-bottom:1px dotted #666; line-height:20px; }
.createdby, .createdate { padding-right:10px;}
.createdby li { display:inline;}
.items-more li { display:inline;}
.items-more ul { padding-left:20px;}
.items-more ul li { list-style-type:decimal}
.items-more li { display:inline;}
div.pagination { border-top:1px solid #ddd; padding:10px 0; display:inline;}
div.pagination .counter { font-weight:bold;float:right; display:inline;}
div.pagination .pagination span, div.pagination .pagination strong, div.pagination .pagination a { margin:0 3px; display:inline;}
.pagenav { padding:10px 0}
.pagenav li { display:inline; margin-right:20px;}
/* end content default */
.items-row .in_column { overflow:hidden;}
/*results*/
.searchintro, .results h2 { margin-bottom:10px; }
.results .list li { border-bottom:1px dotted #999; margin-bottom:10px; padding-bottom:10px;}
.search_result fieldset { padding:10px; margin-bottom:10px;}
/*Create account*/
fieldset{ padding:20px; margin-bottom:10px}
.contact_email, .contact p, .contact_email_checkbox { margin-bottom:10px; }
.contact_email label { width: 150px; float:left; }
/*Forget Pass*/
form.editor fieldset {border:1px solid #ccc; padding:10px; margin-bottom:10px;}
form.editor fieldset legend {font-weight:bold; padding:0 5px;}
.form-fields { margin-bottom:10px; overflow:hidden}
.form-fields label { float:left; width:160px;}
.form-fields input{ width:200px;}
.login-form-fields label, #contact-form .form-fields label { width:100px;}
#jform_spacer-lbl { float:none}
.tool-tip, .tip-wrap {background: #FFF; padding: 10px; border: 1px solid #ccc;}
.module_badge { position:relative}
#jv-breadcrumb .jv-inner { padding:10px; color:#666}
#jv-breadcrumb .breadcrumbs a, #jv-breadcrumb .breadcrumbs span { float:left; margin-right:5px;}
#jv-breadcrumb .breadcrumbs a { background:url(../images/pathway.png) no-repeat right center ; padding-right:10px; }
/* MOBILES
-------------------------------------------------------------*/
.switch_version .pda { background:url(../images/iphone/pda_resize.png) ; height:29px; width:29px; float:left; margin:5px 0 0 5px; position:relative; z-index:9999; }
/* Clearfix
-------------------------------------------------------------*/
* html .clearfix { height: 1%;}
* +html .clearfix { display: inline-block; } /* IE7xhtml*/
html[xmlns] .clearfix { /* O */ display: block; }
.clearfix:after { /* FF, O, etc. */ content: "."; display: block; height: 0; clear: both; visibility: hidden;}
ویرایش توسط armandelta2002 : 02-21-2012 در ساعت 06:20 AM
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
-
-
02-21-2012 06:06 AM
# ADS
تبلیغات در جوملا فارسی
-
سلام
احتمالاً قالب شما خاصيت لغو كنندگي داره
تمام تغييراتي رو كه ايجاد كرديد به حالت اول برگردونيد.
فريم ورك قالبتون رو هم بگيد. فريم ورك ها هر كدوم يهروشي براي لغو كردن دارند.
اما دستور كليش بهاين صورته كه پوشه اي به نام html توي قالبتون بسازيد و اسمش رو بذاريد com_content
حالا توي اين پوشه مي تونيد 5 حالت نمايشي براي مطالبتون قرار بديد(جوملا 1.5 فقط 4 حالت داشت):
article
featured
archive
category
categories
به ترتيب:
1)وضعيت نمايش مطلب رو تغيير ميده
2)نحوه نمايش مطالب صفحه ي اول رو تغييرميده
3)نحوه نمايش آرشيو يا بايگاني رو نمايش ميده
4 و 5) نحوه ي نمايش مجموعه و مجموعه ها رو نمايش ميده
توجه داشته باشيد كه الزامي با بودن هر 5 حالت نيست
اگر چنين پوشه اي توي قالبتون هست بايد فايل هاي اون روتغيير بديد.
عموماً يك فايل php به نام default.php هستش كه بايد تغيرش بديد.
موفق باشيد
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
-
علاقه مندی ها (Bookmarks)