Problem with iframe

Posted in: Newsmag
Post count: 2

Hello i use this plugin: https://wordpress.org/plugins/read-more-without-refresh/ that help me hide some text and when the visitor clicks on the read more(εδώ), the whole post appears. But when there is an iframe in the post there is problem with its height. An example: http://takalitera.com/2016/04/18/εάν-δεν-το-δείτε-δεν-θα-το-πιστεύετε-δε. Can you please help me solve this problem?

Post count: 93

That might be a thing to report to the plugin developer since it isn’t a newsmag function.
But i’m curious, why do you need to hide a portion of the post in the first place, looks annoying for users.

Post count: 6535

Hi @takalitera

I’ve checked the indicated link and seems that the problem is an inline css added on the iframe from youtube: http://screencast.com/t/bniUS1UEV With the actual structure I can’t overwrite this css as there is no id/class for the iframe. You will need to insert your videos inside a container so it can be targeted with css, here is an example: http://screencast.com/t/FNE632MqQpm

//your iframe code goes here

Then use this css in theme panel > custom code > custom css to set a the height for the video:

.my-video iframe{
height: 400px!important;
}

Read More Without Refresh plugin is not tested to work with the theme and we cannot guarantee it will work 100%. We have not tested this plugin and we have no idea of the plugin functionality in order to provide an answer. Unfortunately time does not allow us to provide plugin implementation support.
If you really want to use this plugin we suggest you hire a freelancer to help you with implementation. You can hire one from studio.envato.com

Thank you for your understanding.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newsmag’ is closed to new topics and replies.