- This topic has 1 reply, 2 voices, and was last updated 6 years, 7 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Education Hub Pro › Education Hub Pro – Featured Content customization
Hello,
I’m trying to shorten the number of words or lines on the home page Feature Content section and nothing seems to be working. I looked in Appearance > Customize and there doesn’t seem to be an option. I also tried adding some custom CSS, using the following code to see if I could do anything to alter that section, but nothing worked.
#feature-content {
display: none !important;
}
I’d also like the Featured content items to stack on mobile rather than appearing as 4 columns.
Can you help?
Hello @aoma,
First of all thank you very much for using the Education hub pro theme.
Now since the feature content section does not have the option to control the no of words that appear in the featured content section, as a workaround you can place desired no of words you want to display in the excerpt field of the post edit screen if you have chosen to display the content using the posts.
Screenshot:
Now if you have chosen the page option then you won’t have any excerpt field. So in order to add the excerpt field in the page please add below given code in your child theme functions.php file.
add_post_type_support( 'page', 'excerpt' );
`
You can create the child theme manually or simply create the child theme using the plugins available.
Now follow the similar process to ad the words as like in the posts.
Ps: Do not forget to enable the excerpt option for both post, page from the screen option at top right corner.
Hope this helps.
Thank you.
Best Regards!!
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |