-
AuthorPosts
-
March 22, 2015 at 8:58 pm #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!
March 22, 2015 at 9:37 pm #416066Hi,
Can you post the link to your website please?
Regards,
JosueMarch 22, 2015 at 9:42 pm #416067March 22, 2015 at 10:06 pm #416076Hey!
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!
JosueMarch 22, 2015 at 10:49 pm #416104Hi 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 10 years, 7 months ago by
Snerp.
March 22, 2015 at 11:02 pm #416111Lol I did notice that I left the CSS to “center” and changed that to left, but alas it still did not change.
March 22, 2015 at 11:07 pm #416115Hey!
Can you please indicate the page and the element you’re trying to change on the site?
Cheers!
JosueMarch 22, 2015 at 11:15 pm #416123Hi Josue,
it’s the homepage http://getitdev2.ca/ (see this screen cap)
March 24, 2015 at 1:19 am #416831Hey!
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!
IsmaelMarch 25, 2015 at 12:03 am #417472Thanks Ismael that worked.
-
This reply was modified 10 years, 7 months ago by
-
AuthorPosts
- The topic ‘Blog Post Format’ is closed to new replies.
