The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Strange <center> of content
Hello,
I've lost my mind trying to figure out why my contect is centering at: http://www.xxx24.gr/dating.php Within the page templates I was able to fix it by adding align="center". But look at the footer. Content appears centered. Now look in another vB pages: http://www.xxx24.gr/forum.php http://www.xxx24.gr/blog.php What on heck I'm doing wrong in the dating templates? Thank you |
#2
|
|||
|
|||
additional.css contains:
HTML Code:
body { text-align:center; } |
#3
|
||||
|
||||
Thank you, but can't find anything similar to additional.css.
Here is the content: HTML Code:
html { background: url("images/xxx24/misc/bodybg.jpg") no-repeat center top #333; background-attachment: fixed; background-color: #333 !important; } div.forcetoregister { background:url({vb:stylevar imgdir_misc}/register.png); background-repeat: no-repeat; width:300px; height:200px; padding:0 5px 3px; position:fixed; right:1px; bottom:0px; z-index:9999; } #newnav { height: 30px; background: url(images/xxx24/gradients/header-back.png) top left repeat-x; border-bottom: 1px solid #000; } .toplinks { position: relative; padding-top:5px; padding-right:0px; } .navtabs { height: 56px; } .navtabs li:first-child { border: 0; } .navtabs li a.navtab:hover { height: 56px; background-image: url("images/xxx24/gradients/tabon-red.png"); background-position: center top; min-width: 113px; max-width: 113px; width: 113px; line-height: 44px; border: 0; font-size: 11px; } .navtabs li.selected a.navtab { color: #fff; } .navtabs li a.navtab { height: 56px; background-image: url("images/xxx24/gradients/taboff.png"); background-position: center top; min-width: 113px; max-width: 113px; width: 113px; line-height: 44px; border: 0; font-size: 11px; padding: 0; } .navtabs li a { padding: 0; } .navtabs li { border: 0; } .navbar { height: 78px; } .navtabs ul { top: 53px; border: 0px solid #1a1a1a; } .navbar_advanced_search li { padding-top: 28px; } .globalsearch .searchbutton { padding-top: 8px; } .globalsearch input.textbox { height: 21px; width: 150px; border: 1px solid #2c2c2c; background: url(images/bTech/gradients/bodytop.png) top left repeat-x; } .globalsearch .textboxcontainer span { padding-top: 8px; } .globalsearch .textboxcontainer span, .globalsearch .textboxcontainer, .globalsearch .buttoncontainer span, .globalsearch .buttoncontainer { border: 0; } #blueWrap { margin: 0; background-color: #f2f2f2; height:100%; } #blueRight { padding-right: 7px; background: url(images/xxx24/gradients/border_left.png) top right repeat-y; } #blueLeft { padding-left: 7px; background: url(images/xxx24/gradients/border_right.png) top left repeat-y; } #usercp_content #forum_icon_legend, #wgo_legend, .forum_info .options_block_container, .thread_info .options_block_container { display:none; } #forumthreadpost { display:none; } /* Awesome Footer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ .footer1 { margin-top: -13px; background: #000; min-height: 140px; padding: 15px 0 15px; border-radius: 0px 0px 0px 0px; } .footer1 .container .col4 h3 { font:small-caps bold 15px Tahoma,Calibri,Verdana,Geneva,sans-serif; margin-bottom: 22px; text-shadow: none; border-bottom: 1px solid #FFFFFF; color: #FF0000; margin-bottom: 10px; padding-bottom: 7px; } .hfont { color: #fff; font:small-caps bold 13px Tahoma,Calibri,Verdana,Geneva,sans-serif; } .footer1 p { text-shadow: none; } .footer1 a { color: whitesmoke; text-shadow: 0 1px 0 #373736; font:small-caps bold 13px Tahoma,Calibri,Verdana,Geneva,sans-serif; } .footer1 a:hover { color: #FF0000; } .footer1 ul li { background: url("social/icon_dot.gif") no-repeat scroll 0 8px transparent; margin-bottom: 7px; padding-left: 10px; } .col4 { float: left; margin-left: 25px; width: 202px; } .footer1 .container .col4 h3 { margin-bottom: 20px; } .fallowus { width: 226px; } |
#4
|
|||
|
|||
My bad, it's in one of the following templates:
forumhome.css,options.css,vbcms.css,widgets.css,si debar.css,forumhome-rollup.css,usercp.css,additional.css It looks like this, you could search for it in the templates: HTML Code:
/* Overriding default Grid css values for RTL compatability */ /* Copyright (c) 2008, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.net/yui/license.txt version: 2.6.0 */ /* Note: Throughout this file, the *property (star-property) filter is used to give a value to IE that other browsers do not see. _property is only seen by IE7, so the combo of *prop and _prop can target between IE6 and IE7. */ /* Section: General Rules */ body { text-align:center; } |
Благодарность от: | ||
TheAdminMarket |
#5
|
||||
|
||||
I tried searching for text-align:center; but it brought me a list for some dozens of templates. Seems impossible to figure where it is hidden.
I'll give a try to modify the footer by adding text-align:left. Seems that it will be easier. --------------- Added [DATE]1414259594[/DATE] at [TIME]1414259594[/TIME] --------------- Finally I edited the css for footer and everything seems to work fine in all non vB pages: http://www.xxx24.gr/dating.php http://www.xxx24.gr/escorts.php http://www.xxx24.gr/discuss.php http://www.xxx24.gr/coupons.php Thank you very much for your time. Really appreciated. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|