Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 19h 42m 03s
Claim 50% off
Staff replied Templates

Header problem in Educon 2

Asked by kusy 1 year ago Last activity 1 year ago

Hello.
In the Educon 2 template - header has class "sticky" by default. I need different parameters for header - "non sticky" and "sticky", how to change so that static header has different class as it is in most templates ? When I set the default header - the background is white and nothing can be changed (the white background is in the class "sticky-header-placeholder"). I want the static header to be transparent and the sticky to have a white background. Is it possible in this template ?

Best regards

5 replies

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us. Yes, you can do it by using custom CSS. Please give me your site URL so that I can check.

-Regards.

kusy Asked this

Ok, thank you.
Url in the hidden content.

Mehtaz Afsana Borsha Staff

Hi

You can use this CSS in your custom.css file

#sp-header{
  position: absolute; 
  background-color: transparent !important; 

}

#sp-header.header-sticky{
  background-color: #fff !important;
}
.sp-megamenu-parent > li > a {
    color: #034C79 !important;
}

You have to change the font color then if you set the background color to white.

Mehtaz Afsana Borsha Staff

Is this solved now?

kusy Asked this

Hello.
Unfortunately, this solution did not help, the problem with this template is more complex. Fortunately, chatgpt helped me with the solution, and it's already ok so the topic is closed. Best regards.

Mehtaz Afsana Borsha Staff

You can then close this post by accepting the answer.

Log in to reply.