Okay
  Public Ticket #1363114
post excerpt & button styling
Closed

Comments

  • Peter started the conversation

    Hi,

    I have an issue with my post excerpt and button styling ( see attachment). I use a 'post grid' as an overview of different pages on my website. 

    I don't want the post  excerpt ( the text ) to be so long and also it seems impossible to change the red color of the button ? 

    I already looked at the Visual composer tutorials but i didn't get a clear explanation on this issue in particular..... 

    Thanks in advance for the help. 

  •  2,010
    Ocean replied

    Hi,

    Because this is a default shortcode of Visual Composer, so we can't edit it.

    We just can help you change button styling now.

    Thanks for contacting.

  • Peter replied

    Hi,

    So what is according to you the best way to make a grid overview of different pages ( what are the possibilities within the Archi theme )  ?

    Thanks,

    Peter

  •  2,010
    Ocean replied

    Hi,

    You can try using some templates:

  • Peter replied

    hi , 

    thanks for the reply .... but where can i change / customise the button style ( see circles in attachment) ? 

    Is there a customs CSS code to change this ? 

    Thanks 

  •  2,010
    Ocean replied

    Hello,

    1, Build your Post Layout for "Post Grid": http://prntscr.com/h9ouht

    2, Choose your new "Grid Builder" in Post Grid: http://prntscr.com/h9otyw

    3, Watch more video tutorial: 

    3a, Post Grid: https://wpbakery.com/video-academy/post-and-custom-posts-type-grid/

    3b, Grid Builder: https://wpbakery.com/video-academy/grid-builder/

    Thank you

  • _emk replied

    You can control excerpts length with WP filters. Try placing this in your theme’s functions.php file.
    In my case, I just need 10 words to display:

    function custom_excerpt_length( $length ) {    return 10;
    }
    add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
  •  2,010
    Ocean replied

    Hello,

    Where? You want just need 10 words to display?

    Thank you