Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #626585

    Hello Enfold team,

    you helped me to create a black bar in the header of my current webproject (https://kriesi.at/support/topic/black-bar-in-the-header/)

    First, it works fine, but after checking some mobile phones, i found out, that on android 2.03 it works, but on 4.04 (with smaller screen), there is no menu + logo anymore, if I use the code you provided me:

    #header_meta {
    position: fixed;
    width: 100%;
    left:0;
    }

    On the other side, on desktop view, this black bar is hiding, when I scroll down (have a look at the link). This ist no happening at mobile view, however, the bar ist „juming“, when I scroll down (because I use the Header Secondary Menu for it)

    The bar should be always in the browser, like the logo. Is there a simply way, to create this bar without the problems of this header secondary menu. Again, the bar should be always 100% of the browser window.
    Thank you for your help, I really appreciate it.

    #627144

    Hey swa6768,

    Please go to Enfold theme options > Header > Header Behaviour and uncheck “Unstick topbar”.

    And if you would not like to apply the code in mobile, please change the code to following one

    @media only screen and (min-width: 990px) {
    #header_meta {
    position: fixed;
    width: 100%;
    left:0;
    }}

    Best regards,
    Yigit

    #628862

    Hi Yigit,
    thank you very much – it works fine!!

    Best regards,

    #629641

    Hi,

    Great, glad we could help :-)

    Cheers!
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Black Bar in the header – part II’ is closed to new replies.