Background Color of Excerpt

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2511 Reply

    Anonymous

    Thanks for a great theme.

    How do I change the grey background of the actual post and how do remove or put the categories at the bottom in the excerpt?

    #2512

    Ron
    Keymaster

    Go to Asteroid Options -> Custom CSS and add this code

    .blog-view {
        background: #8FB7FF;
    }

    Change the value of #8FB7FF to whatever you like. http://www.color-hex.com

    For your second request you’ll have to follow a couple of steps.
    1. Install this plugin PHP Code Widget
    2. Go back to Asteroid Options -> Custom CSS add this :

    .blog-view > .entry-categories {
        display: none;
    }

    3. Also on Asteroid Options, go to Widget Areas tab. Check below excerpts. Save.
    4. Go to WordPress widgets page. Add a PHP widget on the “Below Excerpts” area.
    5. Add this code on the PHP widget :

    <div class="entry-categories">
        <?php the_category(' '); ?>
    </div>

    Good luck,
    Ron

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Background Color of Excerpt
Your information: