• Resolved silvergenes

    (@silvergenes)


    I’m using the Constructor Default theme and now would like to add an image between posts. I have added this to css:

    .hentry .footer .line {
            height:64px !important;
            border: 0;
            background: url(myImage.png) 50% top no-repeat;
    }

    Image file has been uploaded to: wp_content>themes>constructor>theme>default Nothing has changed so I also uploaded to: wp_content>themes>constructor>images

    I had already removed date/time/author so would this be the problem? It does have social media links that are working fine. If it’s not possible to add it, that’s fine too. It was just a later thought or else I would have used one of the other Constructor themes.
    My site is here.
    Any suggestions are welcome. Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You can add the above background line to .hentry .entry { near line 313 of style.css, but you have to make sure the myImage.png is in the same directory as the style.css

    Thread Starter silvergenes

    (@silvergenes)

    Thank you very much for getting back to me. I’ll try that.

    Thread Starter silvergenes

    (@silvergenes)

    I must be doing something wrong. I have copied the background line here:

    .hentry .entry {
        font-size:1.4em;
        line-height:1.6em;
        padding:4px;
        overflow:hidden;
    background: url(myImage.png) 50% top no-repeat;
    }

    The actual image is in the same directory but I still have nothing showing.

    This will display the image:
    background:url("images/FlowerBridge.png") no-repeat scroll 50% top transparent;

    …but you’ll have to tweek the positioning. Try adding:
    padding-top: 75px;

    Thread Starter silvergenes

    (@silvergenes)

    Got it! THANK YOU! Now I can play with this awhile and get just the right image to separate the entries. You’re amazing! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Want to add image between posts in Constructor Default theme’ is closed to new replies.