tweaking K2, a few CSS questions (3 posts)

  1. Inkdryer
    Posted 6 years ago #

    I have been tweaking the crap out of K2 and really enjoying it! I know very little about CSS but I am managing to hack my way through.

    I just have a few questions that I can not figure out ...

    How do I minimize the space between my post TITLE and the entry. I am sure it is probably a padding or margin issue but I can not figure it out!

    How do I change the color of links in the meta information for each post (published by Chris in Photgraphy category, blah blah blah) without changing other colors as well.

    I know how to DO these things I just need help in figuring out where to find them within the CSS. I can post my code on here if that might help?

  2. cricri75
    Posted 6 years ago #


    You have to change som paramteres in the style.css file.

    To minimaze the spaxe between the title and the entry search for this:

    .hentry {
    margin: XXpx 0 35px;
    position: relative;

    Replace the XX with a spacing you find comfortable. I'm using 10px on my site.

    Changing colors are a more quirky operation I think. First look for this, wich will alter the colors of your dynamic meta content:

    .entry-meta a, .comment-meta a {
    color: XXX;
    Replace the XXX with the color of your choice.

    To change the colors of the static meta information you have to look for this:

    .entry-meta { /* Time and category for blog entries */
    font-size: 1.2em;
    line-height: 1.3em;
    display: block;
    margin-top: 1px;
    color: XXX;
    background: #444;

    Change the XXX to the color you wish for.

    If you set up the same color both places the whole line will ofcourse will have the same color.

    Have fun!

  3. cricri75
    Posted 6 years ago #

    Sorry. I think i missed on you first question.

    You asked for the space between the title and the entry.

    Then you have to look for this:

    .entry-content blockquote {
    margin: XXpx 0;

    Change the XX to what you want.

    The parameter I mentioned first in my last post defines the space between you posts. Thats also usefull!



Topic Closed

This topic has been closed to new replies.

About this Topic