Showing the Image only

Hello Support,

I am using the church demo. There are two sections with a classic recent posts element that i would like to keep. in the first one i want my latest posts displayed which works fine. in the second one i would like to display my latest images. they show up in the right order. however i would like to get rid of the title and upload date as seen in the screenshot. i only want to see the image itself and nothing else.

H there,

Please add this code in the custom CSS:

.x-recent-posts-content {
    display: none;
}

.x-recent-posts a {
    padding: 5px;
}

Please note that if you add this in the Theme Options, it will remove the post title and date in all recent post elements. If you want it to be specific to the recent post element of a section, you can add a class or ID to the section and edit the CSS code above.

Hope this helps.

thank you for your reply. unfortunately i dont know much about css so it would be great if you could let me know exactly what to add to the custom css. it must only affect one specific section. thanks again!

Hi @joziguy,

Would you mind sharing us the URL of the recent post located.

If it is homepage, you can add this in your X > Launch > Theme Options > CSS:

.home .x-recent-posts-content {
    display: none;
}

.home .x-recent-posts a {
    padding: 5px;
}

Let us know how it goes.

Thanks.

after adding the code it affected all the sections. however, i would like to have it affecting only one specific one. please see the screenshot. on my homepage are three sections with recent posts elements. only the one i marked red must be affected.

Hi there,

Try adding a class to the section and edit the code previously provided to:

.hide-details .x-recent-posts-content {
    display: none;
}

.hide-details .x-recent-posts a {
    padding: 5px;
}

The code above assumes that the class you have added to the section is hide-details.

FYI, you can find the class field in the customize option of the section.

Hope this helps.

hey,

well, it worked in the cornerstone preview. but when i look at my website nothing has changed. i have cleared chache twice. nothing.

Hi There,

That’s gotta be a caching issue, please clear all the site’s caching plugins and features.

The site is on Under Construction mode, If you would not mind please provide us login credentials in a “secure note” so we can take a closer look.

Thanks,

Hi There,

I did not see the custom CSS provided, so I did go ahead and added it to Theme Options > CSS, and now it works.

Please clear your browser cache on your end.

Thanks,

sorry, but it doenst work on my end. cleared cache several times, closed browser but no change.

Hi There,

Did someone remove the CSS code added from Theme Options > CSS? I do not see it anymore. I added it back, this is how that recent post looks when you have that CSS code on.

screenshot

Thanks,

No I didn’t remove any code…Anyway it works. Thanks a lot!

You’re welcome!
Thanks for letting us know that it has worked for you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.