Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author YouTubeforWordPress

    (@youtubeforwordpress)

    Hi StarApple,

    It looks like your theme is setting a width on the <li> element. If you add the following CSS to your active theme css to override what is going on, you should get the videos into a nice three column grid:

    #masonry-container li {
      width: 30% !important;
    }

    Let us know if that works!

    Edit: I just took a second look at the code and it appears that the class names are off a bit so the styles aren’t being properly applied. We will work on pushing out a new patch to resolve things. But in the meantime, the above code should help you out.

    Thread Starter starapple

    (@starapple)

    Thanks for the CSS. Works erfectly. However, I don’t know but I think the theme’s use of masonry may be a factor, meaning there may be a conflict between instances of #masonry-container li. BTW, how significant is the ul tag? I inspected the element of the admin search result and saw ul#masonry-container.youtube-plus-video-list but I noticed there’s nothing like that in the yt4wp-frontend.min.css. Is that in another sheet called in the header?

    Plugin Author YouTubeforWordPress

    (@youtubeforwordpress)

    No, the class name is not set correctly in the style sheet file.

    The issue will be addressed in the next release of YouTube for WordPress. The class names will need to be changed.

    Thanks for letting us know that we helped out!

    Thread Starter starapple

    (@starapple)

    Thanks again. I’ll close this topic and delete the CSS when the upgrade arrives.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Search Results Grid Doesn't Display’ is closed to new replies.