Profile text color???

Which file contains the hexidecimal code for the text color on the profile pages ?  Now, Firebug tells me it is inherited from:

div#divundercustomization in profile.php

However, when I go to profile.php I cannot locate it.

Where is this code ACTUALLY found ?

Quote · 8 Aug 2009

div#divundercustomization

 

Are you attempting to obtain the code for a profile that is utilizing customized background/font color?

 

If so, then this will not appear where you think it's at, instead you need to look in:

 

templates/base/scripts/BxBaseProfileView.php

 

 

function genProfileCSS( $ID )
 {
     global $site;

     $ret = '';

     $query = "SELECT * FROM `ProfilesSettings` WHERE `IDMember` = '$ID'";
     $arr = db_arr( $query );
     if ( $arr['IDMember'] )
  $ret =  "<style type=\"text/css\">
       body
       {
        background-image: url( {$site['profileBackground']}{$arr['BackgroundFilename']});
        background-color: {$arr['BackgroundColor']};
        background-repeat:repeat;
       }
       div#right_column_content
       {
        color: {$arr['FontColor']};
        font-size: {$arr['FontSize']}px;
        font-family: {$arr['FontFamily']};
       }
       div#divUnderCustomization
       {
        color: {$arr['FontColor']};
        font-size: {$arr['FontSize']}px;
        font-family: {$arr['FontFamily']};
       }
    </style>";

     return $ret;
 }

Now, this tells it to refere to the db to obtain the setting for each particular profile when it is a customized profile.  Any change you make here in regards to Font color is simply going to be overwritten/erred when members adjust it in the profile customize screen and set different colors.

To obtain the colors of each unique member, you would have to go to into your db tables if you wanted to change one.

If your looking to change the default text color on the profiles, then you will need the following:

templates/tmpl_{tmpl}/css/general.css

 body
 {
  margin:0px;
  padding:0px;
  background: url(../images/background_x.jpg) center top no-repeat black;
  font-family:Tahoma,verdana;
  font-size:14px;
  color:#fff;
 }

Now, let's say you wish to set a different color of text on the profile page than the rest of the site has, then you will need to insert this into the profile_view.css

templates/tmpl_{tmpl}/css/profile_view.css

 body
 {
    color:#fff;               (Set Color Code Here)
 }

You can adjust background, font style, margins or anything else by simply adding them to this box and it will effect the main body of the page.

Quote · 8 Aug 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.