Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-20-2015, 12:28 PM
SWSUSA's Avatar
SWSUSA SWSUSA is offline
 
Join Date: Nov 2012
Location: Moscow
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to reduce the font of the inscription: "Show signature"

Hi! How to reduce the fontof the inscription: "Showsignature" in thequickresponseon the left?Thank you!

Привет! Как уменьшить шрифт надписи: "Показывать подпись" в окне быстрого ответа слева? Спасибо!
Attached Images
File Type: jpg pic_3.jpg (62.4 KB, 0 views)
Reply With Quote
  #2  
Old 07-20-2015, 02:52 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Благодарность от:
SWSUSA
  #3  
Old 07-20-2015, 03:16 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can add this to your additional.css template.

HTML Code:
.showsignature label {font-size: 11px;}
Reply With Quote
3 благодарности(ей) от:
puertoblack2003, Stratis, SWSUSA
  #4  
Old 07-21-2015, 07:33 AM
SWSUSA's Avatar
SWSUSA SWSUSA is offline
 
Join Date: Nov 2012
Location: Moscow
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 07-28-2015, 02:36 PM
SWSUSA's Avatar
SWSUSA SWSUSA is offline
 
Join Date: Nov 2012
Location: Moscow
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
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.
Reply With Quote
  #6  
Old 07-28-2015, 09:03 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;}
Reply With Quote
Благодарность от:
MarkFL
  #7  
Old 07-29-2015, 07:51 AM
SWSUSA's Avatar
SWSUSA SWSUSA is offline
 
Join Date: Nov 2012
Location: Moscow
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
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.
Reply With Quote
  #8  
Old 07-29-2015, 10:37 AM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try adding this to the last line of vbulletin.css template and remove it from additional.css
Reply With Quote
  #9  
Old 07-29-2015, 12:38 PM
SWSUSA's Avatar
SWSUSA SWSUSA is offline
 
Join Date: Nov 2012
Location: Moscow
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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-код валидный.
Reply With Quote
  #10  
Old 07-29-2015, 07:33 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Благодарность от:
MarkFL
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:40 PM.


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.05141 seconds
  • Memory Usage 2,301KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (9)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (6)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete