Viewing 4 replies - 1 through 4 (of 4 total)
  • do not edit Twenty Eleven drectly – create a child theme to work with http://codex.wordpress.org/Child_Themes

    it would actually help if the link would not point to a password protected page.

    the content image is formatted by:

    /* Images */
    .entry-content img,
    .comment-content img,
    .widget img {
    	max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
    }

    and some more lines just after these.

    Thread Starter vinoman

    (@vinoman)

    Thanks I’ll read up on child themes.

    but what do you mean by “and some more lines just after these. “

    So I would be added the original stlye sheet to the new child theme folder and adding:

    /* Images */
    .entry-content img,
    .comment-content img,
    .widget img {
    max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
    }

    to the style sheet. Correct?

    and some more lines just after these

    just means:

    once you have found these styles in style.css of your theme, keep reading in style.css as there are more lines directly below the posted ones, which influence the image width.

    I just don’t see a point posting large sections of a stylesheet in the forum.

    So I would be added the original stlye sheet to the new child theme folder and adding:

    no – you need to add new styles to style.css in the child theme, to overwrite the exiting formatting;

    example:

    /* Images */
    .entry-content img,
    .comment-content img,
    .widget img {
    max-width: auto; /* corrected for full size images */
    }
    Thread Starter vinoman

    (@vinoman)

    OK, thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to expand image’ is closed to new replies.