Foros del Web » Creando para Internet » Sistemas de gestión de contenidos » Joomla »

Modificar plantilla joomla

Estas en el tema de Modificar plantilla joomla en el foro de Joomla en Foros del Web. Hola me gustaria que me ayudaran hacer una pequeña modificacion en mi plantilla joomla. Resulta que quiero que la columna izquierda sea un poco mas ...
  #1 (permalink)  
Antiguo 25/05/2010, 12:47
Avatar de neon261979  
Fecha de Ingreso: octubre-2009
Ubicación: Barcelona
Mensajes: 195
Antigüedad: 14 años, 6 meses
Puntos: 0
Modificar plantilla joomla

Hola me gustaria que me ayudaran hacer una pequeña modificacion en mi plantilla joomla.
Resulta que quiero que la columna izquierda sea un poco mas ancha que la derecha, pero claro si modifico la izquierda luego la derecha no se me va abajo ,
No se si me explico.
Yo tengo modulos a la izquierda y a la derecha los de la izquierda se me quedan encima del texto a la izquierda, los modulos de la derecha se me van abajo a la derecha.
COmo puedo hacer esa modificacion sin que se trastoque tanto la pagina?
Os pongo el css template.
Código PHP:
html {
  
height100%;
  
margin-bottom0px;
}

form {
  
margin0;
  
padding0;
}

img,table {
    
border:none;
}

body {
    
font-familyHelvetica,Arial,sans-serif;
    
line-height1.3em;
    
margin0px 0px 0px 0px;
    
font-size12px;
    
color#333;
}

a:linka:visited {
    
text-decorationnone;
    
font-weightnormal;
}

a:hover {
    
text-decorationunderline;
    
font-weightnormal;
}

input.button {
 
cursorpointer;
 
background:none;
}

{
  
margin-top0;
  
margin-bottom5px;
}

/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/
#page_bg {
    
padding0;
    
margin-bottom1px;
}

div.center {
  
text-aligncenter;
}

div#wrapper {
    
margin-leftauto;
    
margin-rightauto;
}

body.width_medium div#wrapper {
    
width950px;
}

body.width_small div#wrapper {
    
width773px;
}

body.width_fmax div#wrapper {
    
min-width750px;
    
max-width1050px;
}


div#header_r {
    
padding:0px 25px;
    
text-alignleft;
}

#logo {
    
padding0px;
    
text-alignleft;
    
height:85px;
}

#logo a, #logo a:link, #logo a:hover {
    
font-weightbold;
    
font-familyHelvetica,Arial,sans-serif;
    
font-size4em;
    
padding:0;
    
margin:0;
    
line-height:1.4em;
    
color:#fefefe;
    
text-decoration:none;
}

div#newsflash {
    
widthauto;
    
margin-left350px;
    
margin-right30px;
    
border1px solid #00f;
}

div#tabarea {
    
backgroundurl(../images/top_menu_bg.jpgtop left repeat-x;
    
margin0 6px;
}

div#footer_r {
    
padding-top10px;
    
height47px;
    
overflowhidden;
}

div#footer_r div {
    
text-aligncenter;
    
font-size.90em;
    
color#aaa;
}

div#footer_r a:link, div#footer_r a:visited  {
    
color#999;
}

#pathway {
    
padding0px 10px 8px;
    
widthauto;
    
margin-right250px;
    
text-alignleft;
}

#search {
    
floatright;
    
width:320px;
    
margin-top: -20px;
    
margin-right20px;
    
height40px;
    
overflowhidden;
    
text-align:right;
}

#area {
    
padding0;
    
width:100%;
}

#whitebox {
    
margin0;
    
widthauto;
}

#whitebox div {
    
text-alignleft;
}

#whitebox_t {
    
background#ebebeb url(../images/header_top_middle.jpg) 0 0 repeat-x;
}

#whitebox_tl {
    
backgroundurl(../images/header_top_left.jpg0 0 no-repeat;
}

#whitebox_tr {
    
height16px;
    
overflowhidden;
    
backgroundurl(../images/header_top_right.jpg1000 no-repeat;
}

#whitebox_m {
    
widthauto;
    
padding10px 10px;
    
margin:0 6px;
    
backgroundurl(../images/left_bg.jpg100100repeat;
}


#whitebox_br {
    
height13px;
    
backgroundurl(../images/mw_content_b_r.png100100no-repeat;
}

/* horizontal pill menu */
table.pill {
  
margin-leftauto;
  
margin-rightauto;
  
padding0;
}

td.pill_m {
  
padding0;
  
margin0;
  
widthauto;
}

td.pill_l {
  
width:  2px;
  
height28px;
  
backgroundurl(../images/top_menu_separator.jpgtop right no-repeat;
}

#pillmenu {
  
white-spacenowrap;
  
height28px;
  
floatleft;
}

#pillmenu ul {
  
margin0;
  
padding0;
  list-
style:none;
}

#pillmenu li {
    
floatleft;
    
margin0;
    
padding0;
    
backgroundurl(../images/top_menu_separator.jpgtop right no-repeat;
}

#pillmenu a {
  
font-familyArialHelveticasans-serif;
  
font-size11px;
  
font-weightnormal;
    
float:left;
  
display:block;
  
height22px;
  
line-height24px;
  
padding3px 20px;
  
color#fefefe;
  
text-decorationnone;
}

#pillmenu a:hover {
  
color#96abbe;
}

#pillmenu a#active_menu-nav {
    
height28px;
    
line-height21px;
}

#leftcolumn ,#rightcolumn {
    
margin0;
    
width16%;
    
float:left
  #2 (permalink)  
Antiguo 25/05/2010, 12:49
Avatar de neon261979  
Fecha de Ingreso: octubre-2009
Ubicación: Barcelona
Mensajes: 195
Antigüedad: 14 años, 6 meses
Puntos: 0
Respuesta: Modificar plantilla joomla

Yo lo que hago para cambiar la columna de la izquierda es
#leftcolumn ,#rightcolumn {
margin: 0;
width: 16%;
float:left;


Pongo el width:20% y asi se hace más grande el lado izquierdo pero entonces se descuadra todo.

Como lo puedo hacer?
  #3 (permalink)  
Antiguo 25/05/2010, 12:51
Avatar de neon261979  
Fecha de Ingreso: octubre-2009
Ubicación: Barcelona
Mensajes: 195
Antigüedad: 14 años, 6 meses
Puntos: 0
Respuesta: Modificar plantilla joomla

Esta es la otra parte de plantilla que le sique a la que hay arriba.

Código PHP:
div#maincolumn {
padding:0 10px;
float:left;
width65%;
}
div#maincolumn_full {
padding:0 10px;
width80%;
float:left;
}

div.nopad {
    
padding0;
}

td.middle_pad {
    
width20px;
}

/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/

div.offline {
    
background#fffebb;
    
width100%;
    
positionabsolute;
    
top0;
    
left0;
    
font-size1.2em;
    
padding5px;
}

span.pathway {
  
displayblock;
  
margin0 20px;
  
height16px;
  
line-height16px;
  
overflowhidden;
}

/* headers */
div.componentheading {
  
padding-left0px;
}

h1 {
    
padding0;
    
font-family:Helvetica ,Arial,sans-serif;
    
font-size1.3em;
    
font-weightbold;
    
vertical-alignbottom;
    
color#666;
    
text-alignleft;
    
width100%;
}

h2, .contentheading {
    
padding0;
    
font-familyTahomaHelvetica,sans-serif;
    
font-size12px;
    
font-weightbold;
    
vertical-alignbottom;
    
color#06569d;
    
text-alignleft;
    
width100%;
}

table.contentpaneopen h3 {
    
margin-top25px;
}

h4 {
    
font-familyArialHelveticasans-serif;
    
color#333;
}

h3, .componentheadingtable.moduletable thlegend {
  
margin0;
  
font-weightbold;
  
font-familyTahoma,Helvetica,Arial,sans-serif;
  
color:#06569d;
  
font-size1.4em;
  
padding-left0px;
    
margin-bottom10px;
    
text-alignleft;
}

/* small text */
.small {
    
font-size.90em;
    
color#999;
    
font-weightnormal;
    
text-alignleft;
}

.
modifydate {
  
height20px;
  
vertical-alignbottom;
    
font-size.90em;
    
color#999;
    
font-weightnormal;
    
text-alignleft;
}

.
createdate {
    
height20px;
    
vertical-aligntop;
    
font-size.90em;
    
color#999;
    
font-weightnormal;
    
vertical-aligntop;
    
padding-bottom5px;
    
padding-top0px;

}

a.readon {
    
margin-top10px;
    
displayblock;
    
floatleft;
    
backgroundurl(../images/mw_readon.pngtop right no-repeat;
    
padding-right20px;
    
line-height14px;
    
height16px;
}

/* form validation */
.invalid border-color#ff0000; }
label.invalid color#ff0000; }


/** overlib **/

.ol-foreground {
    
background-color#f6f6f6;
}

.
ol-background {
    
background-color#666;
}

.
ol-textfont {
    
font-familyArialHelveticasans-serif;
    
font-size10px;
}

.
ol-captionfont {
    
font-familyArialHelveticasans-serif;
    
font-size12px;
    
color#f6f6f6;
    
font-weightbold;
}
.
ol-captionfont a {
    
color#0B55C4;
    
text-decorationnone;
    
font-size12px;
}

.
ol-closefont {}

/* menu links */
a.mainlevel:linka.mainlevel:visited {
    
padding-left5px;
}

a.mainlevel:hover {

}

/* spacers */
span.article_separator {
    
displayblock;
    
height20px;
}

.
article_column {
    
padding-right5px;
}

.
column_separator {
    
border-left1px dashed #e0e0e0;
    
padding-left10px;
}

td.buttonheading {

}

.
clr {
    
clearboth;
}


div#maindivider {
  
border-top1px solid #ddd;
  
margin-bottom10px;
  
overflowhidden;
  
height1px;
}

table.blog span.article_separator {
    
displayblock;
    
height20px;
}

/* table of contents */
table.contenttoc {
  
margin5px;
  
border1px solid #ccc;
  
padding5px;
}

table.contenttoc td {
  
padding0 5px;
}


/* content tables */
td.sectiontableheader {
  
background#efefef;
  
color#333;
  
font-weightbold;
  
padding4px;
  
border-right1px solid #fff;
}

tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
  
padding4px;
}

td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
  
padding3px;
}


/* content styles */
table.contentpaneopentable.contentpane {
    
margin0;
    
padding0;
    
widthauto;
}

table.contentpaneopen li {
    
margin-bottom5px;
}

table.contentpaneopen fieldset {
    
border0;
    
border-top1px solid #ddd;
}

table.contentpaneopen h3 {
    
margin-top25px;
}

table.contentpaneopen h4 {
    
font-familyArialHelveticasans-serif;
    
color#333;
}

.
highlight {
    
background-color#fffebb;
}

/* module control elements */
table.user1user2 div.moduletable {
    
margin-bottom0px;
}

div.moduletablediv.module {
  
margin-bottom25px;
}

div.module_menu {
    
margin0;
    
padding0;
    
margin-bottom15px;
}

div.module_menu div div div {
    
padding0px;
    
padding-top30px;
    
padding-bottom10px;
    
widthauto;
}

div.module_menu div div div div {
    
backgroundnone;
    
padding0;
}

div.module_menu ul {
    
margin10px 0;
    
padding-left10px;
    list-
style:none;
}

div.module_menu ul li {
    
margin0;
    
padding0;
}

div.module_menu ul li a:linkdiv.module_menu ul li a:visited {
    
font-weightbold;
    
background:transparent url(../images/blue/bullet2.jpgtop left no-repeat;
    
padding:2px 0 2px 25px;
    
line-height:24px;
    
}

#leftcolumn div.module table ,#rightcolumn div.module table {
    
widthauto;
}

#leftcolumn h3, #rightcolumn h3 {
    
margin0;
    
color:#fefefe;
    
font-weightbold;
    
font-familyHelvetica,Arial,sans-serif;
    
font-size1.1em;
    
background:#eeeeee;
    
padding:2px 0 2px 10px;
    
line-height:20px;
    
text-alignleft;
    
background:transparent url(../images/menu_t.jpgtop left repeat-x;
    
}


#leftcolumn .moduletable_menu, #leftcolumn .moduletable, #leftcolumn .moduletable_text, #leftcolumn .c, 
#rightcolumn .moduletable_menu, #rightcolumn .moduletable, #rightcolumn .moduletable_text, #rightcolumn .c {
    
margin:0 0 20px 0;
    
padding3px;
    
border:1px solid #ccc;
    
background:#fefefe;    
}

#leftcolumn ul.menu, #rightcolumn ul.menu {
    
margin:0;
    
padding:0;
    list-
style:none;
    
border:1px solid #ccc;
    
border-top:none;
}

#leftcolumn ul.menu li, #rightcolumn ul.menu li {
    
margin:0;
    
padding:0;
    
background#f5f5f5;
}

#leftcolumn ul.menu li a, #leftcolumn ul.menu li a:link,
#rightcolumn ul.menu li a, #rightcolumn ul.menu li a:link {
    
display:block;
    
line-height:20px;
    
background:#f5f5f5 url(../images/menu_link_bg.gif) left no-repeat;
    
padding:2px 20px;
    
border-top:1px solid #dddddd;
    
text-decoration:none;
    
color:#06569d;
}

#leftcolumn ul.menu li a:hover, #rightcolumn ul.menu li a:hover {
    
background:#eeeeee url(../images/menu_link_bg.gif) left no-repeat;
    
color:#666666;
}

/* ****** left col current menu ****** */
#leftcolumn ul.menu li#current a, #leftcolumn ul.menu li#current a:link, 
#rightcolumn ul.menu li#current a, #rightcolumn ul.menu li#current a:link {
    
display:block;
    
line-height:20px;
    
background:#f5f5f5 url(../images/menu_curren_link_bg.gif) left no-repeat;
    
padding:2px 20px;
    
border-top:1px solid #dddddd;
    
text-decoration:none;
    
color:#ff8800;
}

#leftcolumn ul.menu li#current a:hover, #rightcolumn ul.menu li#current a:hover {
    
background:#eeeeee url(../images/menu_curren_link_bg.gif) left no-repeat;
    
color:#666666;
}

/* ****** left col sub menu ****** */
#leftcolumn ul.menu li ul, #rightcolumn ul.menu li ul {
    
margin:0;
    
padding:0 0 0 0px;
    list-
style:none;
}

#leftcolumn ul.menu li#current ul li a, #leftcolumn ul.menu li#current ul li a:link,
#rightcolumn ul.menu li#current ul li a, #rightcolumn ul.menu li#current ul li a:link {
    
background:#f5f5f5 url(../images/menu_sub_link_bg.gif) left no-repeat;
    
text-decoration:none;
    
color:#06569d;
    
padding:2px 25px;
}

#leftcolumn ul.menu li#current ul li a:hover, #rightcolumn ul.menu li#current ul li a:hover {
    
background:#f5f5f5 url(../images/menu_sub_link_bg.gif) left no-repeat;
    
color:#666666;
}

/* forms */
#leftcolumn .moduletable ul, #rightcolumn .moduletable ul {
    
margin:6px 0;
    
padding:0;
    list-
style:none;
}

#leftcolumn .moduletable ul li, #rightcolumn .moduletable ul li {
    
margin:0;
    
padding:0 2px;
}

table.adminform textarea {
  
width540px;
  
height400px;
  
font-size1em;
  
color#000099;
}

div.search input {
    
width145px;
    
border1px solid #ccc;
    
margin15px 0 10px 0;
}

form#form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
form#form-login ul { padding-left: 20px; }

/* thumbnails */
div.mosimage         {  margin5px; }
div.mosimage_caption {  font-size.90emcolor#666; }

div.caption       padding0 10px 0 10px; }
div.caption img   border1px solid #CCC; }
div.caption p     font-size.90emcolor#666; text-align: center; }

/* Parameter Table */
table.paramlist {
    
margin-top5px;
}

table.paramlist td.paramlist_key {
    
width128px;
    
text-alignleft;
    
height30px;
}

table.paramlist td.paramlist_value {
}

div.message {
    
font-family "Trebuchet MS"ArialHelveticasans-serif;
    
font-weightbold;
    
font-size 14px;
    
color #c30;
    
text-aligncenter;
    
widthauto;
    
background-color#f9f9f9;
    
bordersolid 1px #d5d5d5;
    
margin3px 0px 10px;
    
padding3px 20px;
}

/* Banners module */

/* Default skyscraper style */
.bannergroup {
}

.
banneritem {
}

/* Text advert style */

.banneritem_text {
    
padding4px;
    
font-size11px;
}

.
bannerfooter_text {
    
padding4px;
    
font-size11px;
    
background-color#F7F7F7;
    
text-alignright;
}

/* System Messages */
/* see system general.css */

.pagination span padding2px; }
.
pagination a    padding2px; }

/* Polls */
.pollstableborder td {
    
text-alignleft;
}

/* Frontend Editing*/
fieldset {
    
border1px solid #ccc;
    
margin-top15px;
    
padding15px;
}

legend {
    
margin0;
    
padding0 10px;
}

td.key {
    
border-bottom:1px solid #eee;
    
color#666;
}

/* Tooltips */
.tool-tip {
    
floatleft;
    
background#ffc;
    
border1px solid #D4D5AA;
    
padding5px;
    
max-width200px;

  #4 (permalink)  
Antiguo 26/05/2010, 08:35
Avatar de neon261979  
Fecha de Ingreso: octubre-2009
Ubicación: Barcelona
Mensajes: 195
Antigüedad: 14 años, 6 meses
Puntos: 0
Respuesta: Modificar plantilla joomla

Nadie sabe como se puede hacer?

Un saludo.

Etiquetas: modificar, plantillas
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 23:17.