Support Forum
this may be a little dense, but, here is the issue I am running into, my wordpress theme handles video embeds and such at 100 percent width for responsiveness, which carries over to the forum, so embedded videos are huge, I know you can add something like this work around that
.spPostContent iframe {
max-width: 640px !important;
max-height: 360px !important;
}
but, that controls all Iframes, such as a imgur gallery, which would be preferable for 100% width, is there anyway to distinguish between the two?
you should be able to target the iframe specifically if it contains and imgur url... something like:
iframe[src*="imgur"] {...}
of course, replace the ... with the css you want...
Visit Cruise Talk Central and Mr Papa's World
not sure exactly what you mean by custom css... but yes, you can add it to your sp theme (child?)...
just not sure what you want to do...
Visit Cruise Talk Central and Mr Papa's World
I would expect it should work in either... though you may have to target a bit more specifically for sp... maybe
#spMainContainer iframe[src*="imgur"] {...}
but without #spMainContainer may work too... just try both
Visit Cruise Talk Central and Mr Papa's World