Hello,
Thanks for the your query.
You may use the following code in your custom CSS:
#sp-top-bar {
position: fixed;
top: 0;
width: 100%;
z-index: 999;
}
#sp-header {
position: fixed;
width: 100%;
top: 72px !important;
}
Hope this will serve your purpose!
Note: Path towards custom CSS(Joomla 3): Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.
Path towards custom CSS(Joomla 4): System>Site Templates Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.
https://prnt.sc/5mBuSRh907N3
https://prnt.sc/ooiq-lkMEXr_
https://prnt.sc/nunlX-f5AhK1
Best Regards