Viewing 11 replies - 1 through 11 (of 11 total)
  • Try these in your child theme style.css:

    Post body:

    #content p {
       styles here;
    }

    Post title:

    #content .entry-title {
       styles here;
    }

    Which part of the widgets are you wanting to change?

    Are you using Firebug to look at the CSS? It’s really a great help for these kinds of things. In general, the order of the CSS should not matter so long as your selectors are specific enough.

    Thread Starter notawoodpecker

    (@notawoodpecker)

    In general, the order of the CSS should not matter so long as your selectors are specific enough.

    OK, that’s the part I wasn’t too sure about.

    What about cutting the summary word count on the front page?

    It’s in this thread — see the post by Digital Raindrops:

    http://wordpress.org/support/topic/changing-excerpt-length?replies=20

    Thread Starter notawoodpecker

    (@notawoodpecker)

    Well, I see the code, but I have no idea what needs to be modified:

    remove_filter( ‘excerpt_length’, ‘twentyten_excerpt_length’ );

    function my_twentyten_excerpt_length( $length ) {
    return 50;
    }
    add_filter( ‘excerpt_length’, ‘my_twentyten_excerpt_length’ );

    Leave it intact except for the ’50’?

    Yes, put that in your child theme functions.php file (you may need to create one) and change the 50 to whatever you want it to be.

    Thread Starter notawoodpecker

    (@notawoodpecker)

    Well, now see, I was going to try and put it in the stylesheet with the other stuff.

    OY!

    Thread Starter notawoodpecker

    (@notawoodpecker)

    Created the file and this is what I put in there but I don’t see any changes to the displayed word count.

    <?php
    remove_filter( 'excerpt_length', 'twentyten_excerpt_length' );
    
    function my_twentyten_excerpt_length( $length ) {
    return 25;
    }
    add_filter( 'excerpt_length', 'my_twentyten_excerpt_length' );
    ?>

    Make sure you’ve cleared any and all caches – site, server, browser.

    Thread Starter notawoodpecker

    (@notawoodpecker)

    I’ll try that.

    The file syntax is right though?

    Thread Starter notawoodpecker

    (@notawoodpecker)

    Maybe I’m missing something. This seems to have taken effect on the monthly archive pages, but not the main posts page.

    Thread Starter notawoodpecker

    (@notawoodpecker)

    Bumping again….

    Word count on the main page hasn’t changed. I’ve searched other threads and tried other options, but with no results.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘A few questions….’ is closed to new replies.