How to display a background image in . - Forum | JoomShaper
Solved SP Page Builder

How to display a background image in .

Asked by FREESERVIS 5 years ago Last activity 5 years ago

Hello,

How do I set a background image on a tag in a text block?

<li>

Example: https://prnt.sc/1nxyyej

Regards Milan

Accepted answer

Marked as the solution
Ofi Khan Staff

By the way, you can try this solution too. Please use this CSS to Template Options -> Custom Code -> Custom CSS

.sppb-addon-text-block ul{
    list-style-type: none;
}
.sppb-addon-text-block ul li:before{
    content: "\f019" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    margin-right: 10px;
}

3 more replies

Ofi Khan Staff

Hello FREESERVIS .s.r.o.

Please use this CSS to Template Options -> Custom Code -> Custom CSS and change the image location according to your site. For example, you can use this URL in the place of image URL to check this: https://docs.joomla.org/images/0/02/Joomla-flat-logo-en.png

.sppb-addon-text-block ul{
    list-style-image: url('image URL');
}

Best regards

Ofi Khan Staff

I have a humble request. It would be very kind of you if you can manage some moment to give us feedback here:

  1. JED
  2. Trustpilot
Log in to reply.