Hi @dbmcnicol;
Sorry to hear about the issue. May I get your exact page URL, where you have embedded this content? So I can take a closer look from there directly. And assist you accordingly.
Thank you!
Hi @dbmcnicol,
Thank you so much for sharing the page URL. I have checked and it seems somehow the theme CSS is overriding the default settings. No worries, I suggest you kindly use the following CSS code to resolve the issue properly.
/* === Desktop Default (full size) === */
.ep-embed-content-wraper .ose-embedpress-responsive {
width: 800px !important;
height: 600px !important;
max-width: 100% !important; /* keeps it from overflowing small screens */
max-height: 600px !important;
}
.ep-embed-content-wraper .ose-embedpress-responsive img {
width: 100% !important; /* fills parent width */
height: auto !important; /* keeps aspect ratio */
max-height: 600px !important;
object-fit: cover;
}
/* === Tablet (≤ 1024px) === */
@media (max-width: 1024px) {
.ep-embed-content-wraper .ose-embedpress-responsive {
width: 100% !important;
height: auto !important;
}
.ep-embed-content-wraper .ose-embedpress-responsive img {
width: 100% !important;
height: auto !important;
max-height: none !important;
}
}
/* === Mobile (≤ 768px) === */
@media (max-width: 768px) {
.ep-embed-content-wraper .ose-embedpress-responsive {
width: 100% !important;
height: auto !important;
}
.ep-embed-content-wraper .ose-embedpress-responsive img {
width: 100% !important;
height: auto !important;
}
}
You can simply add custom CSS by navigating to your WordPress Dashboard -> Appearance -> Customize.
After you are on the Customizer page, search for the “Additional CSS” option. You can then go ahead and insert CSS Code. Please check this screencast to learn more – https://d.pr/v/QrrfTw
I hope it helps. Kindly let me know how it works!
Best Regrads,
~Amit.
Ah thank you, that worked on the photos I have at that set in the embedpress block at 800×600, but I have one set at a width of 500 and it’s showing at 800. Any thoughts?
Solved the not using the stated smaller size by removing this at the top of what you sent me. All is good now!
width: 800px !important; height: 600px !important;
Hi @dbmcnicol
Glad to hear it’s all working perfectly now! 🎉
Feel free to reach us anytime if you need any further assistance from us. We’ll be glad to assist you further.
Also, If you’ve enjoyed our support & plugin, could I kindly ask for a quick 5⭐ review? It really helps us grow:
👉 Leave a review here
Thanks so much for your support! 🙌