WordPress.org

Forums

Expound
[resolved] Size of Image in Page (8 posts)

  1. vinn95
    Member
    Posted 1 year ago #

    I'm trying to change the size of the image published in the next page ie. the page linked when the thumbnail image is clicked.
    I suppose below class controls the display.
    .wp-caption img,
    .wp-caption img[class*="wp-image-"] {
    But when I did the changes in my child theme, I couldn't find any changes. The current image size is 300x276.
    I know I'm wrong in my approach, May I expect experts' advice on the above.

  2. Konstantin Kovshenin
    Участник
    Theme Author

    Posted 1 year ago #

    Can you provide a URL with an example?

  3. vinn95
    Member
    Posted 1 year ago #

    Hi Konstantin,
    Thanks for your response.

    1.I would like to increase the image size in the below link
    http://vinns.in/?p=264

    2. In the homepage, I'm trying to move the position of the entry summary away from the image in the last set of images, after the featured secondary content images.

    Your advise Please.

  4. Konstantin Kovshenin
    Участник
    Theme Author

    Posted 1 year ago #

    It looks like you've inserted that image and explicitly provided a size of 300 pixels. Can you try and edit the post, insert the image again and make sure you pick full size or large?

    For 2, since you changed the image sizes, you'll have to change the left margin for the content blocks. Here's the CSS that provides the current margin, you can try increasing that, to say 360:

    .blog .site-content .has-post-thumbnail .entry-header, .archive .site-content .has-post-thumbnail .entry-header, .search .site-content .has-post-thumbnail .entry-header, .blog .site-content .has-post-thumbnail .entry-summary, .archive .site-content .has-post-thumbnail .entry-summary, .search .site-content .has-post-thumbnail .entry-summary, .blog .site-content .has-post-thumbnail .entry-meta, .archive .site-content .has-post-thumbnail .entry-meta, .search .site-content .has-post-thumbnail .entry-meta {
        margin-left: 360px;
    }

    Hope that helps!

  5. vinn95
    Member
    Posted 1 year ago #

    Thanks a lot Konstantin.
    Both worked..

  6. vinn95
    Member
    Posted 1 year ago #

    Hi,
    This is again about the image size discussed in point # 1
    Can I change the image size according to my preference ie 650x450, Am I allowed to do so? Or its a standard size?
    Please enlighten me.
    Thanks in advance.

  7. Konstantin Kovshenin
    Участник
    Theme Author

    Posted 1 year ago #

    Expound sets that size, but you can redefine that in a child theme with add_image_size and set_post_thumbnail_size. Hope that helps!

  8. vinn95
    Member
    Posted 1 year ago #

    Thanks Konstantin for your prompt reply :-) Will follow your advice.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.