• Hi,

    I thought it might help some others if I posted these changes that I made in the child theme. The changes make inserted Youtube videos responsive, changes the color of the date text when using a light background (I am working on an easy way to change all the colors by groups and will post that when I have it working), and turns off the annoying related post at the bottom, all without modifying the code and just overriding the CSS.

    Here is my code:

    @import url("../duena/style.css");
    
    /* YouTube container for responsive theme
    ----------------------------------------------- */
    .video-container {
      position: relative;
      padding-bottom: 56.25%;
      padding-top: 30px;
      height: 0;
      overflow: hidden;
    }
    
    .video-container iframe,
    .video-container object,
    .video-container embed {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
    
    /* Post date color on white background
    ----------------------------------------------- */
    .post_date time {
      color: #434242;
    }
    
    /* Turn off Related post display
    ----------------------------------------------- */
    .related-posts {
      display: none;
    }

    Thanks

  • The topic ‘Responsive Youtube, turn off related post, date on light background’ is closed to new replies.