Tagged: catch base
- This topic has 5 replies, 2 voices, and was last updated 8 years, 2 months ago by Mahesh.
-
AuthorPosts
-
January 19, 2016 at 6:26 am #83196WanMember
Hello ,
how to resize Featured Content image box , Because i try put image size width (400px) but the image change to width( 300px).
thanks
January 19, 2016 at 1:22 pm #83214January 19, 2016 at 3:35 pm #83221WanMemberHi 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 .
January 19, 2016 at 5:01 pm #83228MaheshKeymasterHi 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,
MaheshJanuary 19, 2016 at 5:55 pm #83232WanMemberHi ,
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” alt=”iamge” />
#featured-content.layout-three .hentry { width: 386px; }
but the image still witdh 300px
thanks for suggestion for child theme . Tq
January 20, 2016 at 9:39 am #83293MaheshKeymasterHi @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 -
AuthorPosts
- The topic ‘Resize Featured Content image’ is closed to new replies.