Back to top

Autore Topic: Aiuto modifiche css tema  (Letto 3184 volte)

Offline giovannib

  • Esploratore
  • **
  • Post: 64
    • Mostra profilo
Aiuto modifiche css tema
« il: 09 Apr 2011, 23:51:09 »
Salve, devo modificare alcune cose nel tema Mint fresh:
1) Modificare il colore del font nel top menų
2) Modificare i colori del menų sulla sx
3) Modificare il colore del font dei titoli dei vari moduli

Ecco il link al sito : http://gbcomputer.eu/joomla1.5/

Ed ecco il codice del file .css del tema:
Codice: [Seleziona]
------------------------------------------------------------------------
# Mint Fresh- Free June 2007 Template
# ------------------------------------------------------------------------
# Copyright (C) 2006-2007 Youjoomla.com, All Rights Reserved.
# @license - Copyrighted Commercial Software
-------------------------------------------------------------------------*/


#mainwrap{/* define width */
text-align:left;
margin:0 auto;
overflow:hidden;
background: #fff url(../images/Bg_body.gif) repeat-x left top;
}
#header{
height:100px;
background:transparent;
color:#ff1900;
padding:0;
margin-bottom:10px;
}
#logo{
float:left;
height:105px;
width:100%;
float:left;
background: url(../images/Logo.gif) no-repeat left top;
}
#newsflash{
height:90px;
width:30%;
background:#383737;
border:1px solid #5B6654;
float:right;
margin-top:20px;
margin-right:30px;
overflow:hidden;
}
#newsflash h3{
color:#ff0400;
background: url(../images/h3newsfl.gif) no-repeat left bottom;
margin:0;
padding-left:3px;
}
#newsflash .moduletable{
padding:0px 3px;
margin:0px;
}

#font{
width:70px;
float:right;
text-align:left;
margin-top:2px;
overflow:hidden;
}
#search{
float:right;
height:20px;
overflow:hidden;
margin-top:4px;
margin-right:7px;
}
div.search input {
border: solid 1px #999;
padding: 1px 4px 0 6px;
width: 140px;
color: #f00;
font-size: 11px;
background: url(../images/search-bg.jpg) repeat-x;
}
div.search input:hover,
div.search input:focus {
border: 1px solid #BCE27F;
}
#pathway{
height:20px;
float:left;
padding-left:10px;
width:75%;
margin:0;
}
#mainbody{
width:75%;
float:right;
overflow:hidden;
margin-right:5px;
}
#mainbody_right{
width:100%;
float:left;
overflow:hidden;
}
#maincont{
margin:0 auto;
text-align:left;
width:100%;
overflow:hidden;
padding-top:10px;
}
#content{
float:left;
width:73%;
overflow:hidden;
}
#content_left{
float:left;
width:100%;
}
#content_full{
float:left;
width:98%;
margin-left:10px;
}
#content_right{
float:left;
width:74%;
margin-left:5px;
overflow:hidden;
}
#topshelf,#bottomshelf{
width:100%;
margin:0 auto;
background:#fff;
padding:5px 0;
overflow:hidden;
margin-bottom:20px;
margin-top:20px;
}
#user2,#user6{
float: left;
margin-right:0;
margin-top:2px;
margin-bottom:2px;
overflow:hidden;
color:#cc0000;
}
#user2 h3,#user3 h3,#user5 h3,
#user6 h3{
color:#f00;
padding-bottom:8px;
background: url(../images/h3shel.png) no-repeat left bottom;
font: bold 1.3em "Times New Roman", Times, serif;
text-transform: capitalize;
}
#user3,#user5{
float: right;
margin-top:2px;
margin-bottom:2px;
overflow:hidden;
color:#b84f4f;
}
#user2 .moduletable,#user3 .moduletable,
#user5 .moduletable,#user6 .moduletable{
margin-right:0;
margin-top:10px;
margin-bottom:10px;
overflow:hidden;
color:#f00;
}
#left .moduletable,#right .moduletable{
margin-bottom:10px;
margin-left:10px;
border:1px solid #f0f0f0;

}

#left{
float:left;
width:23%;
margin-left:2px;
}
#right{
float:right;
width:25%;
}
#right_r{
float:right;
width:25%;
border:1px solid #f0f0f0;
}
#footer{
height:121px;
margin:0 auto;
text-align:center;
margin-top:5px;
margin-bottom:0px;
background: url(../images/footer.gif) repeat-x left top;
}
#footlogo{
height:121px;
width:100%;
background: url(../images/logofoot.gif) no-repeat right top;
}
#footmenu{
width:100%;
float:left;
text-align:left;
color:#fff;
height:50px;
margin-top:50px;
margin-left:10px;
}
#footmenu .mainlevel-nav{
color:#ff000a;
}
#footmenu a.mainlevel-nav:hover {
color:#999;
}
#copy{
color:#CCCCCC;
margin-top:40px;
}
html, body, form, fieldset {
margin: 0;
padding: 0;
}
html {
height: 100%;
}
body {
margin:0 auto;
text-align:center;
padding: 0;
font: 76%/1.5 Arial, Helvetica, "Sans Serif";
color: #333;
background-image: url(../images/bg2.gif)
}
.clr2 {
clear: both;
height:1px;
width:100%;
}
ul#mainlevel-nav{
list-style: none;
padding: 0;
margin: 0;
font-size: 0.8em;
}
ul#mainlevel-nav li{
background-image: none;
padding-left: 0px;
padding-right: 0px;
float: left;
margin: 0;
font-size: 11px;
line-height: 21px;
white-space: nowrap;
border-right: 1px solid #cccccc;
}
ul#mainlevel-nav li a{
display: block;
padding-left: 15px;
padding-right: 15px;
text-decoration: none;
color: #333333;
background: transparent;
}
.back_button {
float: left;
text-align: center;
font-size: 11px;
font-weight: bold;
border: 1px solid #cccccc;
width: auto;
background:#fff;/*change to image if needed */
padding: 0px 10px;
line-height: 20px;
margin: 1px;
}
.pagenav {
text-align: center;
font-size: 11px;
font-weight: bold;
border: 1px solid #cccccc;
width: auto;
background:#AFAFAF;/*change to image if needed */
padding: 0px 10px;
line-height: 20px;
 margin: 1px;
}
.pagenavbar {
margin-right: 10px;
float: right;
}
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 2px;
}
td {
text-align: left;
font-size: 11px;
}
/* DEFAULT JOOMLA */
a:link, a:visited {
color: #000; text-decoration: none;
font-weight: bold;
}
a:hover {
color: black; text-decoration: underline;
font-weight: bold;
}
table.contentpaneopen {
width: 100%;
padding: 0px;
border-collapse: collapse;
border-spacing: 0px;
margin: 0px;
}
table.contentpaneopen td {
padding-right: 5px;
}
table.contentpaneopen td.componentheading {
padding-left: 4px;
}
table.contentpane {
width: 100%;
padding: 0px;
border-collapse: collapse;
border-spacing: 0px;
margin: 0px;
}
table.contentpane td {
margin: 0px;
padding: 0px;
}
table.contentpane td.componentheading {
padding-left: 4px;
}
table.contentpaneopen fieldset {
border: 0px;
border-bottom: 1px solid #eee;
}
.button {
color: #35383b;
font-family: Arial, Hevlvetica, sans-serif;
text-align: center;
font-size: 11px;
font-weight: bold;
border: solid 1px #2e2e2e;
width: auto;
background:#f00;/*you can also add an image */
padding: 0 5px;
line-height: 14px;
height: 18px;
margin: 1px;
}
.inputbox {
padding: 2px;
border:solid 1px #cccccc;
background-color: #ffffff;
}
.componentheading {
background:#f00;/*change to anything you want,color, image ect.*/
color: #666666;
text-align: left;
padding-top: 4px;
padding-left: 4px;
height: 21px;
font-weight: bold;
font-size: 10px;
text-transform: uppercase;
margin-bottom:20px;
}
.contentcolumn {
padding-right: 5px;
}
.contentheading {
height: 30px;
color: #f00;
white-space: nowrap;
font: bold 1.8em "Times New Roman", Times, serif;
margin-bottom:20px;
}
.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;
}
div.moduletable {
padding: 0;
margin-bottom: 5px;
}
/*this is your module heading style */
table.moduletable th, div.moduletable h3 {
background:#f00;/*change to anything you want,color, image ect.*/
color: #666666;
text-align: left;
padding-left: 4px;
height: 21px;
line-height: 21px;
font-weight: bold;
font-size: 10px;
text-transform: uppercase;
margin: 0 0 2px;
}
table.moduletable td {
font-size: 11px;
padding: 0px;
margin: 0px;
font-weight: normal;
}
table.pollstableborder {
border: none;
padding: 0;
width: 100%;
text-align: left;
}
table.pollstableborder img {
vertical-align: baseline;
}
table.pollstableborder td {
padding: 2px
}
table.pollstableborder tr.sectiontableentry1 td {
border: none;
background: #EFEFEF;
}
table.pollstableborder tr.sectiontableentry2 td {
border: none;
}
.contentpane{
width:100%;
}
.sectiontableheader {
font-weight: bold;
background: #efa4a4;
padding: 4px;
}
.sectiontablefooter {
}
.sectiontableentry1 {
background-color : #ffbfbf;
}
.sectiontableentry2 {
background-color : #ffdfdf;
}
.small {
color: #999999;
font-size: 11px;
}
.createdate {
height: 15px;
padding-bottom: 10px;
color: #999999;
font-size: 11px;
}
.modifydate {
height: 15px;
padding-top: 10px;
color: #999999;
font-size: 11px;
}
table.contenttoc {
border: 1px solid #cccccc;
padding: 2px;
margin-left: 2px;
margin-bottom: 2px;
}
table.contenttoc td {
padding: 2px;
}
/* this is list of pages on multiple page items */
table.contenttoc th {
background:#e27f7f;/*change to anything you want,color, image ect.*/
color: #666666;
text-align: left;
padding-top: 2px;
padding-left: 4px;
height: 21px;
font-weight: bold;
font-size: 10px;
text-transform: uppercase;
}
/*simple menu*/
a.mainlevel:link, a.mainlevel:visited {
display: block;
background: url(../images/menu_back.gif) no-repeat;
vertical-align: middle;
font-size: 11px;
font-weight: bold;
color: #383737;
text-align: left;
padding-top: 5px;
padding-left: 28px;
height: 20px !important;
height: 25px;
text-decoration: none;
}
a.mainlevel:hover {
background-position: 0 -25px;
text-decoration: none;
color: #000;
}
a.mainlevel#active_menu {
color:#000;
font-weight: bold;
}
a.mainlevel#active_menu:hover {
color: #9f4f4f;
}
a.sublevel:link, a.sublevel:visited {
padding-left: 1px;
vertical-align: middle;
font-size: 11px;
font-weight: bold;
color: #9f4f4f;
text-align: left;
}
a.sublevel:hover {
color: #f00;
text-decoration: none;
}
a.sublevel#active_menu {
color: #f00;
}
.highlight {
background-color: Yellow;
color: Blue;
padding: 0;
}
.code {
background-color: #ddd;
border: 1px solid #bbb;
}
form {
/* removes space below form elements */
margin: 0;
padding: 0;
}
div.mosimage {
border: 1px solid #ccc;
}
.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;
}
span.article_seperator {
display: block;
height: 1.5em;
}
a.readon:link, a.readon:visited{
float: left;
margin-top:10px;
padding: 1px 5px 1px 16px;
color: #333;
font-size: 0.87em;
background: url(../images/readon.gif) no-repeat left center;
}
a.readon:hover {
color: #f00;
font-size: 0.87em;
text-decoration: underline;
}
/* SUCKERFISH
--------------------------------------------------------- */
#menuwrap{
width:100%;
height:25px;
background:none /*url(../images/menu_bg.gif) repeat-xchange anytime */;
margin-top:35px;
margin-bottom:10px;
}
#suckdiv{
height: 25px;
}
#suck{
margin: 0;
padding: 0;
height: 23px;
}
#suck a {
text-transform: capitalize;
font-size: 1.1em;
color: #f00;
float: left;
text-decoration: none;
display: block;
cursor: pointer;
line-height: 26px;
padding: 0 15px;
}
#suck a.topdaddy,
#suck li a {
background: url(../images/suck_bord.gif) 0 0 no-repeat;
height: 23px;
}
#suck li a:hover{}
#suck li li a{
background: transparent;
font-weight: normal;
padding: 0;
text-indent: 15px;
text-transform: uppercase;
color: #f00;
line-height: 23px;
}
#suck ul li ul li a:hover{
background: none;
}
#suck ul li a:hover,
#suck ul li ul li ul li a:hover {
color: #f00;
}
#suck, #suck ul {
float: left;
list-style: none;
margin: 0;
padding: 0;
}
#suck li li {
padding: 0;
background: none;
border-bottom: 1px solid #080809;/*always darker shadow line 5x*/
border-top: 1px solid #787777;/*always lighter shadow line 1x*/
}
#suck ul ul a {
display: block;
color: #f00;
text-decoration: none;
width: 167px;
text-transform: none;
font-size: 1.1em;
text-align: left;
}
#suck li {
float: left;
padding: 0;
background: none;
height: 23px;
}
#suck ul li {
position: relative;
z-index: 1;
margin:0;
padding:0;
}
#suck li ul {
top: 23px;
position: absolute;
left: -999em;
height: auto;
width: 170px;
font-weight: normal;
border-width: 0;
margin: 0;
padding: 0;
border-right: 1px solid #080809;/*always darker shadow line 5x*/
border-left: 1px solid #080809;
border-bottom: 1px solid #080809;
border-top: 1px solid #080809;
}
#suck ul {
padding: 0;
margin: 0;
margin-left: 2px;
}
#suck li li {
float: left;
padding: 0;
width: 170px;
}
#suck li ul ul {
margin: -19px 0 0 170px;
}
#suck li:hover ul ul,
#suck li:hover ul ul ul,
#suck li:hover ul ul ul ul, 
#suck li.sfhover ul ul,
#suck li.sfhover ul ul ul,
#suck li.sfhover ul ul ul ul {
left: -999em;
}
#suck li:hover ul,
#suck li li:hover ul,
#suck li li li:hover ul,
#suck li li li li:hover ul,
#suck li.sfhover ul,
#suck li li.sfhover ul,
#suck li li li.sfhover ul,
#suck li li li li.sfhover ul{
z-index: 100;
left: 0;
}
#suck li:hover, #suck li.sfhover {
left: 0;
background-color: #2D2C2C;
}
#suck li:hover a, #suck li.sfhover a {
color: #f00;
}
#suck li li:hover a, #suck li li.sfhover a {
color: #f00;
}
#suck li li:hover a:hover, #suck li li.sfhover a:hover {
color: #f00;
}
#suck ul ul a {
background: none;
}
#suck li.active {}
#suck li li.active {
background: none;}
#suck li:hover ul,
#suck li li:hover ul,
#suck li li li:hover ul,
#suck li li li li:hover ul,
#suck li.sfhover ul,
#suck li li.sfhover ul,
#suck li li li.sfhover ul,
#suck li li li li.sfhover ul{
background: #383737;
}
form {
margin: 0;
padding: 0;
}

Mi indicate dove agire?
Mille grazie
« Ultima modifica: 10 Apr 2011, 00:18:31 da conti1 »

Offline conti1

  • Global Moderator
  • Instancabile
  • *****
  • Post: 9075
  • Sesso: Maschio
    • Mostra profilo
Re:Aiuto modifiche css tema
« Risposta #1 il: 10 Apr 2011, 00:26:47 »
ciao
non postare codice inutile se non ti viene richiesto hai messo il link del sito basta quello
1 domanda

template_css.css (riga 605)
Codice: [Seleziona]
#suck a {
    color: #FF0000;<<<<<<<<qui
    cursor: pointer;
    display: block;
    float: left;
    font-size: 1.1em;
    line-height: 26px;
    padding: 0 15px;
    text-decoration: none;
    text-transform: capitalize;
}


2 domanda

template_css.css (riga 501)
Codice: [Seleziona]
a.mainlevel:link, a.mainlevel:visited {
    background: url("../images/menu_back.gif") no-repeat scroll 0 0 transparent;
    color: #383737;<<<<<<<<qui
    display: block;
    font-size: 11px;
    font-weight: bold;
    height: 20px !important;
    padding-left: 28px;
    padding-top: 5px;
    text-align: left;
    text-decoration: none;
    vertical-align: middle;
}

3 domanda
qui dovrai vedere  la posizione se il css separato oppure unico esempio
i tuoi user sono tutti unici
template_css.css (riga 138)
Codice: [Seleziona]
#user2 h3, #user3 h3, #user5 h3, #user6 h3 {
    background: url("../images/h3shel.png") no-repeat scroll left bottom transparent;
    color: #FF0000;<<<<<qui
    font: bold 1.3em "Times New Roman",Times,serif;
    padding-bottom: 8px;
    text-transform: capitalize;
}

{
e cosi x tutte le tue posizioni .
se possibile postare il link  x risolvere al meglio il problema grazie
evitare nomi commerciali grazie

Offline giovannib

  • Esploratore
  • **
  • Post: 64
    • Mostra profilo
Re:Aiuto modifiche css tema
« Risposta #2 il: 10 Apr 2011, 01:41:52 »
Grazie e mi scuso se ho sbagliato a postare il codice

Allora :
1) tutto ok tranne i sottomenu che non riesco a cambiare
2) devo modificare l'immagine di sfondo ma tutto ok
3) ho provato a modificare ma non succede nulla...Carneade please

grazie mille

Offline giovannib

  • Esploratore
  • **
  • Post: 64
    • Mostra profilo
Re:Aiuto modifiche css tema
« Risposta #3 il: 10 Apr 2011, 13:29:23 »
E poi come faccio a cambiare i colori del modulo sondaggio?

Offline conti1

  • Global Moderator
  • Instancabile
  • *****
  • Post: 9075
  • Sesso: Maschio
    • Mostra profilo
Re:Aiuto modifiche css tema
« Risposta #4 il: 10 Apr 2011, 13:39:03 »
E poi come faccio a cambiare i colori del modulo sondaggio?
primo colore
template_css.css (riga 460)
Codice: [Seleziona]
.sectiontableentry2 {
    background-color: #FFDFDF;
}

altro colore
template_css.css (riga 457)
Codice: [Seleziona]
.sectiontableentry1 {
    background-color: #FFBFBF;
}
template_css.css (riga 457)

titolo e colore rosso
qui attento che potresti cambiare anche da altre parti toccando questo css
template_css.css (riga 410)
Codice: [Seleziona]
table.moduletable th, div.moduletable h3 {
    background: none repeat scroll 0 0 #FF0000;
    color: #666666;
    font-size: 10px;
    font-weight: bold;
    height: 21px;
    line-height: 21px;
    margin: 0 0 2px;
    padding-left: 4px;
    text-align: left;
    text-transform: uppercase;
}

se possibile postare il link  x risolvere al meglio il problema grazie
evitare nomi commerciali grazie

Offline giovannib

  • Esploratore
  • **
  • Post: 64
    • Mostra profilo
Re:Aiuto modifiche css tema
« Risposta #5 il: 10 Apr 2011, 18:57:27 »
Colore modulo sondaggio ok...
Per i colori dei titoli facendo quella mod mi cambia solo alcuni(tipo al centro della pagina non cambia)...
Inoltre per metterli in grassetto se aggiungo in questo modo:
Codice: [Seleziona]
table.moduletable th, div.moduletable h3 {
background:#f00;/*change to anything you want,color, image ect.*/
color: #ffff00;
text-align: left;
padding-left: 4px;
height: 21px;
line-height: 21px;
font-style:inherit; <-- cosė
font-weight: bold;
font-size: 10px;
text-transform: uppercase;
margin: 0 0 2px;
}
Va bene?

Infine, ho difficoltā nel modificare il colore del sottomenų nel menų Top...
« Ultima modifica: 10 Apr 2011, 19:02:38 da giovannib »

Offline giovannib

  • Esploratore
  • **
  • Post: 64
    • Mostra profilo
Re:Aiuto modifiche css tema
« Risposta #6 il: 11 Apr 2011, 04:20:14 »
Ragazzi aiutatemi per i colori dei titoli dei moduli...č importante...
grazie mille a tutti


 



Web Design Bolzano Kreatif