Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #83196
    Wan
    Member

    Hello ,

    how to resize Featured Content image box , Because i try put image size width (400px) but the image change to width( 300px).

    thanks

    #83214
    Mahesh
    Participant

    Hi @Wan,

    Please post in your site url.

    Regards,
    Mahesh

    #83221
    Wan
    Member

    Hi Mahesh ,

    My site http://www.pinjamanperibadi.com.my

    see at featured image front page , column *pinjaman peribadi , hubungi Kami , Senarai jabatan

    i try put image with 400px width but it display (300×108).jpg .

    thanks .

    #83228
    Mahesh
    Participant

    Hi Wan,

    The featured image is the cropped image (cropped to 400 * 225 by theme). The cropping size depends upon the image size and aspect ratio. It is recommended to use large images having aspect ratio 16:9.

    I saw you’ve modified some style so the width of featured content is a little narrower. You have CSS as below:

    #featured-content.layout-three .hentry {
    }

    which should be (by default):

    #featured-content.layout-three .hentry {
        width: 386px;
    }

    If you want to make any changes, please use child theme. Further details on creating child theme can be found HERE. It is not a good way to modify the theme core files and on every updates you’ll lose all the changes to it.

    Let me if this helps with your issue.

    Regards,
    Mahesh

    #83232
    Wan
    Member

    Hi ,

    thx for fast reply ,

    i`have change width (386px)

    <img src=”http://www.pinjamanperibadi.com.my/wp-content/uploads/2016/01/Untitled-1-1-300×166.jpg&#8221; alt=”iamge” />

    #featured-content.layout-three .hentry {
        width: 386px;
    }

    but the image still witdh 300px

    thanks for suggestion for child theme . Tq

    #83293
    Mahesh
    Participant

    Hi @Wan,

    Have you made any changes to the “catchbase-featured-content” image size in the theme. Because I checked by uploading the featured image with size 1200×720 and 600×360, both produces the featured content image of 447×225.

    Please check if the following code exists in catch-base/inc/catchbase-core.php line 116.

    Regards,
    Mahesh

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Resize Featured Content image’ is closed to new replies.