Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #253651
    Aldmor
    Participant

    Hi,
    I am trying to change the size of a post thumbnail
    In the file function.php I change one line to set:

    line 46 set_post_thumbnail_size( 100, 100, true );

    and unfortunately it doesn’t work
    However in the browser, parameters img are correct ( “hight=100 and with=56”), but still the picture looks like it has its original parameters
    Also the picture is in scale, no matter if the parameter is set to true or false

    So, does anybody know why it doesn’t work?
    Maybe I need to change paramteres somewhere else?

    #253695
    Skandha
    Keymaster

    @aldmor: Hello there,
    I suggest you not to edit core theme files directly as all your edits will be lost when you update the theme. Please create a child theme before making any changes to the theme files.

    To change the size of post thumbnail you will need to create a child theme and do a little bit of customization. Let me know if you are familiar with child theme customization so that I can help you out.

    Kind Regards,
    Skandha

    #257858
    [email protected]
    Participant

    what is a child theme?

    #257874
    Skandha
    Keymaster

    @contatoflaviaarantes-com: Hello there,
    Please follow this link to know about child theme.

    Kind Regards,
    Skandha

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.