By MB on Saturday, 06 August 2016
Posted in General Issues
Likes 0
Views 300
Votes 0
Hi,

I would like to know how to assign an image to a newly created post template. There are four default post templates (blank, for news, for event and for videos) and each of them has an image set as a style. Each newly created post is a blank rectangle - just with solid 1px border.

I would like to assign images to my newly created post. Please advice how to do it. I tried to achieve this through css, e.g.
div#fd.eb .template-thumb element.style{
background-image:url(../../../images/image.png)!important;
but I got no results.

Additionally I would like to style the new templates with css, is this possible? Is it possible to style template by adding specific styles at all?

Thanks for help
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

Regarding this, you have to manually upload your template image file into this file location -> JoomlaFolder/components/com_easyblog/assets/images/.. (png format)

After you updated, you have to go to your database > find this table `#__easyblog _post_templates` > edit your current template > put the image path into `screenshot` columns

For example :
/components/com_easyblog/assets/images/custom-template-image.png
·
Sunday, 07 August 2016 14:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks!!!
MB
·
Monday, 08 August 2016 17:26
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Monday, 08 August 2016 17:50
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post