Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Hagai Shaul

    (@hagai)

    anyone?

    Thread Starter Hagai Shaul

    (@hagai)

    Found the solution so one who faces the same issue can use it:

    Using the following link in the codex:
    Content Width

    added to theme function.php file the following code + setting the width as should be in the max size to screens:

    if ( ! isset( $content_width ) ) {
    	$content_width = #NUMBER#;
    }

    You should change the number to your max width container in your website.

    Lastly added the following code to the css:

    .size-auto,
    .size-full,
    .size-large,
    .size-medium,
    .size-thumbnail {
    	max-width: 100%;
    	height: auto;
    }

    Have fun!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘jetpack gallery is not using 100% width’ is closed to new replies.