• Hi!

    So I am super new to wordpress and really coding in general and I created a new theme following a tutorial and added some fake video and pictures to the posts to see what it would look like and they are not responsive at all!

    you can see it here:

    https://www.dominanostra.com/joe

    Not sure what i need to put in my code to enable it to be responsive.

    Any help would be greatly appreciated!! Thank you!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi There,

    Looks like you have this in a div that holds your photos:

    style="width: 947px"

    If you remove that, you should be in good shape on mobile (at least, the quick test I did removing it via Firebug seemed to do the trick).

    Thread Starter odomina92

    (@odomina92)

    Gosh! You are probably right. for some reason I am having a ton of trouble locating that though, where did you find it? Was it nested in something else?

    Here’s where I found it when looking at the source:

    <div class="wp-caption aligncenter" style="width: 947px">
    <img class="" width="937" height="299" src="https://tufswesternliterature.files.wordpress.com/2015/10/cropped-books.jpg">
    <p class="wp-caption-text">All of Western Literature</p>
    </div>

    I don’t know if it’s something hard coded into the theme’s template or if it is something being added directly through the WordPress content editor. But removing it should fix things.

    Thread Starter odomina92

    (@odomina92)

    AH! I Found it! So I had to go into the wordpress dashboard and manually delete it from that specific post, because it wasnt in the general code. Is there a way to make it so that doesnt happen every single time I put a new post in?

    Awesome! It generally shouldn’t do that by default. I would create a test blog post, add your image (while not touching any of the settings with the image when you add it in). Test it out and see if that code gets added in somewhere. It could be inadvertently being added in or who knows it might be a plugin doing it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Video and Picture not-Responsive’ is closed to new replies.