اضافة فوتر لبلوجر مخصص لقوالب MEDIAN ui
السلام عليكم ، في هذا الدرس ، سأشارك كيفية تصميم تذييل مخصص في Median UI
Template. لقد دخلت قليلا في عالم ui فقلت لأنشر عليه بمجال بلوجر .
احيانا ، يتم توفير فوتر بسيط إلى حد ما بشكل افتراضي في قالب بلوجر Median UI.
التي لا يحبها الكثير من المستخدمين على الإطلاق. لهذا السبب نشارك طريقة حول
تصميم فوتر مخصص.
كيفية إضافة تذييل مخصص في Median UI v1.6:
الخطوة 1: - قم أولاً بتسجيل الدخول إلى حساب Blogger الخاص بك.
الخطوة 2: - ثم انقر فوق قائمة المظهر.
الخطوة الثالثة: - بعد ذلك اضغط على تحرير Html.
الخطوة 4: - ثم ابحث عن رمز Css الموضح أدناه.
footer{font-size:97%;line-height:1.8em; padding:30px 0; border-top:var(--fotL) solid var(--contentL); color:var(--fotT); background:var(--fotB)} .cdtIn{display:flex;align-items:baseline;justify-content:space-between; position:relative;width:calc(100% + 20px);left:-10px;right:-10px} .cdtIn >*{margin:0 10px} .cdtIn .HTML{overflow:hidden;white-space:nowrap;text-overflow:ellipsis} .footCdt{display:inline-flex} .footCdt .creator{opacity:0} .tTop svg{width:20px;height:20px;stroke:var(--fotT)} .toTop{display:flex;align-items:center; white-space:nowrap} .toTop::before{content:attr(data-text); opacity:.7;margin:0 5px} .toTopF{display:flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:50%;background:var(--linkB);position:fixed;bottom:20px;right:20px} .toTopF svg{stroke:#fffdfc;stroke-width:2}
الخطوة 5:استبدله بالكود التالي
footer{font-size:97%;line-height:1.8em; padding:30px 0; border-top:var(--fotL) solid var(--contentL); color:var(--fotT); background:var(--fotB)} .cdtIn{display:flex;align-items:baseline;justify-content:space-between; position:relative;width:calc(100% + 20px);left:-10px;right:-10px} .cdtIn >*{margin:0 10px} .cdtIn .HTML{overflow:hidden;text-overflow:ellipsis;width:91%} .footCdt{display:inline-flex;flex-direction:column;width:100%} .footCdt .creator{opacity:0} .tTop svg{width:20px;height:20px;stroke:var(--fotT)} .toTop{display:flex;align-items:center; white-space:nowrap} .toTop::before{content:attr(data-text); opacity:.7;margin:0 5px} .toTopF{display:flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:50%;background:var(--linkB);position:fixed;bottom:20px;right:20px} .toTopF svg{stroke:#fffdfc;stroke-width:2}
ثم ضف كود css التالي في مدونتك(ضعه فوق /*]]>*/</style>)
.footerContent{display:flex;margin-bottom:10px;}
.stmFooter-1{width:40%;margin-right:10px;}
.stmFooter-1 p{opacity:.8;font-size:12px;}
.stmFooter-1 .createBy{opacity:.8;}
.stmFooter-1 .footerName{font-size:23px;font-weight:700;}
.stmFooter-1 .footerName span{font-size:15px;font-weight:400;opacity:0.8;}
.stmFooter-1 .dmcaSample{font-size:9px;color:rgba(254,254,254,.6);border-radius:3px;overflow:hidden;line-height:30px;}
.stmFooter-1 .dmcaSample:before{content:'DMCA';padding:6px 10px;background-color:#2a2a2a;border-radius:4px 0 0 4px;}
.stmFooter-1 .dmcaSample:after{content:'Protected';color:#202442;padding:6px 10px;background-color:var(--linkC);border-radius:0 4px 4px 0;}
.stmFooter-1 .dmcaSample:hover{opacity:0.8;}
.stmFooter-2{width:60%;display:flex;}
.stmFooter-2 > *{width:33.333%;}
.stmFooter-2 ul{list-style:none;padding:0;}
.stmFooter-2 li{margin-bottom:10px;border-radius:3px;}
.stmFooter-2 li a{color:inherit;}
.stmFooter-2 li a:hover{color:var(--linkC);}
.drK .stmFooter-1 .dmcaSample:after{background:var(--darkU);}
.drK .stmFooter-2 li a{color:inherit;}
.drK .stmFooter-2 li a:hover{color:var(--darkU);}
@media screen and (max-width:640px){.footerContent{flex-direction:column;}.stmFooter-1{width:100%;margin-bottom:10px;margin-right:0;}.stmFooter-2{width:100%;}.cdtIn{flex-direction:column;align-items:flex-end;}}
الخطوة 7: - ثم ضع كود Html أدناه أسفل ملف <div class='footCdt'>.
<div class='footerContent'>
<div class='stmFooter-1'>
<div class='createBy'><i class='far fa-edit'/> Created By</div>
<h3 class='footerName'>YourName <span> .domain</span></h3>
<p>All Posts are Protected By <b>DMCA</b>.<br/>Reproduction in Any Form is Strictly Prohibited!</p>
<a class='dmca-badge' href='#' target='_blank' title='DMCA.com Protection Status'><span class='dmcaSample'/></a>
</div>
<div class='stmFooter-2'>
<div class='colMt-1'>
<h3 class='title'>Partner</h3>
<ul>
<li><a href='#' target='blank'><i class='fal fa-angle-double-right'/> Link 1</a></li>
<li><a href='#' target='blank'><i class='fal fa-angle-double-right'/> Link 2</a></li>
<li><a href='#' target='blank'><i class='fal fa-angle-double-right'/> Link 3</a></li>
</ul>
</div>
<div class='colMt-2'>
<h3 class='title'>Contact</h3>
<ul>
<li><a href='#' target='blank'><i class='fal fa-angle-double-right'/> Link 1</a></li>
<li><a href='#' target='blank'><i class='fal fa-angle-double-right'/> Link 2</a></li>
<li><a href='#' target='blank'><i class='fal fa-angle-double-right'/> Link 3</a></li>
</ul>
</div>
<div class='colMt-3'>
<h3 class='title'>Powered</h3>
<ul>
<li><a href='#' target='blank'><i class='fal fa-angle-double-right'/> Link 1</a></li>
<li><a href='#' target='blank'><i class='fal fa-angle-double-right'/> Link 2</a></li>
<li><a href='#' target='blank'><i class='fal fa-angle-double-right'/> Link 3</a></li>
</ul>
</div>
</div>
</div>
الخطوة 8: - ثم ضع كود JavaScript التالي فوق </body>
<script type='text/javascript'>
//<![CDATA[
function loadCSS(e,t,s){"use strict";var a=window.document.createElement("link"),t=t||window.document.getElementsByTagName("script")[0];a.rel="stylesheet",a.href=e,a.media="only x",t.parentNode.insertBefore(a,t),setTimeout(function(){a.media=s||"all"})}loadCSS("https://pro.fontawesome.com/releases/v5.10.0/css/all.css"),loadCSS("https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css");
//]]>
</script>
والى هنا ننتهي من درس اليوم انا في هذه المدة بدون افكار اعطوني بعض الطلبات في
التعليقات وشيء ٱخر انا ساقوم بتطوير هذا الفوتر بxml ان كنتم تريدون مني ان انشر
الطريقة عبر فيديو و درس او انشر الأكواد فقط