Code: Select all
<!-- EVENT viewtopic_body_postrow_rank_after -->
Code: Select all
<dd style="clear: both; margin: 0; display: none;" class="responsive-show">Something</dd>
display: none;
and class="responsive-show"
from the snippet above Thank you! However I'm having lots of trouble getting the string for the user's location. As a test I used {postrow.POSTER_JOINED} which displayed fine when compact.Christian 2.0 wrote: ↑Sun Dec 10, 2017 9:57 am Hello
In viewtopic_body.html, find:
After, add:Code: Select all
<!-- EVENT viewtopic_body_postrow_rank_after -->
This will only show your content in the responsive layout in the location you chose.Code: Select all
<dd style="clear: both; margin: 0; display: none;" class="responsive-show">Something</dd>
If you'd like it to show on the regular desktop layout too, then removedisplay: none;
andclass="responsive-show"
from the snippet above
Code: Select all
<dd class="profile-custom-field profile-{postrow.custom_fields.PROFILE_FIELD_IDENT}"><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}{L_COLON}</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd>
Code: Select all
<dd style="clear: both; margin: 0; display: none;" class="responsive-show"> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd>