Editing Look and css of wordpress embeds

Posted in: Newspaper
Post count: 61

Hello

I want to change lokk of wordpress embeds, which files are nneed to be modified.

Post count: 20688

Hi,

Please specify what exactly you want to modify about embedding, for a better understanding.

Post count: 61

See the link below , i have embedded a wordpress post at the end of the post. We want to change the look of this embed as the image size is very large.

https://www.pagalparrot.com/is-indian-government-helping-people-of-syria-or-not.html

Screenshot : https://ibb.co/kJLuhc

Post count: 20688

The embed iframe will be limited to the post content width, which is 696px
https://www.screencast.com/t/RNc5SXCKNTr
The iframe will use 100% of the post available width. I could give you a code to reduce the width like this
https://www.screencast.com/t/bgbDXZwFkC
This is the code if you want to try it

.td-post-content .wp-embedded-content {
max-width: 80%!important;
}
.td-post-content .wp-embedded-content + p {
text-align: center;
}

Thanks

Post count: 20688

The embed iframe will be limited to the post content width, which is 696px
https://www.screencast.com/t/RNc5SXCKNTr
The iframe will use 100% of the post available width. I could give you a code to reduce the width like this
https://www.screencast.com/t/bgbDXZwFkC
This is the code if you want to try it

.td-post-content .wp-embedded-content {
max-width: 80%!important;
}
.td-post-content .wp-embedded-content + p {
text-align: center;
}

Thanks

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