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

Reply
 
Thread Tools Display Modes
  #1  
Old 06-17-2012, 06:27 PM
Kat-2's Avatar
Kat-2 Kat-2 is offline
 
Join Date: Feb 2011
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Username Size In Postbit

I have a couple of themes I added to my forum the other day. Both had the username in the postbit set so large it threw everything out of sync. So, I dug around and found out how to resize it by adding this code:


Admin CP -> Styles & Templates -> Style Manager -> Edit Templates -> CSS Templates -> additional.css



Code:
.postbitlegacy .userinfo a.username, .eventbit .userinfo a.username {
font-size: XXpx;
}
xx being font size


Well, it worked perfectly in one theme...so all is well, but on another theme when I put the code in (exact same place), it made the Search button on the home page jump over to the left, and sit on top of Private Messages.
I can't figure out why, or how to fix it.

Any ideas?

--------------- Added [DATE]1340039872[/DATE] at [TIME]1340039872[/TIME] ---------------

Does anyone know how I can get the Search button moved back to the right of the Home page?
Reply With Quote
  #2  
Old 06-18-2012, 10:57 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it come out looking the same in all browsers? can you upload a screen pic or give a link to view?
Reply With Quote
  #3  
Old 06-18-2012, 11:25 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would need a link to the actual page(s) with the actual styles- there could be a million reasons but we can use "Inspect Element" in Chrome or Firebug in firefox to narrow down the problems.
Reply With Quote
  #4  
Old 06-19-2012, 01:32 AM
Kat-2's Avatar
Kat-2 Kat-2 is offline
 
Join Date: Feb 2011
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Would need a link to the actual page(s) with the actual styles- there could be a million reasons but we can use "Inspect Element" in Chrome or Firebug in firefox to narrow down the problems.


Link to the site is http://side-kicks.katkall.com/

Will have to choose Crystal Clean style to see the error.

Thanks.
Reply With Quote
  #5  
Old 06-19-2012, 09:41 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you sure adding that code caused this? Because I don't think it did. I don't see that code being used anywhere.

Can you undo that code on the bad style and let me see what it looks like then, so I can compare.
Reply With Quote
  #6  
Old 06-19-2012, 02:28 PM
Kat-2's Avatar
Kat-2 Kat-2 is offline
 
Join Date: Feb 2011
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Are you sure adding that code caused this? Because I don't think it did. I don't see that code being used anywhere.

Can you undo that code on the bad style and let me see what it looks like then, so I can compare.

I am positive that is what did it. I have removed the code now, and the Search has moved back where it belongs. (but of course the postbit username is now back huge again).

You can see how it looks now...


(and thank you)
Reply With Quote
  #7  
Old 06-20-2012, 12:59 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try adding this to additional.css instead:

Code:
.username_container .username strong {
font-size 12px !important;
}
Of course change 12px to whatever size you want.
Reply With Quote
  #8  
Old 06-20-2012, 01:33 AM
Kat-2's Avatar
Kat-2 Kat-2 is offline
 
Join Date: Feb 2011
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Try adding this to additional.css instead:

Code:
.username_container .username strong {
font-size 12px !important;
}
Of course change 12px to whatever size you want.

Well, that did change the size, but once again it made the search jump over to the left on top of Personal Messages.
Reply With Quote
  #9  
Old 06-20-2012, 01:57 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm...

Go to Admin CP -> Styles & Templates -> Search In Templates

Choose to search only in this style's templates...

Search for:

Code:
font-size: 16pt
If nothing comes up look for:
Code:
font-size:16
(without the space)

One of those should find a CSS template with that font value (and hopefully only 1)

Edit that number in whatever template, it should be able to reduce the font size.

Hopefully it will do it without screwing up the search box.

The ultimate issue is this custom style is poorly designed to have these classes effecting your search box- may be nothing that can be done without rewriting part of the style.
Reply With Quote
  #10  
Old 06-20-2012, 05:26 AM
Kat-2's Avatar
Kat-2 Kat-2 is offline
 
Join Date: Feb 2011
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So far still no luck. I did the search, found a 16 pt, and chanced it to 12 pt and it did nothing.

Pretty much looking like I wasted my money on this theme.

I thank you for taking the time to try and help me.
Reply With Quote
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 11:28 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.08673 seconds
  • Memory Usage 2,260KB
  • Queries Executed 11 (?)
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
  • (5)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete