Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
  #1  
Old 10-25-2014, 09:17 AM
TheAdminMarket's Avatar
TheAdminMarket TheAdminMarket is offline
 
Join Date: Jun 2013
Location: Thessaloniki, Greece
Posts: 511
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 10-25-2014, 10:15 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

additional.css contains:

HTML Code:
	body {
		text-align:center;
	}
Remove that and the text is no longer centered.
Reply With Quote
  #3  
Old 10-25-2014, 10:34 AM
TheAdminMarket's Avatar
TheAdminMarket TheAdminMarket is offline
 
Join Date: Jun 2013
Location: Thessaloniki, Greece
Posts: 511
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;
}
Reply With Quote
  #4  
Old 10-25-2014, 10:48 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;
	}
Reply With Quote
Благодарность от:
TheAdminMarket
  #5  
Old 10-25-2014, 04:31 PM
TheAdminMarket's Avatar
TheAdminMarket TheAdminMarket is offline
 
Join Date: Jun 2013
Location: Thessaloniki, Greece
Posts: 511
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

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 12:34 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04101 seconds
  • Memory Usage 2,201KB
  • 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
  • (3)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (1)post_thanks_box_bit
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete