Cambios en la plantilla por logotipo.

git-svn-id: https://192.168.0.254/svn/Proyectos.AbetoDesign_Web/trunk@13 7e4b4a24-fdbc-5948-a674-f6f81f2ee942
This commit is contained in:
David Arranz 2011-12-14 17:44:54 +00:00
parent 2b39ad660c
commit e379e26cba
3 changed files with 15 additions and 9 deletions

View File

@ -48,4 +48,9 @@
.ml_logo_a img { .ml_logo_a img {
margin-top: -86px !important; margin-top: -86px !important;
}
#ml_logo {
position: absolute;
top: 55px;
} }

View File

@ -20,8 +20,10 @@ $text_color = of_get_option('ml_text_color','#ffffff');
$text_logo = of_get_option('ml_text_logo_style'); $text_logo = of_get_option('ml_text_logo_style');
if ((of_get_option('ml_logo_text_or_image') == 'image') && (of_get_option('ml_logo_image'))) { $logo_height = getimagesize(of_get_option('ml_logo_image')); if ((of_get_option('ml_logo_text_or_image') == 'image') && (of_get_option('ml_logo_image'))) {
$logo_height = $logo_height[1]; //$logo_height = getimagesize(of_get_option('ml_logo_image'));
//$logo_height = $logo_height[1];
$logo_height = 80;
} }
$google_font_css_key = of_get_option('ml_google_font_css_key','Open Sans Condensed'); $google_font_css_key = of_get_option('ml_google_font_css_key','Open Sans Condensed');
@ -360,8 +362,9 @@ textarea {
/* Header Height /* Header Height
/*-------------------------------------------------*/ /*-------------------------------------------------*/
<?php if ((of_get_option('ml_logo_text_or_image') == 'image') && (of_get_option('ml_logo_image'))) { ?> <?php if ((of_get_option('ml_logo_text_or_image') == 'image') && (of_get_option('ml_logo_image'))) { ?>
/* logo height = <?php echo $logo_height; ?>px */ /* logo height = <?php echo $logo_height; ?>px */
.ml_logo_a img { <?php /*
.ml_logo_a img {
margin-top: -<?php echo $logo_height; ?>px; margin-top: -<?php echo $logo_height; ?>px;
} }
.sf-menu li a { .sf-menu li a {
@ -372,15 +375,15 @@ textarea {
line-height: <?php echo $logo_height; ?>px; line-height: <?php echo $logo_height; ?>px;
} }
.sf-menu > li.current-menu-item > a { .sf-menu > li.current-menu-item > a {
height: <?php echo $logo_height - 10; ?>px; /*total height minus 10px of border-bottom*/ height: <?php echo $logo_height - 10; ?>px; /* total height minus 10px of border-bottom */
} /*}
.sf-menu ul { .sf-menu ul {
top: <?php echo $logo_height; ?>px; top: <?php echo $logo_height; ?>px;
} }
header #ml_logo .ml_logo_arrow { header #ml_logo .ml_logo_arrow {
margin-top: -<?php echo ((($logo_height - 40) / 2) + 40); ?>px; margin-top: -<?php echo ((($logo_height - 40) / 2) + 40); ?>px;
} }
*/?>
<?php } ?> <?php } ?>

View File

@ -1,2 +0,0 @@
[16-Sep-2011 16:24:22] PHP Warning: getimagesize(http://192.168.0.2/abeto/wp-content/uploads/2011/08/logotipo-abeto-design-horizontal.gif) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: Connection timed out in /home/dqxjaadh/public_html/abetoprueba/wp-content/themes/fiatlux/css/custom_options.css.php on line 23
[16-Sep-2011 16:30:25] PHP Warning: getimagesize(http://192.168.0.2/abeto/wp-content/uploads/2011/08/logotipo-abeto-design-horizontal.gif) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: Connection timed out in /home/dqxjaadh/public_html/abetoprueba/wp-content/themes/fiatlux/css/custom_options.css.php on line 23