J
J
Jan Merkif2018-11-06 20:16:16
Joomla
Jan Merkif, 2018-11-06 20:16:16

How to display thumbnail of joomla material via background-image?

Greetings.
in joomla for blogs and selected materials, you can display a thumbnail in the material settings. In the tab Images and links => Image for the introductory text of the material.
The markup of the output image is as follows.

<div class="pull-none item-image">
     <a href="ссылка на материал">
         <img src="ссылка на изображение">
     </a>
</div>

I want to display thumbnails through background-image
The task is to make the tag a inside the div block and display inside it
<div style="background-image:url(news/news.jpg);"></div>
Well, or in Tell me where to dig? <div class="pull-none"></div>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2018-11-08
@xmoonlight

Tell me where to dig?
Documentation -> Creating a template.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question