Forums

[resolved] I appeal to the Gods of CSS :) I think... (3 posts)

  1. dorinspoaller
    Member
    Posted 2 years ago #

    Hi there.

    1st:
    I want to change the number of characters that a featured article function displays on my homepage. The problem is that I can't find the place where this can be changed. Can I change this from CSS ?

    2nd:
    I want the preview text that shows up in the featured article function that I was talking about earlier to align full (or is it justify?) in the small box that it shows up.

    I'm using Arras Theme 1.36 and my blog is http://www.anilumina.com. The problem is situated in the 2nd featured article section, the 3 boxes that show up under the big picture.

    Thanks in advance to anyone that helps me with this.

  2. alchymyth
    The Sweeper
    Posted 2 years ago #

    1st:
    in /library/template.php (around line 285):

    <?php arras_newsheader($page_type) ?>
    		<div class="entry-summary"><?php echo arras_strip_content(get_the_excerpt(), 20); ?></div>
    		<?php arras_newsfooter($page_type) ?>

    the number 20 determines the length of the excerpt in words.

    2nd:
    in default.css, add 'text-align:justify;' to this style:

    .posts-default .entry-summary, .posts-quick .entry-summary	{ color: #666; overflow: hidden; text-align:justify; }
  3. dorinspoaller
    Member
    Posted 2 years ago #

    Thank you, you are the best!

Topic Closed

This topic has been closed to new replies.

About this Topic