View Full Version : Banni?re d?call?e.
Fabien83
10-29-2015, 06:20 AM
Bonsoir ? toutes et tous, ?a y est mon forum est install?.
Je pars sur le skin d'origine un peu modifi?, j'ai un soucis j'ai ma banni?re en place mais elle sort du cadre est d?cal?e vers la droite, cela doit ?tre un simple soucis de param?trage, si quelqu'un peut m'aider...
je vous donne le lien : http://208gti.net/Forum/
Ca marche pas mon code est comme cela dans additional.css
/* center logo */
.doc_header {text-align: center; }
.logo-image {clear:both; float:none;}
.logo-image {width: 700px !important;}
Merci de vos contributions.
ArcadeSyndicate
10-29-2015, 08:14 AM
please post in english.
ForceHSS
10-29-2015, 10:49 PM
Your banner looks ok to me what browser are you using
Votre bannière semble ok pour moi ce navigateur utilisez-vous
TheLastSuperman
10-30-2015, 04:39 AM
Bonsoir ? toutes et tous, ?a y est mon forum est install?.
Je pars sur le skin d'origine un peu modifi?, j'ai un soucis j'ai ma banni?re en place mais elle sort du cadre est d?cal?e vers la droite, cela doit ?tre un simple soucis de param?trage, si quelqu'un peut m'aider...
je vous donne le lien : http://208gti.net/Forum/
Ca marche pas mon code est comme cela dans additional.css
/* center logo */
.doc_header {text-align: center; }
.logo-image {clear:both; float:none;}
.logo-image {width: 700px !important;}
Merci de vos contributions.
I can use Google Translate to try and convey but ohh lawd someone just fussed at me for posting it's crud in Russian so I don't have much faith in it currently (lol). Also please note that all posts should be in English as Arcade noted so we can all assist, if your English is not that good we don't care, we'll try our best to help regardless :D.
Good evening everyone, this is my forum is installed.
I'm leaving on a slightly modified original skin , I have a concern I have my banner up but it is beyond the scope is shifted to the right , this should be a simple setup worries if anyone can m help ...
I give you the link : http://208gti.net/Forum/
It doesnt my code is like this in additional.css
/* center logo */
.doc_header {text-align: center; }
.logo-image {clear:both; float:none;}
.logo-image {width: 700px !important;}
Thank you for your contributions.
Never specify specific width unless absolutely required, same goes for just using min-width or max-width alone instead of specifying both (imo). Now in vBulletin where many css areas inherit or use the parent div's width specification sometimes you must.
I believe you set this to 700px:
.logo-image {width: 700px !important;}
But what is your minimum width set at in stylevars?
AdminCP > Styles & Templates > Style Manager > *Click the drop-down to the right of the styles name and select "Style Variable Editor" > *Now scroll to find "doc_minWidth" plus also look at "doc_maxWidth" and also "doc_width" and let us know what you have there.
What I'm trying to point at is, if you set min-width at 650px, yet your logo-image is told via css to be 700px (and using !important truly makes it do that regardless of parent div width) then it will overflow off the "page" and not display properly. You should set min-width and max-width in the css instead OR set width at 100% instead of 700px OR use:
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
to make backgrounds of certain div classes and id's cover the entire background area. However in some setups you can only use cover if specifying a specific width or both the min and max because it will cover and stretch and inner div as the entire area if you're not careful and don't specify.
A few things you can do as a work-around here but I would check min_width in stylevars and if viewing on a mobile device and logo-image has it stressed as !important to be 700px and your phone shows the site no smaller than the 650min width setting then like I said above some overflow is to be expected because you specifically told it to do so, make sense?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.