Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1183312

    Any way to set a custom title tag for icons so it doesn’t carry the html tags with it?

    tictocequestrian.com.au

    I have 4 sections with icon boxes, and one has two lines for the heading, aligned with a < br/ > tag, this is showing in the hover title/alt tag and it’s not very pretty.

    Any idea how to remove that?

    • This topic was modified 4 years, 9 months ago by johno69.
    #1184041

    Hey johno69,

    Thank you for the inquiry.

    You don’t need to add the br tag because a second line will be automatically created for the title if necessary. If you really think that the line break tag is necessary, you can use a script to remove the br tag from the title attribute.

    // https://www.w3schools.com/jsref/jsref_replace.asp

    Best regards,
    Ismael

    #1184051

    The title stays on one line if I don’t use the break tag. Thanks, i’ll have a look at the link you sent.

    #1184420

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.