السلام عليكم ورحمة الله
اريد توسيط اسماء الاقسام وقطعة الادارة وقطعة اخر المشاركات وقطعة اخر المواضيع
اريد توسيط اسماء الاقسام وقطعة الادارة وقطعة اخر المشاركات وقطعة اخر المواضيع
.p-node-title {
text-align: center;
}
.blockMessage.blockMessage--important {
text-align: center;
}
.p-staffBar {
text-align: center;
}
.node-extra {
text-align: center;
}
.block-body .structItem-title {
text-align: center;
}
.widget--latestPosts .contentRow-title {
text-align: center;
}
<xf:include template="scroll_button" />
<a href="javascript:void(0);" class="scroll-button scroll-button--down" title="الذهاب لأسفل">
<i class="fa fa-arrow-down" aria-hidden="true"></i>
</a>
.scroll-button--down {
position: fixed;
bottom: 70px; /* فوق زر الأعلى */
right: 20px;
z-index: 999;
background: @xf-linkColor;
color: white;
padding: 10px 12px;
border-radius: 50%;
box-shadow: 0 2px 6px rgba(0,0,0,0.3);
cursor: pointer;
transition: background 0.3s;
}
.scroll-button--down:hover {
background: darken(@xf-linkColor, 10%);
}
<script>
document.addEventListener("DOMContentLoaded", function () {
var scrollDownBtn = document.querySelector(".scroll-button--down");
if (scrollDownBtn) {
scrollDownBtn.addEventListener("click", function () {
window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' });
});
}
});
</script>
<xf:include template="scroll_button" />
<a href="javascript:void(0);" class="scroll-button scroll-button--down" title="الذهاب لأسفل">
<i class="fa fa-arrow-down" aria-hidden="true"></i>
</a>
.scroll-button--down {
position: fixed;
bottom: 70px; /* فوق زر الأعلى */
right: 20px;
z-index: 999;
background: @xf-linkColor;
color: white;
padding: 10px 12px;
border-radius: 50%;
box-shadow: 0 2px 6px rgba(0,0,0,0.3);
cursor: pointer;
transition: background 0.3s;
}
.scroll-button--down:hover {
background: darken(@xf-linkColor, 10%);
}
<script>
document.addEventListener("DOMContentLoaded", function () {
var scrollDownBtn = document.querySelector(".scroll-button--down");
if (scrollDownBtn) {
scrollDownBtn.addEventListener("click", function () {
window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' });
});
}
});
</script>
<a href="javascript:void(0);" class="scroll-button scroll-button--down" title="الذهاب لأسفل">
<i class="fa fa-arrow-down" aria-hidden="true"></i>
</a>
<script>
document.addEventListener("DOMContentLoaded", function () {
const downBtn = document.querySelector(".scroll-button--down");
if (downBtn) {
downBtn.addEventListener("click", function () {
window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' });
});
}
});
</script>
.scroll-button--down {
position: fixed;
bottom: 70px;
right: 20px;
z-index: 1000;
background: @xf-linkColor;
color: #fff;
padding: 10px 12px;
border-radius: 50%;
font-size: 18px;
box-shadow: 0 2px 6px rgba(0,0,0,0.4);
cursor: pointer;
transition: background 0.3s ease;
}
.scroll-button--down:hover {
background: darken(@xf-linkColor, 10%);
}
↓
<a href="javascript:void(0);" class="scroll-button scroll-button--down" title="الذهاب لأسفل">
<i class="fa fa-arrow-down" aria-hidden="true"></i>
</a>
<script>
document.addEventListener("DOMContentLoaded", function () {
const downBtn = document.querySelector(".scroll-button--down");
if (downBtn) {
downBtn.addEventListener("click", function () {
window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' });
});
}
});
</script>
.scroll-button--down {
position: fixed;
bottom: 70px;
right: 20px;
z-index: 1000;
background: @xf-linkColor;
color: #fff;
padding: 10px 12px;
border-radius: 50%;
font-size: 18px;
box-shadow: 0 2px 6px rgba(0,0,0,0.4);
cursor: pointer;
transition: background 0.3s ease;
}
.scroll-button--down:hover {
background: darken(@xf-linkColor, 10%);
}
↓
جميع المواضيع والمشاركات المكتوبة تعبّر عن وجهة نظر صاحبها ,, ولا تعبّر بأي شكل من الاشكال عن وجهة نظر إدارة المنتدى .
Algeria, Palestine
t.me/techawzen
contact@techawzen.com
techawzen.com