Shop Categories

X

Soft crop in post featured image.

Home Forums Agama Pro Soft crop in post featured image.

Topic Resolution: Resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8292
    cstfr37
    Participant

    Hi Jerry,
    Thanks for the theme. Nice work.
    A question about featured image in post.
    I want to used the layout Blog>General>Layout>List Layout format.
    Image in blog have 776×310 size.
    Is there a way to have a soft crop for the featured image (IE 776×9999) ?

    Thanks
    Jean-Pierre

    #8294
    Zex
    Moderator

    Hello Jean-Piere!

    For that you want, you will need to modify a theme file, so I suggest you use the Agama Pro-Child theme to avoid the changes when the theme is updated.

    Then follow the next steps:

    1.Log-in to your hosting space (server) via FTP client.
    On your server, find the agama-pro folder in the theme folder
    (path should be this: … / wp-content / themes / agama-pro /)

    2. find the agama-functions.php file inside the wp-content/themes/agama-pro/framework/ folder.
    3. Copy that file to the wp-content/themes/agama-pro-child/framework/ folder.
    4. Edit file in the agama-pro-child folder with some text editor (Notepad++)
    5. search for words “ blog-large” in line 38.
    6.Change the Width and Height value for the ‘blog-large’.
    7. Save the file.

    PS. You can also edit this file with the theme editor.

    https://prnt.sc/iurysr

    Regards

    #8296
    cstfr37
    Participant

    Hi Zex
    thank’s for the trick

    Regards

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