Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #618123

    Hello, I wish to add via “area widget” element the categories on top of my grid listed articles in the home page, where I have blog categories. Now by default the widget area displays the categories as a list. I wish to customize it in order to have the list items shown horizontal instead of vertical and with a background color, like a series of tabs.

    I tried to modify the style.css in the child theme but it seems not working. Could you please help me?

    Thank you!

    elena

    • This topic was modified 8 years, 7 months ago by elenapoliti.
    #618166

    Never mind: I figured it out. I use the masonry and add the blog categories!

    However I have now this question.
    In my masonry I have the category filter and the image, tittle, short excerpt and date of the post are visualized. However I would like to do the following:

    1) increase the excerpt (make it slightly longer)
    2) showing between the title and the excerpt also the category name

    I found an old post about this issue (https://kriesi.at/support/topic/displaying-category-title-on-post-description/) but it seems referring to the old versions of Enfold. I don’t find infact the reference code in the masonry-entries.php file and wouldn’t like to mess everything up!

    Thanks

    Elena

    • This reply was modified 8 years, 7 months ago by elenapoliti.
    #618625

    Hey!

    1- Please add following code to Functions.php file in Appearance > Editor

    add_filter( 'avf_masonry_excerpt_length', 'masonry_excerpt_length');
    function masonry_excerpt_length() {
    $excerpt = 200;
    return $excerpt;
    }

    2- Can you please post the link to your website?

    Cheers!
    Yigit

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