Isoler champs profils

2 participants

Voir le sujet précédent Voir le sujet suivant Aller en bas

Résolu Isoler champs profils

Message par .ascalon Jeu 20 Juin 2019 - 13:59

Détails techniques


Version du forum : phpBB2
Poste occupé : Fondateur
Navigateur(s) concerné(s) : Google Chrome
Capture d'écran du problème :
Voir l'image:

Personnes concernées par le problème : Tous les utilisateurs
Problème apparu depuis : 16/06
Lien du forum : http://fatesoftoronto.forumactif.com/

Description du problème

Bonjour, voilà, j'aimerais isoler certains champs de profils cependant je n'y arrive pas.
En effet, j'aimerais mettre une partie des champs en hover derrière l'avatar. J'ai testé plusieurs méthodes, j'ai tenté de suivre les explications de certains sujets qui souhaitaient la même chose, mais en vain.
Chaque forum à son propre codage et je pense que c'est pour cela que je ne suis pas parvenue à comprendre toutes les explications.
J'ai tenté de faire par la méthode nth-child() mais cela bloque mon hover...
je vous mets à disposition le template, en espérant que vous parviendrez à résoudre ce problème I love you

Code:
<link href="https://fonts.googleapis.com/css?family=Abril+Fatface|Allura|Monoton|Parisienne|Pinyon+Script" rel="stylesheet"><link href = "https://fonts.googleapis.com/css?family= Cookie " rel = "stylesheet"><script type="text/javascript">
//<![CDATA[
var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" };
$(function(){

    if(typeof(_atc) == "undefined") {
        _atc = { };
    }
   
    _atc.cwait = 0;
    $('.addthis_button').mouseup(function(){
        if ($('#at15s').css('display') == 'block') {
            addthis_close();
        }
    });
});

var hiddenMsgLabel = { visible:'{JS_HIDE_HIDDEN_MESSAGE}', hidden:'{JS_SHOW_HIDDEN_MESSAGE}' };
showHiddenMessage = function(id)
{
    try
    {
        var regId = parseInt(id, 10);
        if( isNaN(regId) ) { regId = 0; }
       
        if( regId > 0)
        {
            $('.post--' + id).toggle(0, function()
         {
            if( $(this).is(":visible") )
            {
               $('#hidden-title--' + id).html(hiddenMsgLabel.visible);
            }
            else
            {
               $('#hidden-title--' + id).html(hiddenMsgLabel.hidden);
            }
         });
        }
    }
    catch(e) { }
   
   return false;
};

//]]>
</script>
<style>
@import url('https://fonts.googleapis.com/css?family=Cookie');
</style>
<center><table width="100%" border="0" cellspacing="2" cellpadding="0" style="
    bottom: 20px;
    position: relative;">
   <tr>
      <td style="width: 100%;" valign="middle" class="nav">
                       <span itemtype="http://data-vocabulary.org/Breadcrumb" itemscope="" class="nav"><a itemprop="url" href="/" class="nav"><span itemprop="title"><br /></span></a></span> 
                     <div style="" class="titresujet">
                          {TOPIC_TITLE}
                     </div><span itemtype="http://data-vocabulary.org/Breadcrumb" itemscope="" class="nav"><a itemprop="url" href="/" class="nav"></a><span itemprop="title"></span><br /> 
                        <!-- 
<a class="nav" href="" itemprop="url"><span itemprop="title"></span></a>  --></span> 
                     <div style="" class="deuxpoints">
                            {NAV_CAT_DESC_SECOND}<br /> 
                     </div><span itemtype="http://data-vocabulary.org/Breadcrumb" itemscope="" class="nav"></span> 
                     <span itemtype="http://data-vocabulary.org/Breadcrumb" itemscope="" class="nav"></span>
          </td><td><center><div style="    margin-left: -800px;
    position: relative;
    top: 50px;">
                             <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}one" alt="{L_POST_NEW_TOPIC}" align="middle" border="0" /></a> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" id="i_reply" alt="{L_POST_REPLY_TOPIC}" align="middle" border="0" /></a> 
                        </div>
                             
                     </center>
                  </td>
      
  </tr>
 <!-- BEGIN topicpagination -->
  <tr>
          <td colspan="3" align="center" valign="top"><span class="gensmall">{PAGINATION}</span></td>
   </tr>
   <!-- END topicpagination -->
  </table></center>
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0" style="    margin-top: 30px;" >
   
   
 
   {POLL_DISPLAY}
   
   <!-- BEGIN postrow -->
   <!-- BEGIN hidden -->
   <tr>
      <td class="postdetails {postrow.hidden.ROW_CLASS}" colspan="3" align="center">{postrow.hidden.MESSAGE}</td>
   </tr>
   <!-- END hidden -->
   <!-- BEGIN displayed -->   
          <tr class="post post--{postrow.displayed.U_POST_ID}" id="p{postrow.displayed.U_POST_ID}" style="{postrow.displayed.DISPLAYABLE_STATE}">
      <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
                                    <div class="fondprofil1">
             
                                      <div class="titrepro"><t1>{postrow.displayed.POSTER_NAME}</t1><div> {postrow.displayed.POSTER_RANK}</div></div>          
         <div class="ava"><div class="liensprofil">{postrow.displayed.PM_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}
                      <!-- END contact_field --></div>{postrow.displayed.POSTER_AVATAR}<span class="infosbonus">
                          </span></div>
                  <div class="fondprofil">
                   
                  <span class="postdetails poster-profile">               
      <div class="infosprofil"> <span class="txt"><!-- BEGIN profile_field --> {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT} {postrow.displayed.profile_field.SEPARATOR}<!-- END profile_field -->
        </span></div>
 </span>
                  </div><br />
         <img src="https://2img.net/i/fa/empty.gif" alt="" style="width:150px;height:1px" />
      </td>
      <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="100%" height="28" colspan="2">
         <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
               <td><td colspan="2">
                   
                  <div class="postbodyprof">
                      
                     <div class="postprof">
                           
                        <center>
                            
                           <div class="datepost">
                               
                              <div class="infopost">
                                   {postrow.displayed.POST_SUBJECT} :: {postrow.displayed.POST_DATE} 
                              </div>                                                                       
                               
                           </div>
                                                                  <span valign="top" nowrap="nowrap" class="post-options">
                                              {postrow.displayed.REPORT_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG}
                                            </span>
                                                                                          
                        </center>
                                                  </div><br /><br />
                                                          <div class="postbody">

                     {postrow.displayed.MESSAGE}</div>

                     <!-- BEGIN switch_attachments -->
                     <dl class="attachbox">
                        <dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt>
                        <dd>
                           <!-- BEGIN switch_post_attachments -->
                           <dl class="file">
                              <dt>
                                 <img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" alt="" />

                                 <!-- BEGIN switch_dl_att -->
                                 <a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a> {postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL}
                                 <!-- END switch_dl_att -->

                                 <!-- BEGIN switch_no_dl_att -->
                                 {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT} {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL}
                                 <!-- END switch_no_dl_att -->
                              </dt>

                              <!-- BEGIN switch_no_comment -->
                              <dd>
                                 <em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em>
                              </dd>
                              <!-- END switch_no_comment -->

                              <!-- BEGIN switch_no_dl_att -->
                              <dd>
                                 <em><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em>
                              </dd>
                              <!-- END switch_no_dl_att -->

                              <dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd>
                           </dl>
                           <!-- END switch_post_attachments -->
                        </dd>
                     </dl>
                     <!-- END switch_attachments -->

                     <div class="clear"></div>
                     <!-- BEGIN switch_signature -->
                     <div class="signature_div">
                        {postrow.displayed.SIGNATURE}
                     </div>
                     <!-- END switch_signature -->

                  </div>
                                                  </div>
            
            <tr>
               <td colspan="2">
                  <!-- BEGIN switch_vote_active -->
                  <div class="vote gensmall">
                     <!-- BEGIN switch_vote -->
                     <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a></div>
                     <!-- END switch_vote -->

                     <!-- BEGIN switch_bar -->
                     <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
                        <!-- BEGIN switch_vote_plus -->
                        <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
                        <!-- END switch_vote_plus -->

                        <!-- BEGIN switch_vote_minus -->
                        <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div>
                        <!-- END switch_vote_minus -->
                     </div>
                     <!-- END switch_bar -->

                     <!-- BEGIN switch_no_bar -->
                     <div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div>
                     <!-- END switch_no_bar -->

                     <!-- BEGIN switch_vote -->
                     <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a></div>
                     <!-- END switch_vote -->
                  </div>
                  <!-- END switch_vote_active -->

                  
                  
               </td>
            </tr>
                                          </div></td></td>
      </td>
                  </tr></table>
   <tr class="post--{postrow.displayed.U_POST_ID}" style="{postrow.displayed.DISPLAYABLE_STATE}">
      <td class="{postrow.displayed.ROW_CLASS} browse-arrows"{postrow.displayed.THANK_BGCOLOR} align="center" valign="middle" width="150">
         <a href="#top">{L_BACK_TO_TOP}</a>&nbsp;<a href="#bottom">{L_GOTO_DOWN}</a>
      </td>
      <td class="{postrow.displayed.ROW_CLASS} messaging gensmall"{postrow.displayed.THANK_BGCOLOR} width="100%" height="28">
         </td>
   </tr>
   <!-- BEGIN first_post_br -->
</table>
<hr />
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <th class="thLeft" nowrap="nowrap" width="150px" height="26">{L_AUTHOR}</th>
      <th class="thRight" nowrap="nowrap" colspan="2">{L_MESSAGE}</th>
   </tr>
   <!-- END first_post_br -->
   <!-- END displayed -->
   <!-- END postrow -->
   <!-- BEGIN no_post -->
   <tr align="center">
      <td class="row1" colspan="3" height="28">
         <span class="genmed">{no_post.L_NO_POST}</span>
      </td>
   </tr>
   <!-- END no_post -->
   
</table>
<table class="forumline noprint" width="100%" border="0" cellspacing="0" cellpadding="0" style="margin: 0 0 1px 0; border-top: 0px;">
   <tr>
      <td class="row2" valign="top" {COLSPAN_PAGINATION} width="150"><span class="gensmall">{PAGE_NUMBER}</span></td>
      <!-- BEGIN topicpagination -->
      <td class="row1" align="right" valign="top" ><span class="gensmall">{PAGINATION}</span></td>
      <!-- END topicpagination -->
   </tr>
   <!-- BEGIN switch_user_logged_in -->
   <!-- BEGIN watchtopic -->
   <tr>
      <td class="row2" colspan="2" align="right" valign="top"><span class="gensmall">{S_WATCH_TOPIC}</span></td>
   </tr>
   <!-- END watchtopic -->
   <!-- END switch_user_logged_in -->
</table>

<!-- BEGIN promot_trafic -->
<table class="forumline" width="100%" border="0" cellpadding="1" cellspacing="0" id="ptrafic_close" style="display:none;margin: 1px 0px 1px 0px">
   <tr>
      <td class="catBottom" height="28">
         <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
               <td valign="top"><div class="cattitle">&nbsp;{PROMOT_TRAFIC_TITLE}</div></td>
               <td align="right" valign="middle" width="10"><span class="gensmall"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="middle" border="0" /></a></span></td>
            </tr>
         </table>
      </td>
   </tr>
</table>

<table class="forumline" width="100%" border="0" cellpadding="1" cellspacing="0" id="ptrafic_open" style="display:'';margin: 1px 0px 1px 0px">
   <tr>
      <td class="catBottom" height="28">
         <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
               <td valign="top"><div class="cattitle">&nbsp;{PROMOT_TRAFIC_TITLE}</div></td>
               <td align="right" valign="middle" width="10"><span class="gensmall"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="middle" border="0" /></a></span></td>
            </tr>
         </table>
      </td>
   </tr>
   <tr>
      <td class="row2 postbody" valign="top">
         <!-- BEGIN link -->
         »&nbsp;<a style="text-decoration:none" href="{promot_trafic.link.U_HREF}" target="_blank" title="{promot_trafic.link.TITLE}" rel="nofollow">{promot_trafic.link.TITLE}</a><br />
         <!-- END link -->
      </td>
   </tr>
</table>
<!-- END promot_trafic -->

<!-- BEGIN switch_forum_rules -->
<table id="forum_rules" class="forumline" width="100%" border="0" cellspacing="0" cellpadding="0" style="margin: 1px 0px 1px 0px">
   <tbody>
      <tr>
         <td class="catBottom">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
               <tbody>
                  <tr>
                     <td valign="top">
                        <div class="cattitle">&nbsp;{L_FORUM_RULES}</div>
                     </td>
                  </tr>
               </tbody>
            </table>
         </td>
      </tr>
      <tr>
         <td class="row1 clearfix">
            <table>
               <tr>
                  <!-- BEGIN switch_forum_rule_image -->
                  <td class="logo">
                     <img src="{RULE_IMG_URL}" alt="" />
                  </td>
                  <!-- END switch_forum_rule_image -->
                  <td class="rules postbody">
                     {RULE_MSG}
                  </td>
               </tr>
            </table>
         </td>
      </tr>
   </tbody>
</table>
<!-- END switch_forum_rules -->

<table class="forumline noprint" width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
      <td class="row2" colspan="2" align="center" style="padding:0px">
         <!-- BEGIN switch_user_logged_in -->
         <a name="quickreply"></a>
         {QUICK_REPLY_FORM}<br />
         <!-- END switch_user_logged_in -->
      </td>
   </tr>
   <tr>
      <td style="margin:0; padding: 0;" colspan="2">
         <table border="0" cellpadding="0" width="100%" cellspacing="0" id="info_open" style="display:''">
            <tbody>
      <!-- BEGIN show_permissions -->
      <tr>
         <td class="row2" valign="top" width="25%"><span class="gensmall">{L_TABS_PERMISSIONS}</span></td>
         <td class="row1" valign="top" width="75%"><span class="gensmall">{S_AUTH_LIST}</span></td>
      </tr>
      <!-- END show_permissions -->
      
   </tbody>
         </table>
      </td>
   </tr>
   <tr>
      <td style="margin:0; padding: 0;" colspan="2">
         <table border="0" cellpadding="0" cellspacing="0" width="100%" id="info_close" style="display:none;">
            <tbody>
      
   </tbody>
         </table>
      </td>
   </tr>
</table>

<form action="{S_JUMPBOX_ACTION}" method="get" name="jumpbox" onsubmit="if(document.jumpbox.f.value == -1){return false;}">
<table class="noprint" width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
   <tr>
      <td align="left" valign="middle" nowrap="nowrap" {WIDTH_GALLERY}>
         <span class="nav">
            <!-- BEGIN switch_user_authpost -->
            <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}Newtopic" alt="{L_POST_NEW_TOPIC}" align="middle" border="0" /></a>&nbsp;&nbsp;&nbsp;
            <!-- END switch_user_authpost -->
            <!-- BEGIN switch_user_authreply -->
            <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" alt="{L_POST_REPLY_TOPIC}" align="middle" border="0" /></a>
            <!-- END switch_user_authreply -->
         </span>
      </td>

      <!-- BEGIN viewtopic_bottom -->
      <td align="right" nowrap="nowrap"><span class="gensmall">{L_JUMP_TO}:&nbsp;{S_JUMPBOX_SELECT}&nbsp;<input class="liteoption" type="submit" value="{L_GO}" /></span></td>
      <!-- END viewtopic_bottom -->

      <!-- BEGIN moderation_panel -->
      <td align="center">
         <span class="gensmall">{moderation_panel.U_YOUR_PERSONAL_MODERATE}</span>
      </td>
      <td align="center" width="250">
         <span class="gensmall">&nbsp;</span>
      </td>
      <!-- END moderation_panel -->
   </tr>
</table>
</form>

<!-- BEGIN viewtopic_bottom -->
<table class="noprint" width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
   <tr>
      <td colspan="2" align="left" valign="top" nowrap="nowrap"><br />{S_TOPIC_ADMIN}<br />
         <form name="action" method="get" action="{S_FORM_MOD_ACTION}">
            <input type="hidden" name="t" value="{TOPIC_ID}" />

            <!-- <input type="hidden" name="sid" value="{S_SID}" /> -->
            <input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" />

            <span class="gen">{L_MOD_TOOLS}<br />{S_SELECT_MOD}&nbsp;<input class="liteoption" type="submit" value="{L_GO}" /></span>
         </form>
      </td>
   </tr>
</table>
<!-- END viewtopic_bottom -->

<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.postbody', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->
<script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script>

merci d'avance ::fleur::
.ascalon

.ascalon
Nouveau membre

Messages : 9
Inscrit(e) le : 25/05/2018

http://greekteaparty.forumactif.org/
.ascalon a été remercié(e) par l'auteur de ce sujet.
  • 0

Résolu Re: Isoler champs profils

Message par Miettes Jeu 20 Juin 2019 - 16:36

coucou Smile

Peut être que ce tutoriel peut t'aider Smile

Je pense qu'en le suivant, tu dois réussir à placer le code où tu le désires Smile


---

Pour faire ce que tu veux, tu vas aussi devoir jouer avec les positionnements en CSS (absolute et relative) ; du coup, je pense qu'on va aussi avoir besoin de ta css Smile
Miettes

Miettes
*****

Féminin
Messages : 590
Inscrit(e) le : 01/09/2008

http://tambouille-raleuses.forumactif.com/
Miettes a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Isoler champs profils

Message par .ascalon Ven 21 Juin 2019 - 9:57

Coucou merci pour cette rapidité I love you
alors j'ai suivie le tuto mais...
alors j'ai un js qui ressemble à ça :
Code:
jQuery(function () {

    // on indique la version du forum
    // attention de bien respecter les écritures ci-dessous
    // invision, phpbb2, phpbb3, punbb, Invision, ModernBB, AwesomeBB
    var versionForum = 'phpbb2',
        $chemin,
        $eltParent = '.post';

    // On indique le chemin vers la balise qui contient les champs du profil
    switch(versionForum){
        case 'phpbb2':
            $chemin = ".post .infosprofil.txt .champprofil";
            break;};

    // Si la structure est différente de celle de base
    // indiquer le bon chemin et
    // décommenter (en supprimer // ) la ligne ci-dessous
    // chemin = "ton chemin";

    // On parcourt chaque champs des profils
    $( $chemin ).each(function( index ) {
        // On récupére le contenu html de ces champs
        var champs = $(this).find('.label > span:first-child').html() ;
 
        // On teste sur le champs correspond aux blocs qu'on veut isoler
        // pour info || signifie "ou"
        if( champs == "rang" || champs == "exprime toi"){
            // Je déplace le contenu dans le bloc masqué après le bloc "afficher/masquer"
            $(this).parents($eltParent).find('.infosbonus').append(this);
 
        }
 
    });
});

et en ce qui concerne mon css :

Code:
**SUJETNEWVERSION**/

.nav {
    bottom: 1px;
    color: #d3e6c6;
    font-family: courrier;
    font-size: 11px;
    position: relative;
}
.deuxpoints {
    color: #ed908c;
    font-family: courrier;
    letter-spacing: .5px;
    line-height: 2px;
    margin-bottom: 3px;
    text-align: center;
    text-transform: uppercase;
}
.titresujet {
        -webkit-background-clip: text!important;
    -webkit-text-fill-color: transparent!important;
    background-clip: text!important;
    background-image: -webkit-linear-gradient(0deg,#4a8392,#6b99a5,#5c97a7,#ed908c,#c16e6b,#b95b57)!important;
    color: #536482;
    font-family: Parisienne, cursive;
    font-size: 24px!important;
    font-weight: 700;
    letter-spacing: -.5px;
    margin-top: -10px;
    margin-bottom: -10px;
    text-align: center;
    text-transform: lowercase;
}
.fondprofil {
 
    margin-top: 2px;
    width: 210px;
}
.fondprofil1 {
    BACKGROUND-POSITION: top;
    background-image: url(https://images2.imgbox.com/a6/1a/zWKN8lMI_o.png);
    border: 1px solid #f5f5f5;
    margin-left: 5px;
    margin-top: 2px;
    padding: 10px 7px;
    width: 210px;
}
.titrepro{
    background-color: #fefefe;
    border: 3px solid #ed846d;
    margin-bottom: 5px;

}
.profil .titrepro {
    line-height: 13px;
    margin-bottom: 10px;
    padding: 8px;
    position: relative;
}
.infosprofil, .profil .titrepro {
    box-sizing: border-box;
    width: 212px;
}
.titrepro t1 {
    display: inline-block;
    position: relative;
    text-align: left;
    width: 90%;
    z-index: 2;
}
.ava {
        background-color: #ed908c;
    border-color: #ed846d;
    border-style: solid;
    border-width: 1px;
    padding: 5px;
    position: relative;
    z-index: 99;
}

.liensprofil {
        border-color: #e9f8f600!important;
    border-style: solid;
    border-width: 1px;
    line-height: 9px;
    margin-top: 5px;
    position: absolute;
    left: -45px;
    padding-top: px;
    text-align: center;
    top: -10px;
    width: 10px;
}
.infosbonus {
    box-sizing: border-box;
    display: block;
    font-size: 11px;
    height: 320px;
    line-height: 13px;
    opacity: 0;
    overflow: auto;
    padding: 8px;
    position: absolute;
    text-align: justify;
    top: 5px;
    transition: all .6s;
    width: 200px;
  color: grey;
      border-color: #e9f8f6!important;
    border-style: solid;
    border-width: 1px;
      background-color: #fefefe;
 
}


.ava:hover .infosbonus {
  -webkit-transition: 1s;
    height: 320px;
    opacity:1;
}
.field_rang-personnalis__00e9- {
    border-width: 0 0 1px;
    display: block;
    margin-bottom: 5px;
    max-height: 254px;
    overflow: hidden;
    padding-bottom: 5px;
}
.field_rang-personnalis__00e9- .content {
    display: block;
    line-height: 11px;
    max-height: 251px;
    overflow: auto;
}
.field_messages-, .field_rps {
    display: inline-block;
}
.field_rps {
    margin-left: 20px;
}
.postdetails {
    color: #b7b3aa;
    font-size: 11px;
}
.postdetails {
    display: block;
    text-align: center;
}
.infosprofil {
        background-color: #fefefe;
    border-color: #ed846d!important;
    border-style: solid;
    border-width: 1px;
    margin-top: 10px;
    padding: 8px;
    text-align: justify;}
.infosprofil span.txt {
    display: block;
    max-height: 364px;
    overflow: auto;
}


.postbodyprof {
    background-color: #fff;
    border: 1px solid #f5f5f5;
    display: inline-block;
    font-size: 12px;
    margin-left: 2.5px;
    margin-right: 5px;
    margin-top: 3px;
    min-height: 380px;
    padding: 20px;
  color: #4c4c4c;
    text-align: justify;
    text-transform: none;
    width: 505px;
}
.postprof {
  background-color: rgba(255,255,255,0.9)!important;
    border: 1px solid rgba(175,175,175,0.4);
    border-radius: 10px;
    color: #85ad68;
    font-family: karla;
    font-weight: 400;
    letter-spacing: .5px;
    margin-left: 0;
    margin-right: 0;
    margin-top: -5px;
    padding: 2px;
    text-align: center;
    text-transform: uppercase;
}
.datepost {
        font-family: courrier;
    text-align: left;
    padding-top: 3px;
    padding-bottom: 1px;
}
.infopost {
    font-size: 8px;
    margin-bottom: 1px;
    text-shadow: 1px 1px 0 #fff;
}
.toolsPOST {
    margin-top: -2px;
}
.post-options img {
    cursor: pointer;
    height: 15px;
    vertical-align: middle;
    float: right;
    position: relative;
    top: -15px;
    right: 5px;
    margin-right: 5px;
}

c'est un peu le bordel mdr j'espère que ça va pas vous déranger hihi

merci d'avance ::fleur::
.ascalon

.ascalon
Nouveau membre

Messages : 9
Inscrit(e) le : 25/05/2018

http://greekteaparty.forumactif.org/
.ascalon a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Isoler champs profils

Message par Miettes Ven 21 Juin 2019 - 10:43

coucou Smile

sur le forum que tu mets en exemple, il y a un endroit où je peux voir les champs remplis ?

Je suis allée ici :
http://fatesoftoronto.forumactif.com/t6-test

Mais je ne vois pas le champs "rang" ou "exprime toi" Embarassed
Miettes

Miettes
*****

Féminin
Messages : 590
Inscrit(e) le : 01/09/2008

http://tambouille-raleuses.forumactif.com/
Miettes a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Isoler champs profils

Message par .ascalon Ven 21 Juin 2019 - 11:38

Alors oui j'viens de voir que je n'avais pas laisser la possibilité aux invités de voir les champs concernés, j'ai modifié cela Embarassed
http://fatesoftoronto.forumactif.com/t6-test
normalement, là tu pourrais les voir I love you
.ascalon

.ascalon
Nouveau membre

Messages : 9
Inscrit(e) le : 25/05/2018

http://greekteaparty.forumactif.org/
.ascalon a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Isoler champs profils

Message par Miettes Ven 21 Juin 2019 - 11:57

Oh... Mais tu as des erreurs js.

Essaie de désactiver celui-ci :
http://fatesoftoronto.forumactif.com/14761.js
Miettes

Miettes
*****

Féminin
Messages : 590
Inscrit(e) le : 01/09/2008

http://tambouille-raleuses.forumactif.com/
Miettes a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Isoler champs profils

Message par .ascalon Ven 21 Juin 2019 - 12:40

Ca ne m'étonne pas, j'ai tenté plusieurs tuto avant de venir par ici Rolling Eyes
je l'ai supprimé mais y'a aucune modification qui se fait Crying or Very sad
.ascalon

.ascalon
Nouveau membre

Messages : 9
Inscrit(e) le : 25/05/2018

http://greekteaparty.forumactif.org/
.ascalon a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Isoler champs profils

Message par .ascalon Lun 24 Juin 2019 - 9:51

DSL du dp, mais j'ai finalement réussi Surprised
j'ai suivi ce tuto https://la-cascade.io/nth-child/, en fait, j'avais mal choisi ma balise je mettais :
.infosprofil:nth-child(4) {
display:none;
}
au lieu de
.txt:nth-child(4) {
display:none;
}

Merci beaucoup à toi @"Miettes" en tout cas pour m'avoir aidé I love you
.ascalon

.ascalon
Nouveau membre

Messages : 9
Inscrit(e) le : 25/05/2018

http://greekteaparty.forumactif.org/
.ascalon a été remercié(e) par l'auteur de ce sujet.

Voir le sujet précédent Voir le sujet suivant Revenir en haut

- Sujets similaires

Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum