vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to reduce the font of the inscription: "Show signature" (https://vborg.vbsupport.ru/showthread.php?t=319572)

SWSUSA 07-20-2015 12:28 PM

How to reduce the font of the inscription: "Show signature"
 
1 Attachment(s)
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.

HTML Code:

.showsignature label {font-size: 11px;}

SWSUSA 07-21-2015 07:33 AM

Thank you all for the answers.

Всем большое спасибо за ответы.

HTML Code:

.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

Quote:

Originally Posted by Seven Skins (Post 2550864)
You can add this to your additional.css template.

HTML Code:

.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.

HTML Code:

.showsignature label, .openclose label {font-size: 12px;}

SWSUSA 07-29-2015 07:51 AM

Quote:

Originally Posted by Seven Skins (Post 2551609)
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.

HTML Code:

.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 (было так):

HTML Code:

<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 (сделал так):

HTML Code:

<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 (было так):

HTML Code:

<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 (сделал так):

HTML Code:

<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.


All times are GMT. The time now is 02:47 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01175 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete