Fork me on GitHub






redimensionner un theme
Aspirant
Inscrit: 27/06/2003 00:28
Messages: 77
Hello,

J'aimerais redimensionner le fichier theme.html du theme blue shine (le rendre plus large), j'ai eu essayé essayer avec 100% au lieu de 780 dans l'original, rien n'y fait qualqu'un aurait une solution ? voici le code du fichier.........


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<
meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<
meta name="robots" content="<{$xoops_meta_robots}>" />
<
meta name="keywords" content="<{$xoops_meta_keywords}>" />
<
meta name="description" content="<{$xoops_meta_description}>" />
<!--
Theme Designed by XOOPS Design.com http://www.xoopsdesign.com -->
<meta name="rating" content="<{$xoops_meta_rating}>" />
<
meta name="author" content="<{$xoops_meta_author}>" />
<
meta name="copyright" content="<{$xoops_meta_copyright}>" />
<
meta name="generator" content="XOOPS" />
<
title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<
link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />

<
link href="style.css" rel="stylesheet" type="text/css" />
<{
$xoops_module_header}>
<
script type="text/javascript">
<!--
<{
$xoops_js}>
//-->
</script>
</head>
<body>
<TABLE WIDTH=780 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0  class="mainT">
    <TR>
        <TD ROWSPAN=3 align="left">
            <IMG SRC="<{$xoops_imageurl}>images/header_01.jpg" WIDTH=401 HEIGHT=126 ALT=""></TD>
        <TD COLSPAN=4 align="right">
            <IMG SRC="<{$xoops_imageurl}>images/header_02.jpg" WIDTH=379 HEIGHT=81 ALT=""></TD>
    </TR>
    <TR>
        <TD COLSPAN=4 align="right">
            <IMG SRC="<{$xoops_imageurl}>images/header_03.jpg" WIDTH=379 HEIGHT=20 ALT=""></TD>
    </TR>
    <TR>
        <TD align="right">
            <IMG SRC="<{$xoops_imageurl}>images/header_04.jpg" WIDTH=197 HEIGHT=25 ALT=""></TD>
        <TD align="right">
            <a href="<{$xoops_url}>/index.php"><IMG SRC="<{$xoops_imageurl}>images/header_05.jpg" ALT="" WIDTH=64 HEIGHT=25 border="0"></a></TD>
        <TD align="right">
            <a href="<{$xoops_url}>/search.php"><IMG SRC="<{$xoops_imageurl}>images/header_06.jpg" ALT="" WIDTH=63 HEIGHT=25 border="0"></a></TD>
        <TD align="right">
            <IMG SRC="<{$xoops_imageurl}>images/header_07.jpg" WIDTH=55 HEIGHT=25 ALT=""></TD>
    </TR>
</TABLE>
<table border="0" align="center" cellpadding="0" cellspacing="0" class="mainT">
  <tr>
    <td>
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="mainT">
  <tr>
    <td>
   
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
                <tr align="center"> 
                  <td id="headmenu"><a class="menuHead" href="<{$xoops_url}>/index.php">Home</a></td>
                  <td width="1" ><img src="<{$xoops_imageurl}>images/separator.gif" width="2" height="40" /></td>
                  <td id="headmenu" ><a class="menuHead" href="<{$xoops_url}>/modules/news/">News</a></td>
                  <td width="1" ><img src="<{$xoops_imageurl}>images/separator.gif" width="2" height="40" /></td>
                  <td id="headmenu"><a class="menuHead" href="<{$xoops_url}>/modules/mydownloads/">Downloads</a></td>
                  <td width="1" ><img src="<{$xoops_imageurl}>images/separator.gif" width="2" height="40" /></td>
                  <td id="headmenu"><a class="menuHead" href="<{$xoops_url}>/modules/newbb/">Forum</a></td>
                  <td width="1" ><img src="<{$xoops_imageurl}>images/separator.gif" width="2" height="40" /></td>
                  <td id="headmenu"><a class="menuHead" href="<{$xoops_url}>/modules/sections/">Articles</a></td>
                  <td width="1" ><img src="<{$xoops_imageurl}>images/separator.gif" width="2" height="40" /></td>
                  <td id="headmenu"><a class="menuHead" href="<{$xoops_url}>/modules/mylinks/">Links</a> </td>
                </tr>
      </table>
      <table width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td bgcolor="#003366" ><img src="<{$xoops_imageurl}>images/trans_4px.gif" width="10" height="2" /></td>
  </tr>
</table>
 <table border="0" cellpadding="0" cellspacing="0" >
        <td id="leftcolumn"> 
          <!-- LEFT BLOCKS -->
          <{foreach item=block from=$xoops_lblocks}> <div class="<{cycle values="blockTitle"}>"><{$block.title}></div>
          <div class="blockContent"><{$block.content}></div>
          <img src="<{$xoops_imageurl}>images/line.gif" width="184" height="1" alt="" />
          <{/foreach}> 
          <!-- END LEFT BLOCKS -->
          <br /> <br />
          </td>
        <td id="centercolumn"> 
          <!-- CENTER BLOCKS -->
          <{if $xoops_showcblock == 1}> <table cellpadding="0" cellspacing="0" class="mainC">
            <tr> 
              <td id="centerCcolumn" colspan="2"> 
                <!-- CENTER CENTER BLOCKS -->
                <{foreach item=block from=$xoops_ccblocks}> <table align="center" cellpadding="0" cellspacing="2">
                  <tr> 
                    <td> <div class="blockTitle"><{$block.title}></div>
                      <div class="blockContent"><{$block.content}></div></td>
                  </tr>
                </table>
                <{/foreach}> 
                <!-- END CENTER CENTER BLOCKS-->
              </td>
            </tr>
            <tr> 
              <td id="centerLcolumn"> 
                <!-- CENTER LEFT BLOCKS-->
                <{foreach item=block from=$xoops_clblocks}> <table class="blocks" align="center" cellpadding="3" cellspacing="2">
                  <tr> 
                    <td> <div class="blockTitle"><{$block.title}></div>
                      <div class="blockContent"><{$block.content}></div></td>
                  </tr>
                </table>
                <{/foreach}> 
                <!-- END CENTER LEFT BLOCKS -->
              </td>
              <td id="centerRcolumn"> 
                <!-- CENTER RIGHT BLOCKS-->
                <{foreach item=block from=$xoops_crblocks}> <table class="blocks" align="center" cellpadding="3" cellspacing="2">
                  <tr> 
                    <td> <div class="blockTitle"><{$block.title}></div>
                      <div class="blockContent"><{$block.content}></div></td>
                  </tr>
                </table>
                <{/foreach}> 
                <!-- END CENTER RIGHT BLOCKS -->
              </td>
            </tr>
          </table>
          <{/if}> 
          <!-- END CENTER BLOCKS -->
          <div id="content"> <{$xoops_contents}> </div>
          <br /> <br /> <br /> </td>
        <{if $xoops_showrblock == 1}> 
        <td id="rightcolumn"> 
          <!-- RIGHT BLOCKS -->
          <{foreach item=block from=$xoops_rblocks}> <div class="<{cycle values="blockTitle,blockTitle"}>"><{$block.title}></div>
          <div class="blockContent"><{$block.content}></div>
          <img src="<{$xoops_imageurl}>images/line.gif" width="170" height="1" alt="" />
          <{/foreach}> 
          <!-- END RIGHT BLOCKS-->
          <br /> <br /> </td>
        <{/if}> </tr>
        <tr> 
          <td colspan="3" class="footer"><table width="100%"  border="0" cellpadding="0" cellspacing="0" >
            <tr>
              <td valign="top" width="775"> 
            <p align="center" class="bot"><span class="style1"><br />
              Copyright © 2005 Your Company | </span><{$xoops_footer}> | Theme by <a href="http://www.xoopsdesign.com">XOOPS Design.com</a></p></td>
            </tr>
          </table> </td>
        </tr>
      </table>  </td>
  </tr>
</table>
    </td>
  </tr>
</table>

</body>
</html>


merci de m'aider !

@+

Posté le : 19/12/2005 16:56
Partager Twitter Partagez cette article sur GG+
Re: redimensionner un theme
Supporter Xoops
Inscrit: 24/11/2004 07:56
De Marseillan - Cap d'Agde
Messages: 687
Salut ,

Peux-tu dire ou tu as trouvé le zip du theme .
Il faut avoir le theme complet pour voir si un CSS ne deforme pas le source que tu viens de donner donc c'est mieux qu'on puisse avoir la totalité du theme .

Posté le : 19/12/2005 17:01

Cordialement
Denis
Open in new window
Partager Twitter Partagez cette article sur GG+
Re: redimensionner un theme
Aspirant
Inscrit: 27/06/2003 00:28
Messages: 77
il faut s'inscrire sur un site donc j'ai uploadé l'archive sur mon espace wanadoo pour plus de facilité!!

Le thème a télécharger

@+

Posté le : 19/12/2005 17:28
Partager Twitter Partagez cette article sur GG+
Re: redimensionner un theme
Supporter Xoops
Inscrit: 24/11/2004 07:56
De Marseillan - Cap d'Agde
Messages: 687
Salut ,

Voici les modifs a faire pour que ca occupe 100% de la fenetre

Dans le theme.html
Citation :

ligne 28 supprimer le width dans la balise table
ligne 77 du theme .. rajouter class="mainT" dans la balise table


Dans le fichiers style.css pour la classe .mainT
Citation :

ligne 15 .. mettre width: 100%;


Par contre tu verras dans le header .. ca pose juste un petit probleme car il composé de 2 images.
Il te suffit de remplir en bleu ( avec la bonne couleur ) pour faire la liaison entre les 2 images.

Le reste semble fonctionner sur IE et Firefox

Posté le : 19/12/2005 18:01

Cordialement
Denis
Open in new window
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

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