How to block sp-header menu in alla pages except home - Forum | JoomShaper
Staff replied Templates

How to block sp-header menu in alla pages except home

Asked by Aldus 1 year ago Last activity 1 year ago

Hi,
In ONEPAGE template I want the sp-header menu to be movable only for the home page.
Instead, it's movable on all pages.
On pages other than the home page, I'd like the sp-header menu to be fixed at the top.
Please see screenshots in hidden area

Thanks
Regards

3 replies

Toufiq Senior Staff

Hi there,

Thank you for reaching out. Your login credential doesn't work. Please share a screenshot that you want to exactly.

Best regards,

Toufiqur Rahman (Team Lead, Support)

Aldus Asked this
1 year ago · edited

Please see below in hidden area
You have also screenshot and video

Thank you

Toufiq Senior Staff

Sorry! It's not possible.

Aldus Asked this

My dear Toufiq,
is possible if I add this css code in each page...

#sp-header.has-slideshow {
    z-index: 999;
    top: 0;
}

But if I want sp-header.has-slideshow menu only in home page?

Thank you

Toufiq Senior Staff

Please check now and let me know. Thanks

Aldus Asked this

Hi,
where you wrote this css code?
And plese tell me what css code

regards

Toufiq Senior Staff

I didn't add css code. Changed the Javascript code from the main.js file.

https://prnt.sc/WsxdwCC8cgSq

Added this class in your home page first row section class area.

-Thanks

Aldus Asked this

If I replace againg .addon-root-js-slideshow in the place of .custom-header nothing changes.
Also, when scrolling the page, the menu disappears completely and then reappears.
Please see video in hidden area

Please save the original main.js file

Can you help me?

Thank you

Toufiq Senior Staff

I have done already on your site. If you need another site, Please share your login info. I will share a screencast video. Thanks

Aldus Asked this

Hi Toufiq,
I don't understand what you mean.
The site is the same.
Did you see the attached video?

Thank you for whatever you can do for me

Toufiq Senior Staff

Please check and let me know. Thanks

Log in to reply.