Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Align text to the left in about_us.php


eveniton

Recommended Posts

As you can see at http://www.privat-etterforskning.no/about_...865a46176cef517

I will have the text "Put here your "About us" information." to align to the left and not in center.

Anyone know how to do this?

Link to comment
Share on other sites

As you can see at http://www.privat-etterforskning.no/about_...865a46176cef517

I will have the text "Put here your "About us" information." to align to the left and not in center.

Anyone know how to do this?

 

look in the stylesheet.css file for .infoBox and change the text-align value to left, center or right. HTJ.

Link to comment
Share on other sites

Hm still cant figure it out the css goes like this cant find infobox anywhere

@charset "iso-8859-1";
/* CSS Document */
/*common tools*/
* {margin: 0px; padding: 0px; color:#474747;}
A, a b, a b u {
 color: #333333;
 text-decoration: underline;
}

A:hover, A:hover b, A:hover b u {
 color: #EF7700;
 text-decoration: underline;
}
body{font:68% Arial, Helvetica, sans-serif;color:#333333; background:#B9B2A0 url('images/bg.gif') repeat-x;}

/* Header*/
*.topmenu{display:block; height:17px; width:228px; padding-top:4px; text-decoration:none; text-align:left; font:110% Tahoma,Arial, Helvetica, sans-serif; color:#FFBFBF;}
*.topmenu:hover{display:block; height:17px; width:101px; padding-top:4px;text-decoration:underline; text-align:left; font:110% Tahoma,Arial, Helvetica, sans-serif; color:#FFE400;}
#topmenu{float:left;width:240px;}
#currencies{ float:left; width:105px; padding-left:25px; border-left:1px solid #DCDCDC; height:47px; }
ul{list-style-image:url(images/marker_menu.gif); margin-left:25px; margin-top:7px; margin-right:0px;}
ul li{margin-bottom:3px;}
*.column{float:left; width:115x;}
a.atopmenu{font-family:Tahoma Arial, Helvetica, sans-serif;color:#333; text-decoration:underline;}
a.atopmenu:hover{font:Tahoma Arial, Helvetica, sans-serif;color:#EF7700; text-decoration:underline;}
#shopping_cart{color:#E6173D; width:162px; height:71px; padding-left:60px; padding-top:18px; background:url(images/shopping_cart_bg.jpg) no-repeat;}
#shopping_cart img{}
a.menu{float:left;background:url(images/menu_bg.gif) no-repeat;display:block; width:100px; height:24px;  padding-top:12px; padding-left:0px;color:#5F5F5F; font:bold 100% Tahoma, Helvetica, sans-serif; text-decoration:underline;}
a.menu:hover{float:left;background:url(images/menu_bg.gif) no-repeat;display:block; width:100px; height:24px;  padding-top:12px; padding-left:0px;color:#DA6C00; font:bold 100% Tahoma, Helvetica, sans-serif; text-decoration:underline;}
/* end Header*/

/*BoxHeader*/
td.box{width:107px; height:18px; background-color:#4E535A; background-image:url('images/box_bg.gif');}
*.innerbox, *.innerboxMenu, *.innerbox_cat{background:url(images/box_header.jpg) no-repeat; width:148px; height:19px; padding-right:10px; padding-top:20px; text-align:right; color:#B9FB6D; font:bold 100% Tahoma, Arial,Helvetica, sans-serif; text-transform:uppercase; }
*.innerbox_cat{ border:1px solid #F0E8CF; color:#FFFFFF; margin:0px; padding-top:4px;}
*.innerboxMenu{text-align:center;}
*.innerboxMenu a{font:bold 100% Tahoma, Arial, Helvetica, sans-serif; color:#FFFFFF; text-decoration:none;}
*.innerboxMenu a:hover{font:bold 100% Tahoma, Arial, Helvetica, sans-serif; color:#F9BD00; text-decoration:none;}
*.innerbox img{margin:0px 5px;}

/*end BoxHeader*/

/*body*/
*.crimson{color:#E80377; font-weight:bold; text-decoration:none;}
*.crimson:hover{color:#E80377; font-weight:bold; text-decoration:underline;}
a.more{font-weight:bold; font-size:100%; text-decoration:none; color:#FFFFFF;}
a.more:hover{font-weight:bold; font-size:100%; text-decoration:underline;color:#FFFFFF;}
/*end body*/

/*Left column*/
table.search{background:#C6B682 url('images/search_bg.gif') repeat-x bottom;width:100%;}
*.product_cat{border:1px solid #C2C2C2; border-top-width:0px; width:177px;}
table.innersearch,table.innerproduct_cat{width:100%; font:11px Tahoma, Arial, Helvetica, sans-serif;}
table.innerproduct_cat{width:100%; font:11px Tahoma, Arial, Helvetica, sans-serif;width:177px; }
a.red{color:#CB0000; text-decoration:none; font:11px Tahoma, Arial, Helvetica, sans-serif; }
a.red:hover{color:#CB0000; text-decoration:none;font:11px Tahoma, Arial, Helvetica, sans-serif; }
*.product_cat span{color:#CB0000;}
table.innersearch tr td{background:url(images/box_bg.gif) repeat-y; text-align:center;}
table.innersearch a{font:100% Tahoma, Arial, Helvetica, sans-serif;color:#3B3639; text-decoration:none;}
table.innersearch a:hover{font:100% Tahoma, Arial, Helvetica, sans-serif;color:#3B3639; text-decoration:underline;}
table.product_cat{}

*.m11{FONT-SIZE: 11px; COLOR: #4C5053; TEXT-DECORATION: none}
*.m11:hover{FONT-SIZE: 11px; COLOR: #DA6C00;TEXT-DECORATION: underline;}
*.h11{FONT-SIZE: 11px; font-weight:normal; COLOR: #4C5053; TEXT-DECORATION: none}
*.h11:hover{FONT-SIZE: 11px; COLOR: #DA6C00;TEXT-DECORATION: underline;}
*.green{ color:#A6EE53; padding-right:5px;}
/*end Left column*/

*.header{color:#FFFFFF; background-color:#5E6367; font-weight:bold; height:19px; padding-top:0px; width:545px; text-align:left; padding-left:10px; font-size:13px; font-family:Arial;}


#bot_menu{margin:0px 5px;height:19px; border:1px solid #6B6F75; border-width:1px 0px; padding-top:4px; text-align:center; font:bold 71% Tahoma, Verdana, Arial, Helvetica, sans-serif; color:#6B6F75;}
#bot_menu a{text-decoration:none;font:bold 100% Tahoma, Verdana, Arial, Helvetica, sans-serif; color:#6B6F75;}
#bot_menu a:hover{text-decoration:underline;font:bold 100% Tahoma, Verdana, Arial, Helvetica, sans-serif; color:#6B6F75;}
#copy{padding-top:3px; padding-bottom:5px; padding-left:200px;font:100% Tahoma, Verdana, Arial, Helvetica, sans-serif; text-align:left; color:#fff;}
*.new_prod{width:115px; height:200px; text-align:center;}
*.new_prod p{padding-left:10px; color:#5C4F27;}
*.new_prod p span{color:#5C4F27;}
*.image{width:107px; height:87px; border:1px solid #BFBFBF;   }
*.image img{margin:2px;}
*.special_price{text-decoration:line-through;color:#E80377; font-weight:bold;}
*.price{text-decoration:none;color:#FF7F00; font-size:13px; font-weight:bold;}
a.bottom{color:#FFF; font-weight:bold; text-transform:uppercase; text-decoration:none;}
a.bottom:hover{color:#DA6C00; font-weight:bold; text-transform:uppercase; text-decoration:underline;}
*.buy{width:112px; border-left:3px solid #FFFFFF;  background-color:#E7E7E7;padding:3px 0px 3px 2px;font:11px Tahoma, Arial, Helvetica, sans-serif; color:#CB0000; text-align:center;}
*.gray{color:#5F5F5F; font-weight:bold;}
*.buy *.lil{color:#E80377; font-weight:bold; background-color:#F1F1F1;}
*.buy a.more{font-size:11px;}
*.buy a.more:hover{font-size:11px; text-decoration:none;}
/**.buy b{color:#CB0000}*/
*.txt{text-align:left;font:70% Arial, Helvetica, sans-serif;margin-right:10px; color:#4F525A;  }
*.txt a{font:100% Arial, Helvetica, sans-serif; color:#BD0302;}
#menu img{margin-left:1px;}
#producer{text-align:center;font:70% Arial, Helvetica, sans-serif;margin-right:10px; color:#D9D9D9; }
#producer img{margin-right:5px;margin-left:5px;}
*.productName{color:#A15000; font-size:120%; font-weight:bold; text-align:left;}
*.infoBoxHeading{font-family:Arial, Helvetica, sans-serif; font-size:13px; color:#1970AD;}
td.main{padding-left:3px;font-family: Tahoma, Verdana, Arial, sans-serif;
 font-size: 10px;
 }
TD.pageHeading, DIV.pageHeading {
 padding-left:3px;
 font-family: Arial, sans-serif;
 font-size: 14px;
 font-weight: bold;
 color: #A15000;
 text-align:left;

}
TD.smallText, SPAN.smallText, P.smallText {

 font-family: Tahoma, Arial, sans-serif;
 font-size: 11px;
}

TABLE.productListing {
 border: 1px;
 border-style: solid;
 border-color: #9FA0A6;
 border-spacing: 1px;
 border-bottom-width:0px;
 width:100%;
}

.productListing-heading {
 font-family: Verdana, Arial, sans-serif;
 font-size: 10px;
 color: #44464B;
 font-weight: bold;
 padding:0px 2px;
 height:16px; background-color:#F2F2F2;
 border-bottom: 1px solid #9FA0A6;
}
.productListing-heading a{color:#44464B; text-decoration:none; line-height:245%;border:0px;}
.productListing-heading a:hover{color:#44464B; text-decoration:underline;}
TD.productListing-data {
 font-family: Verdana, Arial, sans-serif;
 font-size: 10px;
 padding:3px 0px;

}

a.productListing-link{
 font-family: Verdana, Arial, sans-serif;
 font-size: 10px;
 text-decoration:underline;
 color:#4F525A;
}
CHECKBOX, INPUT, RADIO, SELECT {
 font-family: Verdana, Arial, sans-serif;
 font-size: 11px;
}
.boxText { font-family: Verdana, Arial, sans-serif; font-size: 10px; color:#4F525A; }

TD.fieldKey {
 font-family: Verdana, Arial, sans-serif;
 font-size: 12px;
 font-weight: bold;
}

TD.fieldValue {
 font-family: Verdana, Arial, sans-serif;
 font-size: 12px;
}
*.infoBoxContents{ color: #4F525A;}
SPAN.productSpecialPrice {
 font-family: Verdana, Arial, sans-serif;
 color: #ff0000;
}
TD.main, P.main {
 font-family: Tahoma, Verdana, Arial, sans-serif;
 font-size: 10px;
 line-height: 1.3;
}
SPAN.errorText {
 font-family: Verdana, Arial, sans-serif;
 color: #ff0000;
}
.messageStackError, .messageStackWarning { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #CCCFD2; }
.messageStackSuccess { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #F6F5F1; }
.inputRequirement { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ff0000; }

.infoBox {

 border:1px solid #9A927E;
 padding:3px;
}
.errorBox { font-family : Verdana, Arial, sans-serif; font-size : 10px; background: #ffb3b5; font-weight: bold; }
.stockWarning { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #E80377; }
.productsNotifications { background: #f2fff7; }
.checkoutBarFrom, .checkoutBarTo { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #8c8c8c; }
.checkoutBarCurrent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #FF0000; }
.productsNotifications { background: #F6F5F1; }

Link to comment
Share on other sites

How can i make a declaration for text-align and is it possible

Link to comment
Share on other sites

The solution was adding <div align="left"> in catalog/includes/languages/english/about_us.php

<?php
/*
 $Id: resellers.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $

E-Commerce Solutions

 Copyright © 2005 www.flash-template-design.com

 Released under the GNU General Public License
*/

define('NAVBAR_TITLE', 'About us');
define('HEADING_TITLE', 'About us');
define('HISTORY_TITLE', 'OUR HISTORY');

define('TEXT_INFORMATION', '<div align="left">Put here your "About us" information.</div>');
?>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...