vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Username Size In Postbit (https://vborg.vbsupport.ru/showthread.php?t=284562)

Kat-2 06-17-2012 06:27 PM

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?

Max Taxable 06-18-2012 10:57 PM

Does it come out looking the same in all browsers? can you upload a screen pic or give a link to view?

BirdOPrey5 06-18-2012 11:25 PM

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.

Kat-2 06-19-2012 01:32 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2340879)
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.

BirdOPrey5 06-19-2012 09:41 AM

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.

Kat-2 06-19-2012 02:28 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2340995)
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)

BirdOPrey5 06-20-2012 12:59 AM

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.

Kat-2 06-20-2012 01:33 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2341272)
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. :confused:

BirdOPrey5 06-20-2012 01:57 AM

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.

Kat-2 06-20-2012 05:26 AM

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


All times are GMT. The time now is 09:20 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.01146 seconds
  • Memory Usage 1,738KB
  • 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
  • (5)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete