Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 16h 26m 14s
Claim 50% off
Awaiting an answer Templates

Newsberg - Sticky menu

Asked by Alec Barton 1 year ago Last activity 1 year ago

Hi all, please see attached. I need the entire top rown (menu, logo and sticky) to be anchored (stickied) at the top of the screen.

I know you can do this using a preset header but there is not the module area for the sign up button in this template. It is currently set up manually using a row with logo, menu and top2 modlue positions

Have you any solutions for this please?

https://imgur.com/a/givNita

Thank you.

6 replies

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us. Did you try this method?

https://prnt.sc/zzrHwBg1eo0U

You can try this one if it helps. Please let me know if it works for you or not.

-Regards.

Alec Barton Asked this

Hi yes, that only seems to work if you use a predefined header (there are only two predefined headers with this template and neither suit our needs)

I have posted some logins below so you can see how it is set up

Mehtaz Afsana Borsha Staff

Hi

Use this CSS in your custom.css file

@media (min-width: 999px) {
#sp-top-bar {
  position: fixed;
  display: block;
  width: 100%;
  z-index: 999; }

#sp-main-body {
  margin-top: 80px; 
}
  }
Mehtaz Afsana Borsha Staff

Hi

Use this CSS in your custom.css file

.sp-page-builder .page-content #section-id-e86ce4a3-ac57-4fba-afa1-6cead1039c14 {
    padding-top: 100px !important;
}
Pavel
1 year ago · edited

Hi Alec.

Duplication of ID on one page is not acceptable, even if it is in a hidden section. Therefore, you should completely remove the section-2 containing the logo. And do everything through CSS.

Hi yes, that only seems to work if you use a predefined header

This is wrong. If you create custom Header following Helix documentation, then all header options like height, sticky and other will work.

Study not only Newsberg documentation, but also Helix documentation.

I would recommend that you replace the Top Bar to custom Header and then return to the issue with a margin on other pages.


This is not correct, since it is not an universal solution and you will have to write a code for each new page.

Log in to reply.