# YouTube Gallery

**URL:** <https://community.elfsight.com/t/youtube-gallery/7430>\
**Category:** General Questions\
**Tags:** youtube-gallery\
**Created:** [October 24, 2022, 1:36pm UTC](https://community.elfsight.com/t/youtube-gallery/7430 "2022-10-24T13:36:49Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![pulsevents.hr](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/pulsevents.hr/32/1500_2.png) [@pulsevents.hr](https://community.elfsight.com/u/pulsevents.hr)\
**Post date:** [October 24, 2022, 1:36pm UTC](https://community.elfsight.com/t/youtube-gallery/7430/1 "2022-10-24T13:36:49Z")

</div>

Hi,

YouTube Gallery it doesn’t work as it should.  
Problems I noted:  
So far I have 10 videos on my youtube channel. When i copy the link of my youtube channel YouTube Gallery widget it shows only 5.

Can you resolve this problem?

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [October 24, 2022, 9:03pm UTC](https://community.elfsight.com/t/youtube-gallery/7430/3 "2022-10-24T21:03:22Z")

</div>

Hello @pulsevents.hr 👋

I am terribly sorry that you’ve encountered issues using our app.

I’ll be happy to help you!

Could you please provide me with a direct link to the website where your widget is installed or [widget ID](https://help.elfsight.com/article/1001-where-to-get-your-widget-id) if it’s not installed yet?

---

<div class="post-metadata">

**Author:** ![user1809](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/user1809/32/2315_2.png) [@user1809](https://community.elfsight.com/u/user1809)\
**Post date:** [December 31, 2022, 2:54pm UTC](https://community.elfsight.com/t/youtube-gallery/7430/4 "2022-12-31T14:54:27Z")

</div>

I am having the same issue and have contacted support. In the meantime, is there a fix I can try?

Thank you!

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [January 2, 2023, 9:40am UTC](https://community.elfsight.com/t/youtube-gallery/7430/5 "2023-01-02T09:40:26Z")

</div>

Hello @user1809 and we are happy to see you with us! Welcome to Elfsight Community ❤ 🎉

I am terribly sorry about this inconvenience!

I’ve forwarded your request to our devs and, hopefully, they’ll come up with a proper solution really soon. Please do not worry, I’ll keep you updated 😉

---

<div class="post-metadata">

**Author:** ![Sorochi](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Sorochi](https://community.elfsight.com/u/Sorochi)\
**Post date:** [January 25, 2023, 10:31am UTC](https://community.elfsight.com/t/youtube-gallery/7430/8 "2023-01-25T10:31:47Z")

</div>

Hi,  
please can you provide me the CSS code to edit the arrow to move across the pages in the same playlist as it is quite small and difficult to spot.  
If you could provide me the code so that it takes up the whole vertical stripe of the side of the widget, so is more obvious to see.  
My widget is on my website: [www.mentorshipstudio.com](http://www.mentorshipstudio.com) with the password “hello”. Also the widget is under the tab/header “Youtube Videos”.

Many thanks,  
Sorochi

---

<div class="post-metadata">

**Author:** ![Sorochi](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Sorochi](https://community.elfsight.com/u/Sorochi)\
**Post date:** [January 25, 2023, 10:46am UTC](https://community.elfsight.com/t/youtube-gallery/7430/9 "2023-01-25T10:46:58Z")

</div>

Hi, my search bar in my widget doesn’t seem to be working. Please could someone look at it and check it out. [www.mentorshipstudio.com](http://www.mentorshipstudio.com) password: hello

Many thanks,  
Sorochi

---

<div class="post-metadata">

**Author:** ![Sorochi](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Sorochi](https://community.elfsight.com/u/Sorochi)\
**Post date:** [January 25, 2023, 10:48am UTC](https://community.elfsight.com/t/youtube-gallery/7430/10 "2023-01-25T10:48:16Z")

</div>

Hi,  
please can you provide me the CSS code to edit the arrow to move across the pages in the same playlist as it is quite small and difficult to spot.  
If you could provide me the code so that it takes up the whole vertical stripe of the side of the widget, so is more obvious to see.  
My widget is on my website:mentorshipstudio.com with the password “hello”.

Many thanks,  
Sorochi

---

<div class="post-metadata">

**Author:** ![Masha](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/masha/32/1771_2.png) [@Masha](https://community.elfsight.com/u/Masha)\
**Post date:** [January 26, 2023, 1:26pm UTC](https://community.elfsight.com/t/youtube-gallery/7430/12 "2023-01-26T13:26:46Z")

</div>

Hi @Sorochi!

You can use this code to have the arrows take up the whole height of the widget. Let me know if you’d like to adjust their appearance any further!

```auto
div.yottie-widget-feed-section-arrow {
  height: 98%;
  top: 1%;
  border-radius: 0;
  margin-top: 0;
}
div.yottie-widget-feed-section-arrow > span {
  top: 50%;
  transform: translate(0, -50%);
}

```

---

<div class="post-metadata">

**Author:** ![Sorochi](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Sorochi](https://community.elfsight.com/u/Sorochi)\
**Post date:** [February 2, 2023, 7:54pm UTC](https://community.elfsight.com/t/youtube-gallery/7430/13 "2023-02-02T19:54:04Z")

</div>

Hi, my website is [www.mentorshipstudio.com](http://www.mentorshipstudio.com).  
I was wondering if you could help me get rid of the thin black border on the youtube gallery widget on my home page.

Thanks

---

<div class="post-metadata">

**Author:** ![Sorochi](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Sorochi](https://community.elfsight.com/u/Sorochi)\
**Post date:** [February 2, 2023, 7:58pm UTC](https://community.elfsight.com/t/youtube-gallery/7430/14 "2023-02-02T19:58:19Z")

</div>

Also, elfsight seems to be down for me. It keeps showing the loading circle and I am unable to edit my form widget. Please could you offer some assistance.

Many thanks

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [February 3, 2023, 10:40am UTC](https://community.elfsight.com/t/youtube-gallery/7430/15 "2023-02-03T10:40:55Z")

</div>

Hi Sorochi 👋

I am so sorry for all the inconvenience!

If the issue still persists, could you please provide me with a screenshot of the issue and a screenshot of the Developer Console.

This article explains how you can do that - [How to take a screenshot of the Developer Console](https://help.elfsight.com/article/1148-how-to-take-a-screenshot-of-the-developers-console).

As for the black border, I’ve forwarded your request to our devs and, hopefully, they’ll find a proper solution for you really soon 🚀

---

<div class="post-metadata">

**Author:** ![Sorochi](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Sorochi](https://community.elfsight.com/u/Sorochi)\
**Post date:** [February 3, 2023, 12:31pm UTC](https://community.elfsight.com/t/youtube-gallery/7430/17 "2023-02-03T12:31:15Z")

</div>

Hi,  
here are the screenshots:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/2X/8/8dd947704852b7b6cde2d97874e4cfdcbfbb277c.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/2X/1/18f5ad1a1ecbcef147084388114616ba5a7f939c.png)

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [February 3, 2023, 5:22pm UTC](https://community.elfsight.com/t/youtube-gallery/7430/18 "2023-02-03T17:22:07Z")

</div>

Thank you for the screenshots!

It seems to be a local issue. Could you please check it without browser extensions in incognito mode and from another Internet connection (for example, from a mobile or via VPN)?

As for the YouTube Gallery borders, we are still working on it. Please do not worry, I’ll keep you updated!

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [February 8, 2023, 1:44pm UTC](https://community.elfsight.com/t/youtube-gallery/7430/19 "2023-02-08T13:44:07Z")

</div>

Hello @Sorochi!

Thank you for waiting!

Our devs have made a special script to remove the borders:

```auto
<script>
document.addEventListener('DOMContentLoaded', () => {
  let intervalID = setInterval(() => {
    let thumbnails = document.querySelectorAll('.yottie-widget-video-preview-thumbnail');
    if (thumbnails.length) {
      clearInterval(intervalID);
      const fitThumbnails = () => {
        setTimeout(() => {
          thumbnails = document.querySelectorAll('.yottie-widget-video-preview-thumbnail');
          thumbnails.forEach(thumbnail => {
            thumbnail.style.height = `${Math.floor(parseFloat(thumbnail.style.height.slice(0, -2)) / 2) * 2}px`;
          });
        }, 100);
      };
      window.addEventListener('resize', fitThumbnails);
      fitThumbnails();
    }
  });
}, 100);
</script>

```

Please add this script right after the installation code and let me know if it helped.

---

<div class="post-metadata">

**Author:** ![Sorochi](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Sorochi](https://community.elfsight.com/u/Sorochi)\
**Post date:** [March 7, 2023, 10:18pm UTC](https://community.elfsight.com/t/youtube-gallery/7430/21 "2023-03-07T22:18:11Z")

</div>

Thank you! It works perfectly!

---

<div class="post-metadata">

**Author:** ![Sorochi](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Sorochi](https://community.elfsight.com/u/Sorochi)\
**Post date:** [March 7, 2023, 10:49pm UTC](https://community.elfsight.com/t/youtube-gallery/7430/22 "2023-03-07T22:49:44Z")

</div>

This code worked perfectly for the Youtube gallery on my homepage.  
I also copied the same code for the youtube gallery on my Youtube videos tab on my website [www.mentorshipstudio.com](http://www.mentorshipstudio.com) and it works on first appearance, but if I switch to a different playlist and then switch back, the border reappears. Is there a way to fix this?

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [March 8, 2023, 9:51am UTC](https://community.elfsight.com/t/youtube-gallery/7430/23 "2023-03-08T09:51:46Z")

</div>

Hello @Sorochi!

I am glad to hear that it works fine on your homepage!

As for the YouTube Videos tab, I’ve forwarded your request to our devs and hopefully they’ll come up with a solution really soon. Please do not worry, we’ll keep you updated!

---

<div class="post-metadata">

**Author:** ![Masha](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/masha/32/1771_2.png) [@Masha](https://community.elfsight.com/u/Masha)\
**Post date:** [March 9, 2023, 7:49am UTC](https://community.elfsight.com/t/youtube-gallery/7430/25 "2023-03-09T07:49:12Z")

</div>

Hello @Sorochi ,

A slightly different script should work for the case with navigation tabs:

```auto
<script>
document.addEventListener('DOMContentLoaded', () => {
  let intervalID = setInterval(() => {
    let thumbnails = document.querySelectorAll('.yottie-widget-video-preview-thumbnail');
    if (thumbnails.length) {
      clearInterval(intervalID);
      const fitThumbnails = () => {
        setTimeout(() => {
          thumbnails = document.querySelectorAll('.yottie-widget-video-preview-thumbnail');
          thumbnails.forEach(thumbnail => {
            thumbnail.style.height = `${Math.floor(parseFloat(thumbnail.style.height.slice(0, -2)) / 2) * 2}px`;
          });
        }, 100);
      };
      fitThumbnails();
      const buttons = document.querySelectorAll('.yottie-widget-nav-list-item');
      buttons.forEach(button => button.addEventListener('click', fitThumbnails));
      window.addEventListener('resize', fitThumbnails);
    }
  });
}, 100);
</script>

```

Please let me know if it works!

---

<div class="post-metadata">

**Author:** ![Sorochi](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Sorochi](https://community.elfsight.com/u/Sorochi)\
**Post date:** [March 9, 2023, 7:28pm UTC](https://community.elfsight.com/t/youtube-gallery/7430/26 "2023-03-09T19:28:55Z")

</div>

Works perfectly! Thank you!
