Arreglos en página de inicio
git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@13 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
parent
e164a0696d
commit
c3cbbc1e28
@ -111,8 +111,9 @@ class Top_Members extends WP_Widget {
|
||||
echo $before_widget;
|
||||
}
|
||||
|
||||
/* Display the widget title if one was input (before and after defined by themes). */
|
||||
/* Display the widget title if one was input (before and after defined by themes). */
|
||||
if( isset( $title ) ) {
|
||||
if (strlen($title) > 0)
|
||||
echo $before_title . $title . $after_title;
|
||||
}
|
||||
|
||||
@ -183,7 +184,7 @@ class Top_Members extends WP_Widget {
|
||||
$output = str_replace("%firstname%",$user->user_firstname,$output);
|
||||
$output = str_replace("%lastname%",$user->user_lastname,$output);
|
||||
$output = str_replace("%nrofposts%",$post,$output);
|
||||
$output = str_replace("%nickname%",$user->nickname,$output);
|
||||
$output = str_replace("%nickname%",$user->user_login,$output);
|
||||
$output = str_replace("%displayname%",$user->display_name,$output);
|
||||
|
||||
$gravatar_detect = strpos($output,"%gravatar%");
|
||||
|
||||
@ -6,9 +6,6 @@
|
||||
<!--Begin Footer Widgets-->
|
||||
<?php if($theme_footer_widgets == "All Pages" OR ($theme_footer_widgets == "Homepage" && is_home())) { ?>
|
||||
|
||||
<div class="footer-widgets-border-left"></div>
|
||||
<div class="footer-widgets-border-right"></div>
|
||||
|
||||
<div id="footer-widgets">
|
||||
|
||||
<?php if(is_active_sidebar('footer-1') OR is_active_sidebar('footer-2') OR is_active_sidebar('footer-3') OR is_active_sidebar('footer-4')) { ?>
|
||||
|
||||
@ -22,7 +22,7 @@ query_posts($args);
|
||||
<?php if(has_post_thumbnail()) { ?>
|
||||
<div class="post-thumbnail<?php if($gp_settings['image_wrap'] == "Disable") { ?> thumbnail-no-wrap<?php } ?>">
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
||||
<?php $image = vt_resize(get_post_thumbnail_id(), '', $gp_settings['image_width'], $gp_settings['image_height'], false); ?>
|
||||
<?php $image = vt_resize(get_post_thumbnail_id(), '', $gp_settings['image_width'], $gp_settings['image_height'], true); ?>
|
||||
<img src="<?php echo $image[url]; ?>" alt="<?php if(get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true)) { echo get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true); } else { echo get_the_title(); } ?>" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@ -123,7 +123,7 @@ class SidebarPosts extends WP_Widget {
|
||||
$to_user = get_user_by('id', $to_user_id);
|
||||
?>
|
||||
<div class="post-meta">
|
||||
<span>FROM: <?php echo bp_core_get_userlink($from_user_id); ?></span>
|
||||
<span>FROM: <?php echo bp_core_get_userlink($from_user_id); ?></span><br/>
|
||||
<?php if ($to_user) { ?><span>TO: <?php echo bp_core_get_userlink($to_user->ID); ?></span>
|
||||
<?php } else { ?>
|
||||
<span>TO: <?php echo get_post_meta($post->ID, 'ghostpool_destination_user_name', true); ?></span>
|
||||
|
||||
@ -10,11 +10,11 @@
|
||||
|
||||
<div class="columns twothirds first text-left">
|
||||
<div id="item-header-avatar" class="columns onefourth first text-left">
|
||||
<a href="<?php echo bp_user_link(); ?>"><?php bp_displayed_user_avatar(array('width' => 77, 'height' => 77)); ?></a>
|
||||
<a href="<?php echo bp_displayed_user_link(); ?>"><?php bp_displayed_user_avatar(array('width' => 77, 'height' => 77)); ?></a>
|
||||
</div>
|
||||
|
||||
<div class="columns threefourths last text-left">
|
||||
<span class="user-nicename"><a href="<?php echo bp_user_link(); ?>"><?php bp_displayed_user_fullname(); ?></a></span>
|
||||
<span class="user-nicename"><a href="<?php echo bp_displayed_user_link(); ?>"><?php bp_displayed_user_fullname(); ?></a></span>
|
||||
<div id="item-meta">
|
||||
<?php if (bp_is_active('dedications')) : ?>
|
||||
<div class="my-dedications"><?php _e('My dedications:'); ?> <?php echo $bp->dedications->get_count_dedications_from_user(bp_displayed_user_id()); ?></div>
|
||||
|
||||
@ -31,6 +31,7 @@ input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hove
|
||||
|
||||
#page-wrapper {
|
||||
padding-top: 0;
|
||||
width: 940px;
|
||||
}
|
||||
|
||||
#page-shadow {
|
||||
@ -106,7 +107,7 @@ input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hove
|
||||
|
||||
/* Main Content */
|
||||
#content {
|
||||
width: 775px;
|
||||
width: 79.25%;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
@ -119,7 +120,11 @@ input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hove
|
||||
|
||||
/* Sidebar */
|
||||
#sidebar {
|
||||
width: 155px; /*230px;*/
|
||||
width: 20.74%;
|
||||
}
|
||||
|
||||
.sb-right #sidebar {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
|
||||
@ -310,7 +315,7 @@ ul.navmenu li a.profile {
|
||||
float: right;
|
||||
margin-left: 5px;
|
||||
margin-top: 48px;
|
||||
width: 155px;
|
||||
width: 193px;
|
||||
font-size: 13px;
|
||||
font-weight: bold;
|
||||
padding: 3px 0;
|
||||
@ -331,10 +336,8 @@ ul.navmenu li a.profile {
|
||||
border-top: none;
|
||||
padding: 0;
|
||||
height: 650px;
|
||||
width: 978px;
|
||||
width: 100%;
|
||||
border: 1px solid #349bbc;
|
||||
/*box-shadow:inset 0 0 3px #989898;
|
||||
-moz-box-shadow:inset 0 0 3px #989898;*/
|
||||
background: #f5f1f0;
|
||||
}
|
||||
|
||||
@ -371,7 +374,7 @@ ul.navmenu li a.profile {
|
||||
|
||||
#dedicationComments_container {
|
||||
display: inline-block;
|
||||
width: 67.64% !important;
|
||||
width: 58.51% !important;
|
||||
}
|
||||
|
||||
#dedicationComments_container #comments {
|
||||
@ -445,6 +448,10 @@ ul.navmenu li a.profile {
|
||||
/* Footer Widgets */
|
||||
#footer-widgets {
|
||||
background: #e7e7e7;
|
||||
padding-right: 0px;
|
||||
border: 2px solid #349BBC;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
#footer-widgets h3 {
|
||||
@ -508,11 +515,12 @@ ul.navmenu li a.profile {
|
||||
/* General Widget Styling */
|
||||
.widget h3 {
|
||||
text-align: center;
|
||||
width: 153px;
|
||||
width: 100%;
|
||||
background: #cce6f5;
|
||||
border: 1px solid #2c85c7;
|
||||
color: #7da0b6;
|
||||
padding: 6px 0;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.widget h4 {
|
||||
@ -520,14 +528,12 @@ ul.navmenu li a.profile {
|
||||
}
|
||||
|
||||
#sidebar-home {
|
||||
width: 32.36% !important;
|
||||
width: 41.49% !important;
|
||||
}
|
||||
|
||||
/* Homepage Widget Styling */
|
||||
#sidebar-home .widget {
|
||||
width: 155px;
|
||||
/*width: 47%;
|
||||
margin-left: 3%;*/
|
||||
width: 195px;
|
||||
margin-bottom: 30px;
|
||||
text-align: center;
|
||||
}
|
||||
@ -547,7 +553,7 @@ ul.navmenu li a.profile {
|
||||
/* Top members widget */
|
||||
#sidebar-home .widget.top_members {
|
||||
color: #bf2d2d;
|
||||
width: 155px;
|
||||
width: 195px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
@ -566,6 +572,7 @@ ul.navmenu li a.profile {
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
float: none;
|
||||
heigth: 38px;
|
||||
}
|
||||
|
||||
#sidebar-home .widget.top_members a.button {
|
||||
@ -797,11 +804,12 @@ h3.comments {
|
||||
|
||||
.category-dedication.post-loop {
|
||||
text-align: left;
|
||||
max-height:220px;
|
||||
min-height:220px;
|
||||
max-height: 230px;
|
||||
min-height: 230px;
|
||||
border-bottom: 0;
|
||||
width: 32% !important;
|
||||
margin: 0 0 10px 0;
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
padding-right: 1%;
|
||||
}
|
||||
@ -809,6 +817,8 @@ h3.comments {
|
||||
.home-page .post-loop {
|
||||
width: 49% !important;
|
||||
padding-right: 1% !important;
|
||||
max-height: 250px;
|
||||
min-height: 250px;
|
||||
}
|
||||
|
||||
.post-text {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user