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
Printable View
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
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
http://forum.flynax.com/attachment.p...tid=2244&stc=1
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}
Curtis, where would I place that code in the general css file ?
Hi Pete,
These changes for *.tpl files only.
You can find code in file "{$item.value}" and replace it to code above.
In this only field with key "listing_details" will have <h2> tag.
http://forum.flynax.com/attachment.p...tid=2259&stc=1
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.