Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
Eric
Topic Author
Posts: 21
Joined: 30 Apr 2021, 05:34

How add icon/image before page title

20 May 2021, 11:37

Hi,

How add an icon or a little image before the Gallery page title if it is possible ?
I tried <img src="test.png"> in the Title field Page without success.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: How add icon/image before page title

21 May 2021, 00:24

Titles, labels and descriptions don't support the <img> tag unfortunately. Even if they did, it would be very clumsy to try to align the image with text. Optionally, you can use font-awesome font icons, with the benefit that they will inherit the font size and align perfectly.
https://fontawesome.com/v4.7.0/icons/
Code
<i class="fa fa-flag"></i> Title here