• hi all πŸ™‚
    i am new in WP , i want to add a single horizontal line automatically between posts in my WP site ( twenty thirteen theme ) ..
    it would be better if there is a plugin to do the job!

    [bump moderated]

Viewing 5 replies - 1 through 5 (of 5 total)
  • This can be done CSS. If you can provide your page URL, I can get your the required CSS changes.

    Thread Starter willyxx

    (@willyxx)

    thanks jitendrajoshi ,
    i have my website @ localhost , but it’s built on the default theme of twenty thirteen …… and twenty thirteen doesn’t insert horizontal line between posts in default..

    Add the following CSS rule to your style.css or install https://wordpress.org/plugins/simple-custom-css/
    to add the CSS rule below:

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

    (@questas_admin)

    It is not a good idea to edit the theme or WP Core files. If you add css coding you can get a plugin to add css, I have used Simple Custom CSS and it works well, or if you are going to do more extensive customization in the future, a child theme is better. You can do this on localhost as well.

    The best way to make changes like this to a theme is to use a child theme, so your tweaks won’t be overwritten when updating the theme. Here are some guides in case you haven’t made one before:

    https://codex.wordpress.org/Child_Themes
    http://op111.net/53/

    Thread Starter willyxx

    (@willyxx)

    ok guys, the plugin doesn’t work but i added the code to my css style manually. the result is : wide horizontal line from along the page . now : how to fix it to display only under he post not wide the hole page? >>> where to put the code exactly in the style css ?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘needed : horizontal line between posts in twenty thirteen’ is closed to new replies.