Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Aleksandar Uro?evi?

    (@urkekg)

    Hello totogigi,

    You can use CSS to tune look and feel of YTC block on page. Example:

    <style type="text/css">
    /* add padding 5px around video block */
    .youtube_channel .ytc_video_container {
      padding: 5px;
      box-sizing: border-box;
    }
    /* decrease size and center video title, add height of 3 lines */
    .youtube_channel .ytc_video_container h3.ytc_title {
      font-size: 14px;
      font-weight: 400;
      line-height: 1.4em;
      height: 4.2em;
      margin: 0;
      text-align: center;
      letter-spacing: initial;
    }
    </style>

    You can add these rules to theme style.css, or to some custom style section. If you do not have any of them, you can install Head & Footer Code plugin and add code above to global Header section, or only to Head section on particular page (to avoid unneeded code across whole site if you have YTC only on single page).

    Cheers,
    Aleksandar

    Thread Starter totogigi

    (@totogigi)

    Thanks a lot! I just still have a problem with the padding that doesn’t work:
    https://www.gasparoli.it/video-2/

    Thanks for any help
    Alberto

    Plugin Author Aleksandar Uro?evi?

    (@urkekg)

    When you add styles to CSS file, then you don’t need opening and closing style HTML tag.

    Remove <style type="text/css"> and </style> from file responsive.css

    Thread Starter totogigi

    (@totogigi)

    Perfect! Thanks a lot!
    Alberto

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem with text dimension and grid space’ is closed to new replies.