1 مرفق
المساعدة فى تغيير نوع الخط للأقسام الفرعية (يوجد صورة للتوضيح)
السلام عليكم إخوانى .. برجاء المساعدة فى تغيير نوع الخط للأقسام الفرعية برئيسية المنتدى حيث أنى حاولت التغيير من خلال :
لوحه التحكم / الإستايلات والقوالب / التحكم بالإستايلات / اختر الاستايل التى تريد التغيير به
css رئيسى / <td>, <th>, <p>, <li>
وأيضا التعديل على قالب : forumhome_subforumbit_pos t
وأيضا غير مركب هاك الأقسام الفرعية
فأعتقد أن التعديل على ملفhttp://thai-trips.net/newboard/thai-style/css/mains.css
كود PHP:
body{ background:#d2edee url(../images/bodyVb.jpg) no-repeat center center fixed;
background-size:cover;
-webkit-background-size:cover;
-moz-background-size: cover;
-o-background-size: cover;
}
.header-bg{
background:url(../images/header-bgvb.png) repeat-x;
width:100%;
height:400px;
display:block;
}
.header-center{
width:1000px;
height:400px;
margin:0 auto;
}
.header-right{
float:right;
display:block;
margin-left:20px;
width:270px;
}
.header-left{
float:left;
display:block;
width:700px;
}
.header-right a{
background:url(../images/logovb.png) no-repeat;
width:270px;
height:269px;
display:block;
}
.header-top{
display:block;
height:42px;
}
.header-top1{
float:right;
display:block;
margin-left:40px;
}
.header-top2{
float:right;
display:block;
padding-left:40px;
width:289px;
}
.header-top3{
float:right;
display:block;
width:136px;
}
.header-top1{
background:url(../images/icon1v.png) no-repeat right;
font:12pt/42px arial;
color:#efd773;
display:block;
height:42px;
padding-right:45px;
}
.header-top2 form{
background:url(../images/search.png) no-repeat 0 -2px;
width:289px;
height:42px;
display:block;
}
.header-top2 input{
background:none;
border:none;
float:right;
display:block;
width:215px;
margin:12px 15px 0px 0px;
font:13px ges;
color:#fff;
}
.header-top2 input.submit{
width:20px;
float:right;
display:block;
cursor:pointer;
}
.hF1{
background:url(../images/follow.png) no-repeat -96px -0px;
width:30px;
height:35px;
display:block;
float:right;
margin-left:4px;
}
.hF1 span.hover{
background:url(../images/followh.png) no-repeat -96px -0px;
width:30px;
height:35px;
display:block;
float:right;
margin-left:4px;
}
.hF2{
background:url(../images/follow.png) no-repeat -65px -0px;
width:30px;
height:35px;
display:block;
float:right;
margin-left:4px;
}
.hF2 span.hover{
background:url(../images/followh.png) no-repeat -65px -0px;
width:30px;
height:35px;
display:block;
float:right;
margin-left:4px;
}
.hF3{
background:url(../images/follow.png) no-repeat -33px -0px;
width:30px;
height:35px;
display:block;
float:right;
margin-left:4px;
}
.hF3 span.hover{
background:url(../images/followh.png) no-repeat -33px -0px;
width:30px;
height:35px;
display:block;
float:right;
margin-left:4px;
}
.hF4{
background:url(../images/follow.png) no-repeat -0px -0px;
width:30px;
height:35px;
display:block;
float:right;
margin-left:4px;
}
.hF4 span.hover{
background:url(../images/followh.png) no-repeat -0px -0px;
width:30px;
height:35px;
display:block;
float:right;
margin-left:4px;
}
.header-bottom{
display:block;
height:47px;
margin-top:10px;
}
.header-bottom a{
float:right;
display:block;
height:30px;
padding:0 10px;
font:13px/30px ges;
color:#fff;
text-align:center;
border-left:1px solid #d64367;
}
.header-bottom a:hover{
background-color:#d93c62;
}
.slider-bg{
display:block;
margin:20px auto 0;
}
#slides {
width:700px;
height:280px;
z-index:11;
position: relative;
}
.slides_container {
width:700px;
height:280px;
overflow:hidden;
position:relative;
display:none;
}
.slides_container > div {
width:700px !important;
height:280px !important;
}
#slides .slide {
display:block;
}
.slider-float{
width:640px;
height:220px;
display:block;
background:rgba(34, 34, 34, 0.7);
padding:20px;
float:left;
border:10px solid rgba(255, 255, 255, 0.7);
border-radius:10px;
-webkit-border-radius:10px;
}
.slider-img{
width:330px;
height:200px;
display:block;
float:right;
margin-left:10px;
}
.slider-left{
float:left;
display:block;
width:300px;
}
.slider-img img{
width:310px;
height:180px;
border-radius:0 25px 0 25px;
border:10px solid #fff;
-webkit-transition: all 0.5s ease-in;
-moz-transition: all 0.5s ease-in;
-ms-transition: all 0.5s ease-in;
-o-transition: all 0.5s ease-in;
transition: all 0.5s ease-in;
}
.slider-img img:hover{
border-radius:0;
-webkit-transition: all 0.5s ease-in;
-moz-transition: all 0.5s ease-in;
-ms-transition: all 0.5s ease-in;
-o-transition: all 0.5s ease-in;
transition: all 0.5s ease-in;
}
.slider-price{
background:url(../images/slider-price2.png) no-repeat;
width:59px;
height:64px;
float:left;
display:block;
position:relative;
margin:-192px 0px 0px 20px;
}
.slider-pricea{
font:bold 14pt arial;
color:#fff;
text-align:center;
margin-top:12px;
}
.slider-priceb{
font:10pt ges;
color:#fff;
text-align:center;
}
.slider-title{
font:14px ges;
margin-bottom:10px;
}
.slider-text{
font:13px/1.5em ges;
color:#fff;
}
.slider-title a{
color:#c4e462;
}
.slider-title a:hover{
color:#fff;
}
.slider-arrow{
width: 100px;
height: 40px;
}
.slider-arrowP{
background:url(../images/slider-arrow.png) no-repeat right;
width:50px;
height:40px;
float:right;
}
.slider-arrowN{
background:url(../images/slider-arrow.png) no-repeat left;
width:50px;
height:40px;
float:left;
}
.footer-bg a{
color:#fff;
}
.footer-bg a:hover{
text-decoration:underline;
}
.footer-bg{
background:url(../images/footer-bg.gif) repeat-x bottom;
width:100%;
height:62px;
border-bottom:10px solid #d64367;
}
.footer-center{
width:1000px;
height:62px;
margin:0 auto;
display:block;
}
.footer-left{
font:13px ges;
color:#fff;
float:left;
display:block;
width:770px;
text-align:left;
margin-top:5px;
}
.footer-right{
font:14px/62px ges;
color:#fff;
width:220px;
height:63px;
float:right;
background:url(../images/footer-copy.png) no-repeat center;
}
.content-bg{
width:1000px;
overflow:hidden;
display:block;
background:url(../images/content-leftVb.png) repeat-y right;
}
.content-right{
width:236px;
float:right;
display:block;
padding:20px 17px 0px 17px;
}
.content-left{
width:720px;
float:left;
display:block;
padding-bottom:50px;
}
.content-member{
background:url(../images/content-member.png) no-repeat top;
width:236px;
height:190px;
display:block;
}
.content-member input.texxt,.content-member input.pass{
width:145px;
height:25px;
display:block;
font:13px ges;
color:#444;
background:none;
border:none;
margin:0px 53px 0px 0px;
}
.content-member input.pass{
margin:12px 53px 0px 0px;
}
.content-member input.submit{
width:148px;
height:44px;
display:block;
background:none;
border:none;
cursor:pointer;
padding:8px 0 0 0;
margin:0 58px 46px 0;
}
.contentright-line{
background:url(../images/contenleft-line.png) repeat-x;
width:220px;
height:5px;
margin:10px auto;
display:block;
}
.content-hoteldes-bg{
width:235px;
margin-bottom:15px;
display:block;
}
.content-hoteldes-img{
width:235px;
height:120px;
background:url(../images/hoteldes-shadow.png) no-repeat bottom;
border-radius:4px;
-webkit-border-radius:4px;
}
.content-hoteldes-img img{
width:227px;
height:100px;
border:4px solid #fff;
border-radius:4px;
-webkit-border-radius:4px;
-webkit-transition: all 0.5s ease-in;
transition: all 0.5s ease-in;
}
.content-hoteldes-img img:hover{
border:4px solid #444;
border-radius:10px;
-webkit-border-radius:10px;
-webkit-transition: all 0.5s ease-in;
transition: all 0.5s ease-in;
}
.content-hoteldes-price{
background:url(../images/slider-price2.png) no-repeat;
width:59px;
height:64px;
float:left;
display:block;
position:relative;
margin:-107px 0px 0px 15px;
}
.content-hoteldes-pricea{
font:bold 13pt arial;
color:#fff;
text-align:center;
margin:11px 0 0 0;
padding:0;
}
.content-hoteldes-priceb{
font:10pt ges;
color:#fff;
text-align:center;
margin:0;
padding:0;
}
.content-hoteldes-period p{
padding:0;
margin:0;
}
.content-hoteldes-period{
float:right;
padding:10px 40px;
display:block;
position:relative;
margin:-42px 4px 0px 0px;
font:13px ges;
color:#fff;
background:rgba(0, 0, 0, 0.57);
border-radius:35px 0px 0px 0px;
-webkit-border-radius:35px 0px 0px 0px;
}
.content-hoteldes-des1{
background:url(../images/hoteldes1.gif) no-repeat;
width:235px;
height:73px;
display:block;
}
.content-hoteldes-desT{
font:14px/40px ges;
color:#fff;
text-align:center;
height:40px;
display:block;
}
.content-hoteldes-desT a{
color:#fff;
}
.content-hoteldes-desT a:hover{
color:#333;
}
.content-hoteldes-desB{
height:33px;
width:235px;
display:block;
background:#3e3e3e;
}
.content-hoteldes-desB1{
float:right;
width:235px;
height:33px;
display:block;
background:url(../images/icon6.png) no-repeat center;
}
.content-right-titlee{
background:url(../images/contentleft-title.png) no-repeat;
width:214px;
height:28px;
margin:10px auto;
display:block;
font:13px/28px ges;
color:#fff;
text-align:center;
}
.contact-bg{
width:214px;
height:307px;
display:block;
margin:0 auto;
}
.contact-des{
width:214px;
height:230px;
display:block;
}
.contact-des1,.contact-des2{
width:214px;
height:25px;
margin:0 auto;
display:block;
background-color:#cdebec;
border-radius:6px;
-webkit-border-radius:6px;
margin-bottom:5px;
}
.contact-desR{
float:right;
font:13px/25px ges;
padding-right:20px;
color:#444;
}
.contact-desL{
float:left;
font:11pt/25px arial;
padding-left:20px;
color:#d64367;
}
.form-new-bg{
display:block;
overflow:hidden;
background:#fff;
padding:5px;
border:1px solid #e3e3e3;
border-radius:6px;
-webkit-border-radius:6px;
}
.form-new-right{
float:right;
display:block;
text-align:right;
font:13px ges;
width:340px;
}
.form-new-right a{
font:14px ges;
}
.form-new-right-img{
float:right;
display:block;
margin-left:10px;
}
.form-new-right-img img{
border:4px solid #f4f1f2;
border-radius:6px;
-webkit-border-radius:6px;
}
.form-new-left{
float:left;
display:block;
background:#d4ecfc;
border-radius:6px;
-webkit-border-radius:6px;
padding:10px;
width:250px;
font: 11px ges !important;
font-weight: normal !important;
}
.form-new-leftR{
float:right;
display:block;
width:110px;
color:#1A49D1;
}
.form-new-leftL{
float:left;
display:block;
}
.form-new-leftL span{
display:block;
background:#fff;
border:1px solid #e3e3e3;
border-radius:6px;
-webkit-border-radius:6px;
padding:5px;
width:110px;
text-align:center;
font:13px ges;
margin-bottom:5px;
}
.time-data{
font:bold 10pt tahoma;
color:#d24566;
}
.form-bottom{
background:url(../images/form-bgg.gif) repeat-x;
border-radius:0 0 10px 10px;
height:24px;
display:block;
box-shadow:0px 6px 10px 0px #80a7b2;
-webkit-box-shadow:0px 6px 10px 0px #80a7b2;
margin-bottom:20px;
}
وأيضا كود قالب : forumhome_subforumbit_pos t
كود PHP:
<tr align="center"> <td>
<div class="form-new-bg">
<div class="form-new-right-img">
<img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" />
</div>
<div class="form-new-right">
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<br>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']">
<div class="smallfont" style="margin-top:$stylevar[cellpadding]px">
<strong>$vbphrase[subforums]</strong>: $forum[subforums]
</div>
</if>
</div>
<div class="form-new-left">
<div class="form-new-leftR" align="right"><b><font face="Tahoma">$forum[lastpostinfo]</font></b></div>
<div class="form-new-leftL">
<span><b><font face="Arial">مواضيع</font></b> :
<font face="Arial"><b>$forum[threadcount]</b></font></span>
<span> <b><font face="Arial">مشاركات</font></b> : <b>
<font face="Arial">$forum[replycount]</font></b></span>
</div>
</div>
</div>
</td>
</tr>
$childforumbits
رد: المساعدة فى تغيير نوع الخط للأقسام الفرعية (يوجد صورة للتوضيح)
وعليكم السلام ورحمة الله وبركاته
قبل اي تعديل اخذ نسخة احتياطية من الملف
اذهب الى ملف السي اس اس css
newboard/thai-style/css/mains.css
ابحث عن
كود PHP:
}
.form-new-right a{
font:14px ges;
}
استبدلة بـ
كود PHP:
}
.form-new-right a{
font:14px ges;
font-family: arial;
}
هذا سيغير الخط لجميع الاقسام
واستبدل نوع الخط arial باي نوع خط تريده
رد: المساعدة فى تغيير نوع الخط للأقسام الفرعية (يوجد صورة للتوضيح)
اقتباس:
المشاركة الأصلية كتبت بواسطة حبيب المودة
وعليكم السلام ورحمة الله وبركاته
قبل اي تعديل اخذ نسخة احتياطية من الملف
اذهب الى ملف السي اس اس css
newboard/thai-style/css/mains.css
ابحث عن
كود PHP:
}
.form-new-right a{
font:14px ges;
}
استبدلة بـ
كود PHP:
}
.form-new-right a{
font:14px ges;
font-family: arial;
}
هذا سيغير الخط لجميع الاقسام
واستبدل نوع الخط arial باي نوع خط تريده
مشكور أخى العزيز .. لكن المطلوب طال عمرك فقط الأقسام الفرعيه وليس جميع الأقسام .
رد: المساعدة فى تغيير نوع الخط للأقسام الفرعية (يوجد صورة للتوضيح)
اذا تريد تريح بالك بحل نهائي
يوجد طريقة وحيده اعرفها لكن متعبه شوي
لازم تعدل على كل الاقسام ولكن التعديل راح يصير لمره واحده فقط وبعدين تقدر تغير الخط للجميع من المتغير اللي راح نعمله
ضيف هذا الكود في اخر ملف السي اس اس css
او ضيفه في نهاية تعاريف CSS الإضافية/Additional CSS Definitions
عن طريق التحكم بالستايلات ثم اختر CSS رئيسي
ستجدهاا في اخر الصفحة
كود PHP:
.submw {
color: green;
font-family: arial, sans-serif;
}
وراح تعدل على اسم المنتدى الفرعي
تضيف في الاول من على اليسار الكود
<span class="submw">
وفي اخر اسم القسم الفرعي من عل اليمين
</span>
بحيث يصبح اسم المنتدى الفرعي هكذا
كود PHP:
<span class="submw">اسم القسم الفرعي هنا</span>
تستطيع تغير اللون بتغير كلمة green لاي لون تريد
رد: المساعدة فى تغيير نوع الخط للأقسام الفرعية (يوجد صورة للتوضيح)
اقتباس:
المشاركة الأصلية كتبت بواسطة حبيب المودة
اذا تريد تريح بالك بحل نهائي
يوجد طريقة وحيده اعرفها لكن متعبه شوي
لازم تعدل على كل الاقسام ولكن التعديل راح يصير لمره واحده فقط وبعدين تقدر تغير الخط للجميع من المتغير اللي راح نعمله
ضيف هذا الكود في اخر ملف السي اس اس css
او ضيفه في نهاية تعاريف CSS الإضافية/Additional CSS Definitions
عن طريق التحكم بالستايلات ثم اختر CSS رئيسي
ستجدهاا في اخر الصفحة
كود PHP:
.submw {
color: green;
font-family: arial, sans-serif;
}
وراح تعدل على اسم المنتدى الفرعي
تضيف في الاول من على اليسار الكود
<span class="submw">
وفي اخر اسم القسم الفرعي من عل اليمين
</span>
بحيث يصبح اسم المنتدى الفرعي هكذا
كود PHP:
<span class="submw">اسم القسم الفرعي هنا</span>
تستطيع تغير اللون بتغير كلمة green لاي لون تريد
كل الشكر والتقدير لك أخى الفاضل .. تم التطبيق بنجاح بفضل الله وبفضلك .
تحياتى وتقديرى لشخصك الكريم
3 مرفق
رد: المساعدة فى تغيير نوع الخط للأقسام الفرعية (يوجد صورة للتوضيح)
السلام عليكم أخى العزيز .. إستفسار أخير طال عمرك واتمنى أن يوجد له حل بارك الله فى عمرك .
تم التطبيق تمام كما تفضلت على رئيسية المنتدى - لكن المشكلة حاليا عند الدخول إلى صفحة القسم الرئيسى إللى به الأقسام الفرعية وأيضا فى تفريعة النافبار يكون نفس نوع الخط ونفس اللون .
المطلوب بارك الله فيك أن تكون الأقسام الفرعية من داخل الأقسام الرئيسية وتفريعة النافبار كما كانت مسبقا مثلا (font:13px ges;) فهل يوجد كود css تعريفي للمطوب ؟
يوجد بالمرفق طال عمرك صور توضيحية .. وأاسف للإطالة مالنا غير المودة
رد: المساعدة فى تغيير نوع الخط للأقسام الفرعية (يوجد صورة للتوضيح)
تم الرد علىيك في الموضوع الجديد :)
mwadah.com/t187813/