• rdoctor

    (@rdoctor)


    With the help of the following site https://benmarshall.me/responsive-iframes/ i was able to make adjustment to my audiomack container.

    Add the following code to the custom css section on the theme customization page and adjust the height value as needed:

    .audiomack_player_container {
      overflow: hidden;
      /* Calculated from the aspect ration of the content (in case of 16:9 it is 9/16= 0.5625)*/
      padding-top: 56.25%;
      position: relative;
    }
     
    .audiomack_player_container iframe {
       border: 0;
       height: 88%;
       left: 0;
       position: absolute;
       top: 0;
       }
  • The topic ‘Adjusting Height’ is closed to new replies.