Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #416059

    Hi,

    is there a way to have the formatting of the Avia Layout Builder “Blog Post” widget not centered, and to have way less of an excerpt?

    I only would like to see a single sentence for the excerpt if that is possible, and the entire post justified to the left.

    Any help would be much appreciated as usual, thank!

    #416066

    Hi,

    Can you post the link to your website please?

    Regards,
    Josue

    #416067
    #416076

    Hey!

    Add this to your child theme functions.php:

    function custom_excerpt_length( $length ) {
       return 10;
    }
    add_filter( ‘excerpt_length’, ‘custom_excerpt_length’, 999 );

    And this to child style.css

    .slide-entry-excerpt{
        text-align: center;
    }

    Cheers! 
    Josue

    #416104

    Hi Josue,

    thanks for the quick reply as usual.

    I added the code to the Child theme functions.php and style.css and nothing changed. (see the screen caps)

    http://postimg.org/image/m5p8zbljp/
    http://postimg.org/image/4gxi7p9sl/

    Did I miss something?

    • This reply was modified 9 years, 8 months ago by Snerp.
    #416111

    Lol I did notice that I left the CSS to “center” and changed that to left, but alas it still did not change.

    #416115

    Hey!

    Can you please indicate the page and the element you’re trying to change on the site?

    Cheers!
    Josue

    #416123

    Hi Josue,

    it’s the homepage http://getitdev2.ca/ (see this screen cap)

    http://postimg.org/image/tceqxe8l9/

    #416831

    Hey!

    Did you modify the excerpt? It only display the “read more” link. Add this to left align the title and post meta info:

    #top .fullsize .template-blog .post-title, #top .fullsize .template-blog .post-meta-infos {
      text-align: left;
    }

    Cheers!
    Ismael

    #417472

    Thanks Ismael that worked.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Blog Post Format’ is closed to new replies.