Header Problem In Educon 2 - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Header Problem In Educon 2

K

kusy

Template 6 months 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

0
6 Answers
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 6 months ago #189262

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.

0
K
kusy
Accepted Answer
6 months ago #189285

Ok, thank you. Url in the hidden content.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 6 months ago #189347

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.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 6 months ago #190130

Is this solved now?

0
K
kusy
Accepted Answer
6 months ago #190134

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.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 6 months ago #190254

You can then close this post by accepting the answer.

0