Best Elementor Notification Bar Method | No Plugin Needed

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

Комментарии • 16

  • @franktielemans6624
    @franktielemans6624 Год назад +3

    You can center an element that positioned absolute precisely via
    top: 50% and then transform => offset = > offsetY = -50%

  • @yannickhof
    @yannickhof 11 месяцев назад +3

    in the video you use css class for container bar-container in the code it is notice-bar. So CSS class for container ist notice-bar.

    • @Juanmi397
      @Juanmi397 10 месяцев назад +1

      You are right, thanks for that observation.

  • @delarue160
    @delarue160 Год назад

    איזה כיף שאתה קיים! ❤
    תודה רבה 👑

  • @j.b.wheatley6481
    @j.b.wheatley6481 11 месяцев назад +1

    This is great. Subscribed. Thank you. Question: I tried adding this to my Header template, but when it closes, the body of the page remains stationary. Is there a way to get the body to close the gap as well? Or does this only work in the body of the page?

  • @antoniogarcia9271
    @antoniogarcia9271 Год назад

    Awesome video. Thank you! Subscribed!!

  • @SpencerTaylorOnline
    @SpencerTaylorOnline Год назад

    Extremely helpful, thank you!

  • @brianb.1920
    @brianb.1920 10 месяцев назад

    Suuuuuuuuuuuubscribed! You’re awesome bro!

  • @gadirosales1209
    @gadirosales1209 5 месяцев назад

    Great video, I have an issue the space that occupied the bar still there until refresh

  • @user-yq8ff3gy9p
    @user-yq8ff3gy9p 7 месяцев назад

    That's a really neat trick! However, I have a small issue with it: after closing the bar, every time a new page is loaded it reappears for a few micro-seconds. Is this fixable?

  • @akshetradesign5323
    @akshetradesign5323 11 месяцев назад

    gsap two animation not working in one frame(using text in and image in another frame)

  • @russcastella
    @russcastella 7 месяцев назад

    too much work. I just downloaded the top bar plugin. 😭

    • @bleonciofs
      @bleonciofs 6 месяцев назад

      True, but also your website will run slower with more plugins.

  • @arthurargueta8271
    @arthurargueta8271 10 месяцев назад

    code didn't work for me :(

    • @arthurargueta8271
      @arthurargueta8271 10 месяцев назад

      I used this code instead
      "
      jQuery(document).ready(function($) {
      // When the close-bar icon is clicked, hide the notice-bar
      $('.close-bar').on('click', function() {
      $('.notice-bar').hide(); // You can use .fadeOut() for a smoother animation
      });
      // Change cursor to pointer on hover over close-bar
      $('.close-bar').css('cursor', 'pointer');
      });
      "
      but it won't work outside of elementor. only works while logged in