Ciao a tutti
Stò utilizzando un template di cui riporto in basso il codice CSS.
Le pagine a contenuto dinamico presentano una leggera differenza nel titolo da quelle a contenuto statico.
Quelle a contenuto dinamico hanno una linea sotto il titolo che arriva fino al bordo della pagina e si conclude con un logo (background:url(../images/elefant.png) top right no-repeat;).
Vorrei che anche le pagine a contenuto statico avessero lo stesso stile nel titolo.
E' possibile ?
Non sono molto pratico (anzi neanche un pò) di programmazione e ringrazio anticipatamente chi può darmi qualche indicazione per come e se è possibile fare la modifica che vorrei.
(Non fate caso alle scritte indicative sul codice che ho fatto io e potrebbero non essere esatte).
----------------------------------
body {
font-family: Verdana, Trebuchet MS, Arial, Helvetica;
font-size: 14px; /* DIMENSIONE FONT top menù */
background:#CADEB9 url(../images/logo.jpg) no-repeat top left;
background-attachment:fixed; /* Mantiene posizione IMMAGINE LOGO */
padding:0;
margin-bottom: 30px; /* POSIZIONE rispetto al top pagina */
}
p {
font-family: Verdana, Trebuchet MS, Arial, Helvetica;
font-size: 14px; /* Dimensione font contenuto pagina */
}
a:link, a:visited { /* COLORE link MENU' */
text-decoration: none;
font-weight: bold; /* FONT grassetto */
border: none;
color: #004377; /*COLORE BLU */
}
a:hover {
text-decoration: none; /* underline; */
border: none;
color: #CC0000; /* COLORE ROSSO */
}
#user1 {
float: left;
margin-bottom: 20px;
font-size: 10px;
width: 230px;
border: 0px solid blue;
}
#user2 {
float: left;
margin-bottom: 20px;
margin-left: 20px;
font-size: 10px;
width: 230px;
border: 0px solid green;
}
#design {
margin-left:90px;
font-size: 12px;
margin-top: -27px;
}
#main {
margin-left:300px; /* MARGINE da SINISTRA MAIN PAGE */
margin-top:30px; /* MARGINE ALTO MAIN PAGE */
margin-bottom:10px; /* MARGINE BASSO MAIN PAGE */
background:url(../images/main_m.jpg) bottom left repeat-y;
}
#main_top {
background:url(../images/main_t.jpg) top left no-repeat;
}
#main_bottom {
background:url(../images/main_b.jpg) bottom left no-repeat;
}
#logo {
position: absolute;
top:9px;
left:5Px;
}
#inhalt { /* CONTENUTO PRINCIPALE MAIN PAGE*/
margin-left:48px;
padding-bottom:40px;
padding-top:80px;
width:560px;
min-height:500px;
height:auto !important;
height:410px; /* Altezza minima del CONTENITORE PRINCIPALE */
}
#menu {
position:absolute;
top:30px;
left:70px;
}
#menu_left {
background:url(../images/menu_left_m.jpg) top left repeat-y;
}
#menu_left_top {
background:url(../images/menu_left_t.jpg) top left no-repeat;
}
#menu_left_bottom {
background:url(../images/menu_left_b.jpg) bottom left no-repeat;
}
#menu_right {
margin-top:15px;
background:url(../images/menu_left_m.jpg) top left repeat-y;
}
#menu_right_top {
background:url(../images/menu_right_t.jpg) top left no-repeat;
}
#menu_right_bottom {
background:url(../images/menu_left_b.jpg) bottom left no-repeat;
}
#menu_left_content, #menu_right_content {
width: 218px;
min-height:150px; /* ALTEZZA MINIMA MENU' */
height:auto !important;
height:200px;
padding-left: 24px;
padding-top: 25px;
padding-bottom: 25px;
}
.struktur {
position:absolute;
left:-1000px;
top:-1000px;
width:0px;
height:0px;
overflow:hidden;
display:inline;
}
table.moduletable {
width: 170px;
margin-top: 10px;
}
table.moduletable th {
font-family: Verdana, Trebuchet MS, Arial, Helvetica;
font-size: 16px; /*/Titolo menù*/
font-weight: bold;
color: #004377;
text-align: left;
white-space: nowrap;
width: 100%;
border-bottom: 2px solid #004377;
background:url(../images/elefant.png) top right no-repeat;
padding-left: 2px;
}
table.moduletable td {
font-family: Verdana, Trebuchet MS, Arial, Helvetica;
font-size: 14px; /* Dimensione voci di menù */
font-weight: normal;
padding-left: 0px;
}
.moduletable h3, .contentheading{ /* CONTENUTO STATICO */
font-family: Verdana, Trebuchet MS, Arial, Helvetica;
font-size: 30px; /* DIMENSIONE TITOLO PAGINA */
font-weight: bold;
color: #004377;
text-align: left;
white-space: nowrap;
border-bottom: 2px solid #004377;
margin: 0px;
}
.moduletable {
font-family: Verdana, Trebuchet MS, Arial, Helvetica;
}
/* --Default Class Settings-- */
a.mainmenu:link, a.mainmenu:visited, a.mainlevel:link, a.mainlevel:visited {
color: #004377;
text-decoration: none;
}
a.mainmenu:hover, a.mainlevel:hover { /* COLORE link AL PASSAGGIO MOUSE */
color: #CC0000;
}
a.sublevel:link, a.sublevel:visited {
color: #004377;
text-decoration: none;
}
a.sublevel:hover {
color: #CC0000; /*COLORE AL PASSAGGIO MOUSE VOCE SUB-MENù */
}
#active_menu {
color: #CC0000; /* COLORE MENU' ATTIVO */
font-weight: bold; /* Font GRASSETTO */
font-size: 14px; /* Dimensione voce menù attiva */
text-decoration: none; /* underline per il SOTTOLINEATO */
}
/* Other Mambo Stuff */
#title {
}
.pathway {
color: #BBBBBB;
font-size: 10px;
text-decoration: none;
font-weight: normal;
}
.pathway a{
color: #BBBBBB;
text-decoration: none;
font-weight: normal;
}
.mosimage {
border: 1px solid #cccccc;
margin: 5px
}
.mosimage_caption {
margin-top: 2px;
background: #efefef;
padding: 1px 2px;
color: #666;
font-size: 10px;
border-top: 1px solid #cccccc;
}
hr {
width: 90%;
}
hr.separator {
width: 40%;
}
a.pnav {
}
.pnav:hover {
}
.small {
font-size: 10px;
color: #ABABAB;
}
.smalldark {
font-size: 10px;
color: #000;
height: 10px;
line-height: 10px;
text-align: left;
}
.sectiontableentry1 { /* LINK di SELEZIONE CATEGORIE 1 */
text-align: left;
background: #E5E5E5;
font-size: 12px;
padding: 2px;
}
.sectiontableentry2 { /* LINK di SELEZIONE CATEGORIE */
background: #FFFFFF;
font-size: 12px;
text-align: left;
padding: 2px;
}
.button {
border: 1px solid #BBBBBB;
}
.inputbox {
border: 1px solid #BBBBBB;
}
.createdate {
font-size: 10px;
color: #ABABAB;
height: 10px;
line-height: 0.7;
}
.modifydate {
font-size: 10px;
color: #ABABAB;
height: 20px;
line-height: 20px;
margin-bottom: 5px;
}
table.contentpane td.contentheading {
border: none;
}
table.contentpane ul {
margin: 0px;
padding: 20px;
list-style: none;
}
table.contentpane ul li{
padding: 0px;
margin: 0px;
padding-left: 15px;
}
.contentdescription {
font-size: 12px; /* DIMENSIONE TITOLI delle SEZIONI */
font-weight: bold; /* GRASSETTO */
color: #44636B;
}
.sectiontableheader {
font-weight: bold;
font-size: 10px;
height: 25px;
line-height: 25px;
}
.categorytitle {
font-weight: bold;
font-size: 16px;
height: 25px;
line-height: 25px;
}
.componentheading {
font-weight: bold;
font-size: 22px; /* Dimensioni titolo contenuto dinamico */
height: 23px;
line-height: 20px;
border-bottom: 2px solid #004377;
background:url(../images/elefant.png) top right no-repeat;
color: #004377;
margin-bottom: 5px;
}
a.category {
text-decoration: underline;
}
a.category:hover {
text-decoration: underline;
}
.poll {
font-size: 10px;
text-align: center;
}
table.contenttoc {
border: 1px solid #CCCCCC;
padding: 3px;
}
table.contenttoc th{
font-weight: bold;
font-size: 10px;
border-bottom: 1px solid #BBBBBB;
}
form {
margin: 0px;
padding: 0px;
}