View Full Version : How to reduce the font of the inscription: "Show signature"
SWSUSA
07-20-2015, 12:28 PM
Hi! How to reduce the fontof the inscription: "Showsignature" in thequickresponseon the left?Thank you!
Привет! Как уменьшить шрифт надписи: "Показывать подпись" в окне быстрого ответа слева? Спасибо!
Stratis
07-20-2015, 02:52 PM
Find phrase "Showsignature" and use span.
<span style="font-size:11pt">Showsignature</span>
Play with 11pt, there is an other ways, but I use this.
Seven Skins
07-20-2015, 03:16 PM
You can add this to your additional.css template.
.showsignature label {font-size: 11px;}
SWSUSA
07-21-2015, 07:33 AM
Thank you all for the answers.
Всем большое спасибо за ответы.
.showsignature label {font-size: 12px;}
.openclose label {font-size: 12px;}
Added these codes in the template additional.css
Добавил эти коды в шаблон additional.css
SWSUSA
07-28-2015, 02:36 PM
You can add this to your additional.css template.
.showsignature label {font-size: 11px;}
Adding code to the template additional.css convenient, but a negative impact on the speed of loading pages. We need to change the code HTML.
Добавление кодов в шаблон additional.css удобно, но отрицательно сказывается на скорости загрузки страниц. Нужно изменять код HTML.
Seven Skins
07-28-2015, 09:03 PM
additional.css gets loaded anyway no matter what. (I think)
57 bytes of data does not make any difference in speed it is not like 57 mb.
.showsignature label, .openclose label {font-size: 12px;}
SWSUSA
07-29-2015, 07:51 AM
additional.css gets loaded anyway no matter what. (I think)
57 bytes of data does not make any difference in speed it is not like 57 mb.
.showsignature label, .openclose label {font-size: 12px;}
Site Analysis https://gtmetrix.com category "Inline small CSS" indicates 67% rather than 100% due to these two codes in the template additional.css.
Анализ сайта https://gtmetrix.com в категории "Inline small CSS" показывает 67%, а не 100% из-за этих двух кодов в шаблоне additional.css.
Seven Skins
07-29-2015, 10:37 AM
Try adding this to the last line of vbulletin.css template and remove it from additional.css
SWSUSA
07-29-2015, 12:38 PM
Template SHOWTHREAD. Шаблон SHOWTHREAD.
It was like this (было так):
<ul class="checkradio">
<li><label for="cb_signature">
<input type="checkbox" name="signature" id="cb_signature" value="1" checked="checked" tabindex="1" />
{vb:rawphrase show_your_signature}
</label></li>
</ul>
To do so (сделал так):
<ul class="checkradio">
<li><label for="cb_signature">
<input type="checkbox" name="signature" id="cb_signature" value="1" checked="checked" tabindex="1" />
<span style="font-size:12px">{vb:rawphrase show_your_signature}</span>
</label></li>
</ul>
It was like this (было так):
<ul class="checkradio">
<li><label for="cb_openclose">
<input type="checkbox" name="openclose" id="cb_openclose" value="1" tabindex="1" />
<vb:if condition="$show['closethread']">{vb:rawphrase close_this_thread}<vb:else />{vb:rawphrase reopen_this_thread}</vb:if>
</label></li>
</ul>
To do so (сделал так):
<ul class="checkradio">
<li><label for="cb_openclose">
<input type="checkbox" name="openclose" id="cb_openclose" value="1" tabindex="1" />
<vb:if condition="$show['closethread']"><span style="font-size:12px">{vb:rawphrase close_this_thread}</span><vb:else /><span style="font-size:12px">{vb:rawphrase reopen_this_thread}</span></vb:if>
</label></li>
</ul>
Font decreased. HTML-code is valid. Шрифт уменьшился. HTML-код валидный.
Seven Skins
07-29-2015, 07:33 PM
OK that will do the trick.
Advice/Suggestion: Whenever you update your forums to the new version of vbuleltin these edits might get over written OR if not over written then you will end up with outdated template ... This makes it complicated to manage the forums hence additional.css is the easy option in the long run.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.