WordPress.org

Ready to get started?Download WordPress

Forums

How do I add a post divider to K2 theme? (5 posts)

  1. jamesfoster
    Member
    Posted 4 years ago #

    How do I add a post divider to K2 theme? I'm trying to add a line or image to separate each post.

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    There are thousands of WordPress themes - which means that many people won't be familiar with your particular theme. So a link to your site where people can see the theme might result in more responses.

  3. Andrei Olsen
    Member
    Posted 4 years ago #

    This will add a line:

    .post{
        border-bottom: 1px solid #000;
    }

    This will add an image:

    .post{
        background: transparent url('YOUR URL HERE') no-repeat 50% 100%;
    }

    You may need to adjust some parameters:
    http://www.w3schools.com/css/css_background.asp

  4. niktabah
    Member
    Posted 3 years ago #

    Dear all

    were should i put the above code, is it style.css??

  5. 123milliseconds
    Member
    Posted 3 years ago #

    YES in the style.css of your current theme

    SEarch for .post and it there

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags