كيفية إزالة الشريط العلوي الثابت؟

the top bar including logo stays sticky whenever I scroll up and down the page.

Acutally I wanna make it sticky only when I scroll up and not sticky when scroll down the page.
if it’s not possible then I just wanna remove sticky feature.

There is no setting to remove the sticky header – it’s a fundamental part of Discourse.

You could disable the stickiness by creating a theme and adding this to your CSS:

.d-header {
    position: relative;
}

This may impact the layout in other ways and cause issues with the dropdown menus, so you’d need to write some additional CSS to get around those problems. Getting started with themes: Structure of themes and theme components.

There are also a lot of additional topics that might help you with general Discourse questions in the howto category.

مرحبًا، أنا مهتم بمعرفة ما قد تكون هذه المشاكل؟ قمت بتعطيل قاعدة position: fixed باستخدام أداة التفتيش لأجرب الأمر. جربت القوائم ويبدو أن كل شيء يعمل بشكل جيد.
لاحظت أن ارتفاع الرأس قد يكون له أهمية عند التمرير، لكنني لست متأكدًا بعد من التداعيات. topictimeline: discourse/app/assets/javascripts/discourse/app/widgets/topic-timeline.js at 9482ddff7343d2e913a5177d2cdef100140b57f2 · discourse/discourse · GitHub
keyboardshortcuts:
discourse/app/assets/javascripts/discourse/app/lib/keyboard-shortcuts.js at 350fe932cafa2874e5fd87b4d401223754158656 · discourse/discourse · GitHub
offset calculator: discourse/app/assets/javascripts/discourse/app/lib/offset-calculator.js at 7a2e8d3ead63c7d99e1069fc7823e933f931ba85 · discourse/discourse · GitHub
كما جربت تعيين position: relative، لكنني حصلت على مساحة فارغة في أعلى الصفحة، بينما يبدو أن position: absolute يعمل بشكل جيد.
ملاحظة جانبية: أعلم أن الرأس الثابت مهم جدًا بالنسبة لك. كنت راضيًا عن الرأس الثابت من قبل، لكنني في عطلة ممتدة في تايوان وأضطر لاستخدام شاشة حاسوب محمول صغيرة طوال اليوم. سأقوم بإزالته في مكون موضوع. أنا آسف، لكن يجب أن أفعل ذلك. إنه يجعلني أشعر بالدوار :smiley:

قد لا توجد أي قضايا ذات صلة، لكن هذا ليس شيئًا رأيناه العديد من المواقع تفعله، لذا لم يتم اختباره بقدر كبير مثل السلوك الافتراضي.