Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #646227

    Hi,

    I’d like to use an image to divide the different posts on the blog overview page. Which files do I need to edit to do this?

    Link in private section.

    Thanks!

    #646265

    Hey Daniel,

    Thank you for the clear explanation of what you want to achieve, I like the colors on the site you have used.

    below is the CSS code to add bottom border for the posts please replace the image with your own :)

    
    .post-entry.post-entry-type-standard.single-small.post.type-post.status-publish.format-standard {
    	background: url('https://markinns.com/archive/images/pencil-straight-line.png') repeat-x;
    	background-position: bottom center;
    }

    Best regards,
    Vinay

    #646312

    Hey Vinay,

    Thanks for the kind words :)

    I’ve added a code block to the general blog page but this doesn’t have any effect (which kinda makes sense since the CSS is not applied to some section or div. Where should I put it?

    Thanks!

    #646329

    Hi,

    It should look like the screenshot below. Please replace the image URL and try adding this code to your child themes style.css file which can be accessed via Appearance > Editor

    If you still have any issue Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Vinay

    #646332

    Hi Vinay,

    We’re almost there! The divider image is now on top of the posts, they must be at the bottom. And after the last blog post there must be no image.

    #646357

    Hi,

    The reason it appears on top is because the code is missing “background-position: bottom center;”
    For more info please check https://css-tricks.com/almanac/properties/b/background-position/

    To hide the background on last item Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    
    .content article.post-entry:nth-child(3) {
    	background: none!important;
    }
    

    Best regards,
    Vinay

    #646379

    Thanks for your quick help Vinay, it works now!

    #646391

    Hey!

    That’s looking really nice now :)
    Don’t forget rate our theme if you have not on themeforest.
    Thank you for using Enfold!

    Regards,
    Vinay

    • This reply was modified 8 years, 5 months ago by Vinay.
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Add image between blog posts’ is closed to new replies.