• 0
Sign in to follow this  
Followers 0

Justify and reduce length at ALL Excerpts

Question

Posted · Report post

Hello, I would like to justify Excerpt text and reduce the length of all to half of the actual size. I find the way to do it one by one, form the edit post page, but I would prefer to change the code and do it automatically. Thank you very mcuh!

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

Thank you very much Kate, I don't exactly the code to say where "text-align:justify", I don't really know each part of the theme to use it, like .posts .excerpt etc. is it correct if I write:

.excertp "text-align:justify"

And about the functions, I have to write the new function on function.php in base theme? Thank you very much!

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Put this in Custom Code -> Custom CSS:

.post-excerpt p { text-align:justify }

The answer to your second question is yes.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0