PDA

View Full Version : Help to fix this search position


wh1t3dr3am
01-10-2011, 09:03 AM
Hi,is anyone have advice to fix that right corner ?Thx :D
Mark with Red circle

http://img508.imageshack.us/img508/5887/95886789.png

Lynne
01-10-2011, 05:41 PM
What exactly do you need fixed? You want to remove those borders? Or what? How about an image of what you want it to look like. And, we will need a link to your site.

wh1t3dr3am
01-11-2011, 01:43 AM
i want to fixed text"advanced search" to default position in under box search & fix magnifer image in line of box search :D

Sory for my bad english Lyne ^^

www.ogiazi.com =>my site

TheLastSuperman
01-11-2011, 02:03 AM
Your on 4.1 and used the Style Generator am I correct?

Try this:

AdminCP > Styles & Templates > Style Manager > Select "Edit Templates" then find CSS Templates and expand > Find vbulletin-chrome.css and click to edit

Now find:

.globalsearch .buttoncontainer {
height: {vb:stylevar navbar_tab_size.height}px;
border-{vb:stylevar left}:{vb:stylevar navbar_tab_border};
display:inline-block;
border-{vb:stylevar right}:{vb:stylevar navbar_tab_border};
width: 25px;
overflow: hidden;
float: {vb:stylevar right};
}

Replace with:

.globalsearch .buttoncontainer {
height: {vb:stylevar navbar_tab_size.height}px;
border-{vb:stylevar left}:{vb:stylevar navbar_tab_border};
display:inline-block;
border-{vb:stylevar right}:{vb:stylevar navbar_tab_border};
width: 25px;
overflow: hidden;
float: {vb:stylevar right};
margin-top: -26px;
}

Basically your adding in:
margin-top: -26px;

To that CSS definition to align it properly, let me know if that sorts it? ;)

Edit: Adjust the value i.e. 26 to the number that aligns it properly if not :D.

wh1t3dr3am
01-11-2011, 06:13 AM
Yes,You right :)
I am already follow your advice and it's work
Thanks Man,You are really Helpfull :D

TheLastSuperman
01-11-2011, 08:05 PM
Yes,You right :)
I am already follow your advice and it's work
Thanks Man,You are really Helpfull :D

No problem! I also searched in the tracker w/o success therefor I posted this as you and a client of mine had the same issue:

http://tracker.vbulletin.com/browse/VBIV-10817

Unconfirmed atm but we'll see ;).

Eq4bits
03-20-2011, 04:47 PM
I have the same issue, in Firefox. Do I still only make the changes in the vbulletin-chrome.css?
https://vborg.vbsupport.ru/external/2011/03/12.png

--------------- Added 20 Mar 2011 at 12:55 ---------------

--------------- Added 20 Mar 2011 at 17:13 ---------------

Okay, back to the original problem... I did the fix in th evbulletin-chrome.css and it fixed the original problem in Firefox but NOW it's messed up in IE and Chrome.... sort of in the opposite direction =S (see image below)
https://vborg.vbsupport.ru/external/2011/03/13.png

--------------- Added 20 Mar 2011 at 20:48 ---------------

I read the tracker link The Last Superman posted. I did NOT use the Style Generator for my style but checked my navbar_tab_bevel in Style Vars anyway... it's set at 1. So it is NOT that causing the problem. =S

Anyone with any idea how to fix?