Fork me on GitHub






Theme APH002
Xoops accro
Inscrit: 27/07/2005 16:10
De France
Messages: 2970
Bonjour

Je viens d'installer le theme APH002 sur un site 2.3.2 b

Je voudrais modifier ce theme en y supprimant quelques truc

1-Je voudrais supprimer les Open in new window Open in new windowOpen in new windowOpen in new window et ne laisser le theme en vert part defaut

Comment faire?

merci

Posté le : 29/03/2009 10:11
Partager Twitter Partagez cette article sur GG+
Re: Theme APH002
Semi pro
Inscrit: 10/11/2004 13:40
Messages: 1659
bonsoir tatane,

- si tu remplaces le contenu du fichier blue.css par celui du fichier green.css

et que tu supprimes les lignes ci-dessous dans ton theme.html
<link rel="alternate stylesheet" type="text/css" media="all" title="blue" href="<{$xoops_imageurl}>css/blue.css" />
<
link rel="alternate stylesheet" type="text/css" media="all" title="red" href="<{$xoops_imageurl}>css/red.css" />
<
link rel="alternate stylesheet" type="text/css" media="all" title="green" href="<{$xoops_imageurl}>css/green.css" />
<
link rel="alternate stylesheet" type="text/css" media="all" title="grey" href="<{$xoops_imageurl}>css/grey.css" />


puis tu effaces les caches , j'ai essayé ça a l'air bon

Posté le : 29/03/2009 20:05

PS : Toujours faire une sauvegarde des fichiers avant de les modifier !
-------------------------------------------
http://www.aideordi.com
Partager Twitter Partagez cette article sur GG+
Re: Theme APH002
Semi pro
Inscrit: 10/11/2004 13:40
Messages: 1659
re,

ben non c'était pas bon ce que je disais au dessus, mais là je pense avoir trouvé, pas besoin de modifier le fichier blue.css

- modifier theme.html comme indiqué

- modifier style.css
* {
    
padding0px;
    
margin0px;
}

body {
    
padding-top20px;
    
margin0 0;
    
font-familyVerdanaArialHelveticasans-serif;
    
background#003800;
    
background-repeatrepeat;
}

.
wrapper {
    
displayblock;
    
width990px;
    
margin-leftauto;
    
margin-rightauto;
    
background-imageurl(../visual/APH002gr_09.jpg);
    
heightauto;
}

.
header {
    
color#FFFFFF;
    
text-alignleft;
    
width990px;
    
height297px;
    
padding5px 0;
    
margin-leftauto;
    
margin-rightauto;
    
background-imageurl('../visual/APH002gr_08.jpg');
    
background-repeatno-repeat;
}

.
header h1{
    
font-size:36px;
    
padding-top20px;
    
padding-left25px;
    
font-familyArial"MS Sans Serif";
    
font-weightbold;
}
.
header h2{
    
font-size:24px;
    
padding-top20px;
    
padding-left25px;
    
font-familyArial"MS Sans Serif";
    
font-weightbold;
}
.
header h3{
    
font-size:18px;
    
padding-top155px;
    
padding-left25px;
    
font-familyArial"MS Sans Serif";
    
font-weightbold;
}

.
left {
    
width175px;
    
margin-top10px;
    
margin-left14px;
    
font-size12px;
    
floatleft;
    
heightauto;
}

.
right {
    
width175px;
    
margin-top0px;
    
font-size12px;
    
positionabsolute;
    
margin-left:800px;
    
top410px;
    
heightauto;
}

.
left h2 {
    
font-size13px;
    
text-aligncenter;
    
background-imageurl('../visual/APH002-lrtl.jpg');
    
background-repeatno-repeat;
    
color#FFFFFF;
    
height:40px;
}

.
right h2 {
    
font-size13px;
    
padding-top12px;
    
text-aligncenter;
    
background-imageurl('../visual/APH002-rltl.jpg');
    
background-repeatno-repeat;
    
color#FFFFFF;
    
height:37px;
}

.
left p {
    
font-size10px;
    
padding10px 5px 10px 5px;
}


.
left .infobox {
    
margin-top10px;
}

.
right .infobox {
    
margin-top10px;
}

.
left .infobox .stuff{
    
margin-top10px;
    
margin-left10px;
    
font-size12px;
}

.
right .infobox .stuff{
    
margin-top10px;
    
font-size12px;
    
margin-left10px;
}

.
left .infobox .active {
    
backgroundtransparent;
    
color#EDBF00;
    
border-left4px solid #EDBF00;
}

.
left .infobox h2 {
    
padding-top10px;
    
padding-right5px;
    
background-imageurl('../visual/APH002-lrtl.jpg');
    
background-repeatno-repeat;
    
color#FFFFFF;
}

.
left .infobox ul {
    list-
style-typenone;
    
padding-left5px;
    
margin-bottom5px;
    
line-height100%;
}

.
left .infobox ul li a {
    list-
style-typenone;
    
colorsilver;
    
background:transparent;
    
font-size12px;
    
line-height120%;
    
padding-left10px;
    
text-decorationnone;
    
border-left4px solid #C6E535;
}

.
left .infobox ul li a:hover {
    
color#EDBF00;
    
border-left4px solid #EDBF00;
}

.
left .infobox a {
    list-
style-typenone;
    
color#2a6c9d;
    
background:transparent;
    
font-size11px;
    
line-height120%;
    
padding-left10px;
    
text-decorationnone;
}

.
left .infobox a:hover {
    
color#000000;
}

.
right .infobox a {
    list-
style-typenone;
    
color#2a6c9d;
    
background:transparent;
    
font-size11px;
    
line-height120%;
    
padding-left10px;
    
text-decorationnone;
}

.
right .infobox a:hover {
    
color#000000;
}

.
center {
    
floatright;
    
font-size12px;
    
width760px;
    
margin-top10px;
    
margin-right17px;
    
heightauto;
}
.
cont div{
positionrelative;
heightauto;
}


 .
cont{
    
floatright;
    
width750px;
    
margin-top10px;
    
margin-left17px;
    
margin-right17px;
    
heightauto;
}

 .
contr{
    
floatleft;
    
width570px;
    
font-size12px;
    
margin-top10px;
    
heightauto;
}

.
centerr {
    
floatright;
    
width760px;
    
margin-top10px;
    
margin-right17px;
    
heightauto;
}

.
center .post {
    
padding0 0 5px 0;
    
margin-bottom0px;
    
margin-left10px;
    
margin-top10px;
    
border3px solid silver;
    
width730px;
    
floatleft;
}
.
centerr .post {
    
padding0 0 5px 0;
    
margin-bottom0px;
    
margin-left10px;
    
margin-top10px;
    
border3px solid silver;
    
width550px;
    
floatleft;
}
.
center .post .stuff, .centerr .post .stuff, .center .post1 .stuff,.center .post2 .stuff, .center .post3 .stuff, .center .post4 .stuff, .center .post5 .stuff, .centerr .post5 .stuff, .centerr .post4 .stuff, .centerr .post3 .stuff, .centerr .post2 .stuff, .centerr .post1 .stuff{
    
font-size12px;padding10px;
}
.
center .post1 {
    
padding0 0 5px 0;
    
margin-top10px;
    
margin-bottom0px;
    
margin-rightauto;
    
margin-left10px;
    
border3px solid silver;
    
width354px;
    
floatleft;
}
.
centerr .post1 {
    
padding0 0 5px 0;
    
margin-top10px;
    
margin-bottom0px;
    
margin-rightauto;
    
margin-left10px;
    
border3px solid silver;
    
width265px;
    
floatleft;
}
.
center .post2 {
    
padding0 0 5px 0;
    
margin-top10px;
    
margin-bottom0px;
    
margin-rightauto;
    
margin-left15px;
    
border3px solid silver;
    
width354px;
    
floatleft;
}

.
centerr .post2 {
    
padding0 0 5px 0;
    
margin-top10px;
    
margin-bottom0px;
    
margin-rightauto;
    
margin-left15px;
    
border3px solid silver;
    
width265px;
    
floatleft;
}

.
center .post h2 {
    
height40px;
    
padding-top10px;
    
padding-left10px;
    
color#000;
    
font-size18px;
}
.
center .post1 h2 {
    
height40px;
    
padding-top10px;
    
color#000;
    
font-size18px;
    
padding-left10px;
}
.
center .post2 h2 {
    
height40px;
    
padding-top10px;
    
padding-left10px;
    
color#000;
    
font-size18px;
}

.
center .post3 h2 {
    
height40px;
    
padding-top10px;
    
padding-left10px;
    
color#000;
    
font-size18px;
}

.
center .post4 h2 {
    
height40px;
    
padding-top10px;
    
color#000;
    
font-size18px;
    
padding-left10px;
}
.
center .post5 h2 {
    
height40px;
    
padding-top10px;
    
padding-left10px;
    
color#000;
    
font-size18px;
}
.
centerr .post h2 {
    
height40px;
    
padding-top10px;
    
padding-left10px;
    
color#000;
    
font-size18px;
}
.
centerr .post1 h2 {
    
height40px;
    
padding-top10px;
    
color#000;
    
font-size18px;
    
padding-left10px;
}
.
centerr .post2 h2 {
    
height40px;
    
padding-top10px;
    
padding-left10px;
    
color#000;
    
font-size18px;
}

.
centerr .post3 h2 {
    
height40px;
    
padding-top10px;
    
padding-left10px;
    
color#000;
    
font-size18px;
}

.
centerr .post4 h2 {
    
height40px;
    
padding-top10px;
    
color#000;
    
font-size18px;
    
padding-left10px;
}
.
centerr .post5 h2 {
    
height40px;
    
padding-top10px;
    
padding-left10px;
    
color#000;
    
font-size18px;
}
.
center .post3 {
    
padding0 0 5px 0;
    
margin-bottom0px;
    
margin-left10px;
    
margin-top20px;
    
border3px solid silver;
    
width730px;
    
floatleft;
}
.
centerr .post3 {
    
padding0 0 5px 0;
    
margin-bottom0px;
    
margin-left10px;
    
margin-top20px;
    
border3px solid silver;
    
width550px;
    
floatleft;
}
.
center .post4 {
    
padding0 0 5px 0;
    
margin-bottom20px;
    
margin-top10px;
    
margin-rightauto;
    
margin-left10px;
    
border3px solid silver;
    
width354px;
    
floatleft;
}
.
centerr .post4 {
    
padding0 0 5px 0;
    
margin-bottom20px;
    
margin-top10px;
    
margin-rightauto;
    
margin-left10px;
    
border3px solid silver;
    
width265px;
    
floatleft;
}
.
center .post5 {
    
padding0 0 5px 0;
    
margin-bottom20px;
    
margin-top10px;
    
margin-rightauto;
    
margin-left15px;
    
border3px solid silver;
    
width354px;
    
floatleft;
}
.
centerr .post5 {
    
padding0 0 5px 0;
    
margin-bottom20px;
    
margin-top10px;
    
margin-rightauto;
    
margin-left15px;
    
border3px solid silver;
    
width265px;
    
floatleft;
}
.
center .post p {
    
line-height15px;
    
padding10px;
    
font-size12px;
}
.
center .post1 p {
    
line-height15px;
    
padding10px;
    
font-size12px;
}
.
center .post2 p {
    
line-height15px;
    
padding10px;
    
font-size12px;
}
.
center .post3 p {
    
line-height15px;
    
padding10px;
    
font-size12px;
}
.
center .post4 p {
    
line-height15px;
    
padding10px;
    
font-size12px;
}
.
center .post5 p {
    
line-height15px;
    
padding10px;
    
font-size12px;
}

.
center  .post ul {
    
padding2%;
    
padding-left10%;
}

.
footer {
    
color#000000;
    
clearboth;
    
text-aligncenter;
    
padding-top10px;
    
padding-bottom10px;
    
width990px;
    
min-height20px;
    
margin-rightauto;
    
margin-leftauto;
    
text-transformuppercase;
    
font-size10px;
    
background-imageurl(../visual/APH002gr_10.jpg);
    
background-repeatno-repeat;
}

.
footer a {
    
color#2a6c9d;
}
.
footer a:hover {
    
color#000000;
}

{color#2a6c9d; text-decoration: none; font-weight: bold; background-color: transparent;}
a:hover {
    
color#000000;
    
text-decorationnone;
}

.
clear {
    
clearboth;
}

img {
    
border0px;
}


/***** XOOPS ICMS MENUS *****/

#mainmenu {}
#mainmenu a { display: block; margin: 0; padding: 4px;}
#mainmenu a:hover {text-transform:uppercase;}
#mainmenu a.menuTop {padding-left: 3px; }
#mainmenu a.menuMain {padding-left: 3px;}
#mainmenu a.menuSub {padding-left: 9px;}

#usermenu a {display: block; margin: 0; padding: 4px;}
#usermenu a:hover {text-transform:uppercase;}
#usermenu a.menuTop {}
#usermenu a.highlight {}

/***** XOOPS ICMS CORE STUFF *****/
.item {border1px solid #cccccc;}
.itemHead {padding3pxbackground-color#003800; color: #FFFFFF;}
.itemInfo {text-alignrightpadding3pxbackground-color#efefef}
.itemTitle a {font-size130%; font-weightboldfont-variantsmall-capscolor#ffffff; background-color: transparent;}
.itemPoster {font-size90%; font-style:italic;}
.
itemPostDate {font-size90%; font-style:italic;}
.
itemStats {font-size90%; font-style:italic;}
.
itemBody {padding-left5px;}
.
itemText {margin-top5pxmargin-bottom5pxline-height1.5em;}
.
itemText:first-letter {font-size133%; font-weightbold;}
.
itemFoot {text-alignrightpadding3pxbackground-color#efefef}
.itemAdminLink {font-size90%;}
.
itemPermaLink {font-size90%;}

.
outer {border1px solid #5382b7;}
.head {background-color#e3e9ef; padding: 5px; font-weight: bold;}
.even {background-color#bfd1ed; padding: 5px;color: #fff}
.odd {background-color#6e93ca; padding: 5px;color: #fff}
.foot {background-color#e3e9ef; padding: 5px; font-weight: bold;}
tr.even td {background-color#bfd1ed; padding: 5px;}
tr.odd td {background-color#6e93ca; padding: 5px;}

table {width100%;text-alignleft;}
table td {padding0border-width0vertical-aligntop;font-size12px;font-family/*"lucida sans unicode",*/VerdanaArialHelveticasans-serif;}
th {background-imageurl(../visual/tl.jpg);background-repeatrepeat-xcolor#000;height: 30px; padding : 2px; vertical-align : middle; font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 14px}
#centercolumn th {background-image: url(visual/sdbg.png);background-repeat: repeat-x; color: #FFFFFF;vertical-align: middle;}

div.errorMsg background-color#FFCCCC; text-align: center; border-top: 1px solid #DDDDFF; border-left: 1px solid #DDDDFF; border-right: 1px solid #AAAAAA; border-bottom: 1px solid #AAAAAA; font-weight: bold; padding: 10px;}
div.confirmMsg background-color#DDFFDF; color: #136C99; text-align: center; border-top: 1px solid #DDDDFF; border-left: 1px solid #DDDDFF; border-right: 1px solid #AAAAAA; border-bottom: 1px solid #AAAAAA; font-weight: bold; padding: 10px;}
div.resultMsg background-color #CCCCCC; color: #333333; text-align: center; border-top: 1px solid silver; border-left: 1px solid silver; font-weight: bold; border-right: 1px solid #666666; border-bottom: 1px solid #666666; padding: 10px;}

div.xoopsCode background#FFFFFF; border: 1px inset #000080; font-family: "Courier New",Courier,monospace; padding: 0px 6px 6px 6px;}
div.xoopsQuote background#FFFFFF; border: 1px inset #000080; font-family: "Courier New",Courier,monospace; padding: 0px 6px 6px 6px;}


/* XOOPS ICMS SPECIFIC DATA */



/* forms elements */
input border1px solid #CCCCCC;font-size: 11px; font-family: verdana, arial, helvetica, sans-serif; color: #333333;  background-color: #ffffff;padding-left:3px;background-color: #f7f7f7;}
textarea {background-color#f7f7f7;color: #333333; border: #CCCCCC 1px solid; width: 430px; font-size: 11px; font-family: verdana, arial, helvetica, sans-serif;}
select {border1px solid #CCCCCC; font-size: 11px; font-family: verdana, arial, helvetica, sans-serif;}
.formButton {}
input:focustextarea:focus{background-color#ffffff;border: 1px solid #9f9f9f;}

/* End of XOOPS-ICMS data */

/* Header Menu */

.hlinks {
    
text-aligncenter;
    
padding-top30px;
}

#aphmenu {
    
position:relative;
    
left:0px;
    
top:0px;
    
width:990px;
    
height:70px;
}

#APH002-01_ {
    
position:absolute;
    
background-imageurl(../visual/APH002gr_01.jpg);
    
left:0px;
    
top:0px;
    
width:31px;
    
height:70px;
}

#APH002-02_ a{
    
position:absolute;
    
background-imageurl(../visual/APH002gr_02.jpg);
    
left:31px;
    
top:0px;
    
width:125px;
    
height:70px;
}

#APH002-02_ a:hover{
    
position:absolute;
    
background-imageurl(../visual/APH002ghv_02.jpg);
    
left:31px;
    
top:0px;
    
width:125px;
    
height:70px;
}

#APH002-03_ a{
    
position:absolute;
    
background-imageurl(../visual/APH002gr_03.jpg);
    
left:156px;
    
top:0px;
    
width:125px;
    
height:70px;
}

#APH002-03_ a:hover{
    
position:absolute;
    
background-imageurl(../visual/APH002ghv_03.jpg);
    
left:156px;
    
top:0px;
    
width:125px;
    
height:70px;
}

#APH002-04_ a{
    
position:absolute;
    
background-imageurl(../visual/APH002gr_04.jpg);
    
left:281px;
    
top:0px;
    
width:124px;
    
height:70px;
}

#APH002-04_ a:hover{
    
position:absolute;
    
background-imageurl(../visual/APH002ghv_04.jpg);
    
left:281px;
    
top:0px;
    
width:124px;
    
height:70px;
}

#APH002-05_ a{
    
position:absolute;
    
background-imageurl(../visual/APH002gr_05.jpg);
    
left:405px;
    
top:0px;
    
width:125px;
    
height:70px;
}

#APH002-05_ a:hover{
    
position:absolute;
    
background-imageurl(../visual/APH002ghv_05.jpg);
    
left:405px;
    
top:0px;
    
width:125px;
    
height:70px;
}

#APH002-06_ a{
    
position:absolute;
    
background-imageurl(../visual/APH002gr_06.jpg);
    
left:530px;
    
top:0px;
    
width:125px;
    
height:70px;
}

#APH002-06_ a:hover{
    
position:absolute;
    
background-imageurl(../visual/APH002ghv_06.jpg);
    
left:530px;
    
top:0px;
    
width:125px;
    
height:70px;
}

#APH002-07_ {
    
position:absolute;
    
background-imageurl(../visual/APH002gr_07.jpg);
    
left:655px;
    
top:0px;
    
width:335px;
    
height:70px;
}
#APH002-08_ {
    
position:absolute;
    
left:0px;
    
top:70px;
    
width:990px;
    
height:297px;
}

#APH002-09_ {
    
position:absolute;
    
left:0px;
    
top:367px;
    
width:990px;
    
height:529px;
}

#APH002-10_ {
    
position:absolute;
    
left:0px;
    
top:896px;
    
width:990px;
    
height:36px;
}


- modifier aph002preloads.js
<!--//

//pre loader

newimage0 = new Image();

newimage0.src "<{xoImgUrl visual/APH002bhv_06.jpg}>";

newimage1 = new Image();

newimage1.src "<{xoImgUrl visual/APH002bhv_05.jpg}>";

newimage2 = new Image();

newimage2.src "<{xoImgUrl visual/APH002bhv_04.jpg}>";

newimage3 = new Image();

newimage3.src "<{xoImgUrl visual/APH002bhv_03.jpg}>";

newimage4 = new Image();

newimage4.src "<{xoImgUrl visual/APH002bhv_02.jpg}>";

newimage5 = new Image();

newimage5.src "<{xoImgUrl visual/APH002ghv_06.jpg}>";

newimage6 = new Image();

newimage6.src "<{xoImgUrl visual/APH002ghv_05.jpg}>";

newimage7 = new Image();

newimage7.src "<{xoImgUrl visual/APH002ghv_04.jpg}>";

newimage8 = new Image();

newimage8.src "<{xoImgUrl visual/APH002ghv_03.jpg}>";

newimage9 = new Image();

newimage9.src "<{xoImgUrl visual/APH002ghv_02.jpg}>";

newimage10 = new Image();

newimage10.src "<{xoImgUrl visual/APH002rhv_06.jpg}>";

newimage11 = new Image();

newimage11.src "<{xoImgUrl visual/APH002rhv_05.jpg}>";

newimage12 = new Image();

newimage12.src "<{xoImgUrl visual/APH002rhv_04.jpg}>";

newimage13 = new Image();

newimage13.src "<{xoImgUrl visual/APH002rhv_03.jpg}>";

newimage14 = new Image();

newimage14.src "<{xoImgUrl visual/APH002rhv_02.jpg}>";

newimage15 = new Image();

newimage15.src "<{xoImgUrl visual/APH002ghv_06.jpg}>";

newimage16 = new Image();

newimage16.src "<{xoImgUrl visual/APH002ghv_05.jpg}>";

newimage17 = new Image();

newimage17.src "<{xoImgUrl visual/APH002ghv_04.jpg}>";

newimage18 = new Image();

newimage18.src "<{xoImgUrl visual/APH002ghv_03.jpg}>";

newimage19 = new Image();

newimage19.src "<{xoImgUrl visual/APH002ghv_02.jpg}>";

newimage20 = new Image();

newimage20.src "<{xoImgUrl visual/APH002gy_08.jpg}>";

newimage21 = new Image();

newimage21.src "<{xoImgUrl visual/APH002gr_08.jpg}>";

newimage22 = new Image();

newimage22.src "<{xoImgUrl visual/APH002rd_08.jpg}>";

newimage23 = new Image();

newimage23.src "<{xoImgUrl visual/APH002gr_08.jpg}>";


//-->

Posté le : 29/03/2009 23:07

PS : Toujours faire une sauvegarde des fichiers avant de les modifier !
-------------------------------------------
http://www.aideordi.com
Partager Twitter Partagez cette article sur GG+
Re: Theme APH002
Xoops accro
Inscrit: 27/07/2005 16:10
De France
Messages: 2970
ca marche,mais j'ai plus les images de titre des bloc

Posté le : 30/03/2009 09:22
Partager Twitter Partagez cette article sur GG+
Re: Theme APH002
Semi pro
Inscrit: 10/11/2004 13:40
Messages: 1659
Salut,

Je crois que là ça devrait aller

recherche ces trois paramètres dans le style.css, j'ai oublié le gr

.left h2 {
    
font-size13px;
    
text-aligncenter;
    
background-imageurl('../visual/APH002[b][color=FF0033]gr[/color][/b]-lrtl.jpg');
    
background-repeatno-repeat;
    
color#FFFFFF;
    
height:40px;
}

.
right h2 {
    
font-size13px;
    
padding-top12px;
    
text-aligncenter;
    
background-imageurl('../visual/APH002[b][color=FF0033]gr[/color][/b]-rltl.jpg');
    
background-repeatno-repeat;
    
color#FFFFFF;
    
height:37px;
}
.
left .infobox h2 {
    
padding-top10px;
    
padding-right5px;
    
background-imageurl('../visual/APH002[b][color=FF0033]gr[/color][/b]-lrtl.jpg');
    
background-repeatno-repeat;
    
color#FFFFFF;
}

Posté le : 30/03/2009 14:20

PS : Toujours faire une sauvegarde des fichiers avant de les modifier !
-------------------------------------------
http://www.aideordi.com
Partager Twitter Partagez cette article sur GG+
Re: Theme APH002
Xoops accro
Inscrit: 27/07/2005 16:10
De France
Messages: 2970
nikel

Posté le : 31/03/2009 14:52
Partager Twitter Partagez cette article sur GG+

 Haut   Précédent   Suivant



Vous pouvez voir les sujets.
Vous ne pouvez pas débuter de nouveaux sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

312 Personne(s) en ligne (270 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 312 | Plus ...