Joomla! Discussion Forums



It is currently Sun Nov 22, 2009 4:01 am (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 4 posts ] 
Author Message
Posted: Wed May 28, 2008 6:08 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Sun Jul 16, 2006 7:29 pm
Posts: 94
I am having a hard time aligning blog - content category items. The items for some reason are showing up aligned in the center of the page, as shown here:
http://img.photobucket.com/albums/v113/ ... joomla.jpg

As I marked in red, I want the items to be aligned to the left. Any ideas on how to fix it, and/or why it is centering it? It is appearing this way on the Blog-Content Category page I have, as well as on the home where Latest News shown on Front page is being displayed.

Thanks


Top
  E-mail  
 
Posted: Wed May 28, 2008 7:49 am 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Mon Aug 29, 2005 10:17 am
Posts: 7140
Location: Netherlands/S'pore/Bali/North America
please provide a link to your actual site so we can review the stylesheet and help you

leo 8)

_________________
For Specialized & Individual Support:: http://gws-desk.com
Professional Joomla Web-Development:: http://gws-studio.com
Joomla Specialized Shared & Reseller Hosting at gws-host.com


Top
   
 
Posted: Wed May 28, 2008 6:30 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Sun Jul 16, 2006 7:29 pm
Posts: 94
Here is the stylesheet here, thanks:
Code:
/* CSS Document */


.clr {
   clear: both;
}

#main_outline {
   width: 802px !important;
   width: 808px;
   border: 1px solid #cccccc;
   padding: 2px;
   background: #ffffff;
}

#pathway_outline {
   width: 633px !important;
   width: 635px;
   float: left;
   border: 1px solid #cccccc;
   margin-bottom: 2px !important;
   margin-bottom: -2px;
}

#pathway {
   float: left;
   color: #283547;
   padding: 4px 3px 3px 5px;
}

#buttons {
   float: right;
   margin: 0px;
   padding: 0px;
   width: 50%;
}


ul#mainlevel-nav
{
   list-style: none;
   padding: 0;
   margin: 0;
   font-size: 0.8em;
}

ul#mainlevel-nav li
{
   display: block;
   background-image: none;
   padding-left: 0px;
   padding-right: 0px;
   float: right;
   margin: 0;
   width: auto !important;
  width: 15%;
   font-size: 11px;
   line-height: 21px;
   white-space: nowrap;
   border-left: 1px solid #cccccc;
}

ul#mainlevel-nav li a
{

   display: block;
   padding-left: 15px;
   padding-right: 15px;
   text-decoration: none;
   color: #283547;
   background: transparent;
}

#buttons>ul#mainlevel-nav li a { width: auto; }

   ul#mainlevel-nav li a:hover
{
   color: #FFFFFF;
   background: #283547;
}


#search {
   float: right;
   border: 1px solid #cccccc;
   padding: 0px;
   width: 163px !important;
   width: 165px;
   height: 21px !important;
   height: 23px;
   overflow: hidden;
}

#search .inputbox {
   border: 0px;
   padding: 4px 3px 3px 5px !important;
   padding: 3px 3px 3px 5px;
   font-family: arial, helvetica, sans-serif;
   font-size: 11px;
   height: 17px !important;
   height: 19px;
   width: 153px !important;
   width: 159px;
   color: #000000;
}

#header_area {
   width: 802px !important;
   text-align: left;
   border: 0px;
   margin: 0px;
}

#header {
   float: left;
   padding: 0px;
   margin: 0px;
   width: 802px;
   height: 150px;
   background: url(http://img.photobucket.com/albums/v113/pjkcards/banner-1.jpg) no-repeat;
}

#top_outline {
   float: left;
   border: 1px solid #cccccc;
   padding: 2px;
   margin-left: 2px;
   float: left;
   overflow: hidden;
   height: 144px !important;
   height: 150px;
   width: 159px !important;
   width: 165px;
}

#left_outline {
    margin-top: 2px;
    border: 1px solid #cccccc;
    padding: 2px;
    float: left;
    width: 159px !important;
    width: 165px;
    background-color : #FFFFFF;
}

#content_area {
   padding: 0px;
   margin-top: 0px;
   margin-left: 2px;
   /** border: 1px solid #cccccc; **/
   float: left;
   width: 635px;;
}

#banner_area {
   width: 635px;
   margin-top: 2px;
   margin-bottom: 0px !important;
   margin-bottom: -3px;
}

#banner {
   float: left;
   padding: 0px;
   width: 468px;
}

#poweredby {
   float: left;
   margin-left: 2px;
}

#sandbox_area_2 .sandbox_area {
   float: left;
   margin-top: 2px;
   width: 468px;
}

#sandbox_area_1 .sandbox_area {
   float: left;
   margin-top: 2px;
   width: 635px;
}

#right_outline {
   border: 1px solid #cccccc;
   margin-top: 2px;
   float: right;
   padding: 2px;
   width: 159px !important;
   width: 165px;
}

/** with both user1 and user2 visible **/
#user1_2 .user1_outline {
   width: 227px !important;
   width: 233px;
   border: 1px solid #cccccc;
   float: left;
   margin: 0px;
   padding: 2px;
   margin-bottom: 2px;
}

#user2_2 .user2_outline {
   width: 227px !important;
   width: 233px;
   border: 1px solid #cccccc;
   float: right;
   margin-left: 2px;
   margin-bottom: 2px;
   padding: 2px;
}

/** with either user1 or user2 visible **/
#user1_1 .user1_outline {
   width: 462px !important;
   width: 468px;
   border: 1px solid #cccccc;
   float: left;
   margin: 0px;
   padding: 2px;
   margin-bottom: 2px;
}

#user2_1 .user2_outline {
   width: 462px !important;
   width: 468px;
   border: 1px solid #cccccc;
   float: right;
   margin-bottom: 2px;
   padding: 2px;
}

/** based on 100% content width **/
#user1_4 .user1_outline {
   width: 311px !important;
   width: 317px;
   border: 1px solid #cccccc;
   float: left;
   margin: 0px;
   padding: 2px;
   margin-bottom: 2px;
}

#user2_4 .user2_outline {
   width: 310px !important;
   width: 316px;
   border: 1px solid #cccccc;
   float: right;
   margin-left: 2px;
   margin-bottom: 2px;
   padding: 2px;
}

/** with either user1 or user2 visible **/
#user1_3 .user1_outline {
   width: 629px !important;
   width: 635px;
   border: 1px solid #cccccc;
   float: left;
   margin: 0px;
   padding: 2px;
   margin-bottom: 2px;
}

#user2_3 .user2_outline {
   width: 629px !important;
   width: 635px;
   border: 1px solid #cccccc;
   float: right;
   margin-bottom: 2px;
   padding: 2px;
}

/** adjust content area based on right nav **/
#sandbox_area_2 .content_outline {
   width: 462px !important;
   width: 468px;
   border: 1px solid #cccccc;
   padding: 2px;
}

#sandbox_area_1 .content_outline {
   width: 629px !important;
   width: 635px;
   border: 1px solid #cccccc;
   padding: 2px;
}

#active_menu {
   color:#E0E2E4;
   font-weight: bold;
}

a#active_menu:hover {
   color: #283547;
}

.maintitle {
   color: #ffffff;
   font-size: 40px;
   padding-left: 15px;
   padding-top: 20px;
}

.error {
  font-style: italic;
  text-transform: uppercase;
  padding: 5px;
  color: #cccccc;
  font-size: 14px;
  font-weight: bold;
}

/** old stuff **/

.back_button {
   float: left;
  font-size: 11px;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 10px;
  border: 1px solid #cccccc;
  width: 40px;
  padding: 4px;
}

.page_bg {
   background: #C1D4ED url(../images/bg_fade.jpg) repeat-x;
   padding: 0px 0px 20px 0px;
   margin: 0px;
   border: 0px;
}

.pagenav {
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  border: 1px solid #cccccc;
  width: auto;
  padding: 4px;
  margin: 1px;
}

.pagenavbar {
   padding-right: 5px;
   float: right;
}

#footer {
   text-align: center;
   padding: 3px;
}

ul
{
margin: 0;
padding: 0;
list-style: none;
}

li
{
line-height: 15px;
padding-left: 15px;
padding-top: 0px;
background-image: url(../images/arrow.png) ;
background-repeat: no-repeat;
background-position: 0px 3px;
}


td {
   text-align: left;
   font-size: 11px;
}



body {
   margin: 15px;
   height: 100%;
   padding: 0px;
   font-family: Arial, Helvetica, Sans Serif;
   font-size: 11px;
   color: #333333;
   background: #E3E3E3;
}

/* mambo core stuff */
a:link, a:visited {
   color: #283547; text-decoration: none;
   font-weight: bold;
}

a:hover {
   color: #1961D4;   text-decoration: none;
   font-weight: bold;
}


table.contentpaneopen {
   width: 100%;
   padding: 0px;
   border-collapse: collapse;
   border-spacing: 0px;
}

table.contentpane td {
   margin: 0px;
   padding: 0px;
}

table.contentpane td.componentheading {
   padding-left: 4px;
}

table.contentpane td.contentheading {
  padding-left: 15px;
  padding-top: 9px;
}

.button {
   padding: 2px 5px 2px 5px;
   height: 22px;
   border:solid 1px #cccccc;
   background-color: #ffffff;
   color: #000000;
   font-family: Arial, Helvetica, Sans Serif;
   text-align: center;
   font-size: 11px;
   font-weight: bold;
}

.inputbox {
   padding: 2px;
   border:solid 1px #cccccc;
   background-color: #ffffff;
}

#sandbox_area_2 .componentheading {
   background: url(../images/subhead_bg.png) repeat-x;
   color: #FFFFFF;
   text-align: left;
   padding-top: 4px;
   padding-left: 4px;
   height: 21px;
   font-weight: bold;
   font-size: 10px;
   text-transform: uppercase;
   width: 458px !important;
   width: 462px;
}

#sandbox_area_1 .componentheading {
   background: url(../images/subhead_bg.png) repeat-x;
   color: #FFFFFF;
   text-align: left;
   padding-top: 4px;
   padding-left: 4px;
   height: 21px;
   font-weight: bold;
   font-size: 10px;
   text-transform: uppercase;
   width: 625px !important;
   width: 629px;
}

.contentcolumn {
   padding-right: 5px;
}

.contentheading {
   height: 30px;
   background: url(../images/contenthead.png)  repeat-x;
   color: #666666;
   text-align: left;
   padding-top: 9px;
   padding-left: 15px;
   font-weight: bold;
   font-size: 11px;
   white-space: nowrap;
}

.contentpagetitle {
   font-size: 13px;
   font-weight: bold;
   color: #cccccc;
   text-align:left;
}

table.searchinto {
   width: 100%;
}

table.searchintro td {
   font-weight: bold;
}

table.moduletable {
   width: 100%;
   margin-bottom: 5px;
   padding: 0px;
   border-spacing: 0px;
   border-collapse: collapse;
}

table.moduletable th {
   background: url(../images/subhead_bg.png) repeat-x;
   color: #FFFFFF;
   text-align: left;
   padding-top: 4px;
   padding-left: 4px;
   height: 21px;
   font-weight: bold;
   font-size: 10px;
   text-transform: uppercase;
}

table.moduletable td {
   font-size: 11px;
   padding: 0px;
   margin: 0px;
   font-weight: normal;
}

table.pollstableborder td {
  padding: 2px;
}

.sectiontableheader {
  font-weight: bold;
  background: #f0f0f0;
  padding: 4px;
}

.sectiontablefooter {

}

.sectiontableentry1 {
   background-color : #ffffff;
}

.sectiontableentry2 {
   background-color : #f9f9f9;
}

.small {
   color: #999999;
   font-size: 11px;
   font-weight: bold;
}

.createdate {
   height: 15px;
   padding-bottom: 10px;
   color: #999999;
   font-size: 11px;
   font-weight: bold;
}

.modifydate {
   height: 15px;
   padding-top: 10px;
   color: #999999;
   font-size: 11px;
   font-weight: bold;
}

table.contenttoc {
  border: 1px solid #cccccc;
  padding: 2px;
  margin-left: 2px;
  margin-bottom: 2px;
}

table.contenttoc th {
  background: url(../images/subhead_bg.png) repeat-x;
  color: #FFFFFF;
   text-align: left;
   padding-top: 2px;
   padding-left: 4px;
   height: 21px;
   font-weight: bold;
   font-size: 10px;
   text-transform: uppercase;
}

a.mainlevel:link, a.mainlevel:visited {
   display: block;
   background: url(../images/menu_bg.png) no-repeat;
   vertical-align: middle;
   font-size: 11px;
   font-weight: bold;
   color: #ffffff;
   text-align: left;
   padding-top: 5px;
   padding-left: 18px;
   height: 19px !important;
   height: 24px;
   width: 100%;
   text-decoration: none;
}

a.mainlevel:hover {
   background-position: 0px -25px;
   text-decoration: none;
   color: #134AA2;
}

a.sublevel:link, a.sublevel:visited {
   padding-left: 1px;
   vertical-align: middle;
   font-size: 11px;
   font-weight: bold;
   color: #000000;
   text-align: left;
}

a.sublevel:hover {
   color: #F7F8F9;
   text-decoration: none;
}
.highlight {
   background-color: Yellow;
   color: Blue;
   padding: 0px 2px 0px 2px;
}
.code {
   background-color: #ddd;
   border: 1px solid #bbb;
}

.dd {
   color: #283547;
   clear: both;
}


Top
  E-mail  
 
Posted: Fri May 30, 2008 12:59 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Sun Jul 16, 2006 7:29 pm
Posts: 94
I looked through the style sheet there, and only found 2 sections that aligned as centered, and neither worked. Anymore ideas? I didn't think this was a stylesheet issue, but I thought you could change alignment in the backend. Thanks


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

Quick reply

 



Who is online

Users browsing this forum: smicky and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group