Home Forums Pro Themes Education Hub Pro Education Hub Pro – Featured Content customization

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #72955
    AOMA
    Participant

    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?

    http://aoma.ca/

    #72959
    wensolutions
    Keymaster

    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:

    http://prntscr.com/jounyi

    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.

    http://prntscr.com/joup09

    Hope this helps.

    Thank you.

    Best Regards!!

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