hide signature on mobile

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
Simmonsstummer
Registered User
Posts: 54
Joined: Wed Feb 25, 2015 10:45 am

hide signature on mobile

Post by Simmonsstummer » Wed Sep 20, 2017 7:36 am

Hi,
is there a way to hide the signature on mobile?

User avatar
eeji
Jr. Style Validator
Posts: 555
Joined: Fri Dec 12, 2008 9:08 pm
Location: Manchester, UK

Re: hide signature on mobile

Post by eeji » Wed Sep 20, 2017 7:49 pm

open styles/your-style/template/viewtopic_body.html (If this file doesn't exist, copy it over from prosilver)

find:

Code: Select all

<!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->
replace with:

Code: Select all

<!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature responsive-hide">{postrow.SIGNATURE}</div><!-- ENDIF -->

Post Reply

Return to “[3.2.x] Styles Support & Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests