Home › Forums › Legacy Support › Support queries › Styling issues › Features Image
- This topic has 14 replies, 3 voices, and was last updated 3 years, 5 months ago by Ada.
Viewing 15 posts - 1 through 15 (of 15 total)
-
AuthorPosts
-
November 27, 2020 at 11:27 am #326821denizci2006ParticipantDear Sir / Madam, How can I resize the features images, and increase the word number in excerpt? Thankj you in advance.November 27, 2020 at 11:28 am #326822denizci2006ParticipantThis reply has been marked as private.November 28, 2020 at 4:55 am #326956DianaParticipantFor featured images, please use this custom css and change the width and height px for the image according to your requirement Add this css in appearance > customize > custom css .category-articles .blogpost_style3 .featured img{ width:200px !important; height:200px !important; } To increase the number of words in the excerpt is only possible only for this page is by overwriting the code using Blank Child Theme.November 28, 2020 at 2:29 pm #327057denizci2006ParticipantThis reply has been marked as private.November 30, 2020 at 6:41 am #327183AdaParticipantThis reply has been marked as private.November 30, 2020 at 5:23 pm #327307denizci2006ParticipantHello, Thank you for your reply, Ada. The code worked. May I learn how I can increase the word number in the excerpt for categoy pages. I have already used Blank Child. Thank you in advance.December 1, 2020 at 5:56 am #327354DianaParticipantThis code should work for you
But as per my knowledge it will increase the excerpt length of all places. Let me know if you want to increase the excerpt length on a particular course category page or for all course category pages The above code you should add either in Child Theme's function.php or in wp-admin > Plugins > Editor > Select WPLMS Customizer Plugin > wplms-customizer.phpadd_filter( 'excerpt_length', function($length) { return 40; } );
December 1, 2020 at 5:34 pm #327488denizci2006ParticipantHello, Thank you for your reply Diana. I don't need it at the specific category. The code should affect at all category pages. That's why, your idea is ok for me. I added the code you gave me to "WPLMS Customizer Plugin", and then Child Theme’s "function.php". However, both method didn't work for me. Do you have any other idea? Best regardsDecember 2, 2020 at 6:48 pm #327728DianaParticipantPlease ping me tomorrow till then I will find a way to solve this issue Thank youDecember 3, 2020 at 8:10 pm #327951denizci2006ParticipantHello, I would like to ping you :) Best regardsDecember 4, 2020 at 1:59 pm #328085DianaParticipantThis reply has been marked as private.December 4, 2020 at 9:47 pm #328160denizci2006ParticipantHi Diana, Thank you for your interest. The problem is solved. Kindly explain how I solved by going through the page you suggested. I added the code below in the functions.php in Blank Child Theme. Best regards // Filter except length to 35 words. // tn custom excerpt length function tn_custom_excerpt_length( $length ) { return 35; } add_filter( 'excerpt_length', 'tn_custom_excerpt_length', 999 );December 5, 2020 at 4:29 am #328175DianaParticipantYou mentioned that problem is solved. Now, what you want to ask?December 5, 2020 at 5:30 am #328188denizci2006ParticipantNo, just I would like share solution way with you and your other customers.December 5, 2020 at 7:40 am #328203AdaParticipantThis reply has been marked as private. -
AuthorPosts
Viewing 15 posts - 1 through 15 (of 15 total)
- The topic ‘Features Image’ is closed to new replies.