Create Sticky or Fixed Header in Astra Free Theme in 2022 | Sticky Menu in Astra Free Version

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2024
  • Create Sticky or Fixed Header in Astra Free Theme in 2022 | Sticky Menu in Astra Free Version.
    // Best hosting for WordPress Website: partners.hostg...

ความคิดเห็น • 66

  • @tmach1000
    @tmach1000 ปีที่แล้ว +25

    I used div#page header#masthead {
    position: fixed;
    top:0;
    width: 100%;
    }

    • @PoNiCoN
      @PoNiCoN ปีที่แล้ว +5

      CSS from video didn't work....but yours "div#page header#masthead" did the trick! Thank you Tony

    • @catabeltran
      @catabeltran ปีที่แล้ว

      EDIT: Nevermind, I just had to turn "on" the option on the customisation menu. Thanks!!
      Same here, the one in the video didn't work but this one did. It only worked on the home page, though. Any idea of how to make it work on the other pages/ blog posts? Thanks so much!!

    • @tausifkokate
      @tausifkokate ปีที่แล้ว

      Css from video didnt worked but your tag worrked thank u buddy u r great

    • @ktrizolio
      @ktrizolio ปีที่แล้ว

      You saved my life Tony, i will be gratefull to you for all my life. Thank you

    • @BotsheloIkaneng
      @BotsheloIkaneng ปีที่แล้ว

      thanks it worked perfectly

  • @thegrowtheffect
    @thegrowtheffect ปีที่แล้ว +19

    This won't work on a transparent header.
    In which case you want something like this instead:
    #masthead {
    z-index: 10;
    position: fixed !important;
    width: 100%;
    }
    But thanks for the info! starts @5:11
    .site-header {
    position: fixed;
    top: 0;
    width: 100%;
    }

    • @DianeP
      @DianeP 11 หลายเดือนก่อน +1

      Thank you thank you thank you ! ;-)

    • @j3wpb
      @j3wpb 11 หลายเดือนก่อน +1

      This guy, for the win! Thanks

    • @constanceamatey8768
      @constanceamatey8768 8 หลายเดือนก่อน +1

      Thank you so much for this.

    • @Pstro_art
      @Pstro_art 7 หลายเดือนก่อน +1

      THANK YOU!!!

    • @carloscodling5084
      @carloscodling5084 2 หลายเดือนก่อน

      Thank you CRACK!!

  • @JohanzY
    @JohanzY หลายเดือนก่อน +2

    Ok so if you want your header to be transparent initially and turn solid color when scrolled down i figured this code after 2 hours:
    #masthead {
    position: fixed !important;
    width: 100%;
    z-index: 9999;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
    }
    .sticky-header {
    background-color: #ffffff;
    border-bottom: 1px solid black;
    }

  • @wanderingjean8593
    @wanderingjean8593 2 ปีที่แล้ว +1

    Hello Rbn! Very informative and helpful! Thanks! Keep doing!😊

  • @WhereToNextDad
    @WhereToNextDad 2 ปีที่แล้ว +1

    Your videos so informative !!! Great explaining!!!!

  • @FXWalesAnnaAlf
    @FXWalesAnnaAlf 2 ปีที่แล้ว +1

    HI RBN, your videos are always so informative. Great explaining for people who need problems solved 👍 ~ Anna

  • @sayhiby163
    @sayhiby163 2 ปีที่แล้ว +2

    Nice sharing

  • @sjamjourneys1
    @sjamjourneys1 2 ปีที่แล้ว

    Hello RBN, great content as always, useful and informative, well explained, thanks for sharing 👍👌

  • @malarviliepunnanpalam4772
    @malarviliepunnanpalam4772 6 หลายเดือนก่อน

    2024-I have tried this and it works. Thank you for the css code.

  • @riccardovarrazza6979
    @riccardovarrazza6979 ปีที่แล้ว +5

    This is very good it works with all the pages but it doesn't work with the home page. I believe because the home page header is set as transparent. So maybe there should be some particular instruction for transparent header? Any suggestion or recommendation? thanks

    • @LinaStalyte
      @LinaStalyte 7 หลายเดือนก่อน

      HI ! the same here

  • @Seedhe-Saadhe-Akshay-Akshay
    @Seedhe-Saadhe-Akshay-Akshay 10 หลายเดือนก่อน

    Fatafati Dada, You rock , thanks a million...
    Dada, how to make an impressive footers on website..

  • @RohailAKSPK
    @RohailAKSPK 7 หลายเดือนก่อน

    Thank you. It worked flawlessly 🎉

  • @PinoyintheREZUSA
    @PinoyintheREZUSA 2 ปีที่แล้ว

    Great share on how to create sticky headers!

  • @emanuellabarbosadasilva198
    @emanuellabarbosadasilva198 2 ปีที่แล้ว

    Parabéns pelo seu lindo trabalho, sucessos sempre

  • @dicastopdajuju5073
    @dicastopdajuju5073 ปีที่แล้ว

    Obrigada por dividir conosco o seu conhecimento 👏

  • @SmartV1307
    @SmartV1307 ปีที่แล้ว +1

    Very good. Happy Birthday !

  • @alicemartemucci-y7f
    @alicemartemucci-y7f ปีที่แล้ว

    Unico tutorial serio e utile! grazie!!!! non parlo bene inglese e comunque ci sono riuscita :) grazie

  • @TastyFoodTour
    @TastyFoodTour 2 ปีที่แล้ว

    My Dear New FRIEND Hello To You
    Wonderful Video
    Greetings From ISTANBUL

  • @singforsukoon6618
    @singforsukoon6618 ปีที่แล้ว

    And in the end your idea worked for me ❤

  • @sarwarjahanbhuiyan3147
    @sarwarjahanbhuiyan3147 ปีที่แล้ว +1

    Great tutorial. Thanks a lot.

  • @SameerKhan-ju1xz
    @SameerKhan-ju1xz ปีที่แล้ว

    This is really helpful. Thank you so much 😊

  • @tmach1000
    @tmach1000 ปีที่แล้ว

    Thank you for the information. I subscribed

  • @TrueColorsss808
    @TrueColorsss808 2 ปีที่แล้ว

    Great info thanks!

  • @JasperHunt-hq7pu
    @JasperHunt-hq7pu ปีที่แล้ว +2

    seems like this no longer works with new Astra updates

  • @henrytourumengkor
    @henrytourumengkor ปีที่แล้ว

    Thank you for sharing friend

  • @Nosfeicon
    @Nosfeicon 5 หลายเดือนก่อน

    Thanks man !!! Really helpful. Tho, the image i had just after the menu. It did lose some space. Weird... How did u acces the responsive window so fast in your browser (at 7:09 min) ???

  • @dingssimpleliving5911
    @dingssimpleliving5911 2 ปีที่แล้ว

    Great tutorial,im not really good at this

  • @syedanezunakther3855
    @syedanezunakther3855 หลายเดือนก่อน

    Thank you.

  • @orzysz_info
    @orzysz_info ปีที่แล้ว

    Good job. Thanks.

  • @windiparadita6505
    @windiparadita6505 5 หลายเดือนก่อน

    thank you, it works!

  • @anselsolomon6270
    @anselsolomon6270 ปีที่แล้ว +1

    Thank you for great video but how did you know the CSS element name?

    • @anselsolomon6270
      @anselsolomon6270 ปีที่แล้ว

      As in how did you get the css class for the header you use?

  • @BandUnik
    @BandUnik 2 ปีที่แล้ว

    Hello sir, how are you, long time no see

  • @fsan2val
    @fsan2val 4 หลายเดือนก่อน

    Hello, it works like sticky yes, but it scrolls down above the content and does not stick.

  • @24hit
    @24hit ปีที่แล้ว +2

    Don't use this method. It's not adapted

  • @kemasanpack-q7m
    @kemasanpack-q7m 9 หลายเดือนก่อน

    work thax

  • @jjmovingsolutions
    @jjmovingsolutions ปีที่แล้ว

    hello, this isnt working for me for some reason. any ideas?

  • @divyasriconsultancyservices
    @divyasriconsultancyservices ปีที่แล้ว

    Not working in starter templates

  • @orental5996
    @orental5996 ปีที่แล้ว

    too bad you didn’t add the code in your description

  • @Ms-tv
    @Ms-tv ปีที่แล้ว

    My dear friend I have a suggestion for you if you can transcribe what so ever you have to say it will be nice.,.also now you can choose your transcribe text into a voice with someone who does not have an accent
    So transcribe plus voice AI will give you a clear video …if you choose female AI voice you will have more. Viewers …but in San Francisco it different they like boys voice also…!!!

  • @amiranoreenofficial5900
    @amiranoreenofficial5900 ปีที่แล้ว

    Hi! This css code is not working.

  • @farazisgreat
    @farazisgreat ปีที่แล้ว

    not working for me

  • @goodenrecords8666
    @goodenrecords8666 ปีที่แล้ว

    Soo where's the code ?

  • @alexanderabr5940
    @alexanderabr5940 ปีที่แล้ว

    You are the best

  • @kingbadel2023
    @kingbadel2023 9 หลายเดือนก่อน

    Bro you spoke too much just start the work straight