How do I add h2 (or nay tag) tags to a listing field ? lets say the description box ( or any listing box ) I make please / where do I find these boxes and where to add the tags please.
ps for the content of the listing box, not the title please
How do I add h2 (or nay tag) tags to a listing field ? lets say the description box ( or any listing box ) I make please / where do I find these boxes and where to add the tags please.
ps for the content of the listing box, not the title please
Last edited by Pete Young; March 14, 2017 at 04:16 AM.
Hello Pete,
If i understood you correctly that you need to change following files:
1. \templates\your_template}\tpl\blocks\listing.tpl
2. \templates\your_template}\tpl\blocks\featured_item .tpl
Thank you, Curtis.
@Flynax Company
Hello Curtis, can I change the item value to a h2 for an individual listing field rather than all of them ? for example I have a listing field titled "listing details" could I have the content of that listing field be wrapped in a h2 tag ?
Hello Pete,
Yes of course, add condition by key of field, for example:
{if $item.Key == 'listing_details'}<h2>{/if}{$item.value}{if $item.Key == 'listing_details'}</h2>{/if}
Thank you, Curtis.
@Flynax Company
Curtis, where would I place that code in the general css file ?
Thank you Curtis will test this tonight and report back.
hi where do i find this file in version 4.7.2 ?
I think Curtis mean: ftp://templates>>your_template>>tpl>>blocks>>listing.tpl file.
Viktor,
Flynax technical department,
Best wishes.