• Resolved corygoestocollege

    (@corygoestocollege)


    I’m using a theme called sleek bluey from:

    This is how it looks with the calendar:

    This is the full sidebar code:

    <div id="sidebar">
    		<ul>
    			<strong><li class="widget widget_calendar">
    				<?php get_calendar();?>
    			</li></strong>
    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) :
    ?>
    <?
     else : ?>
    
    			<li class="widget_categories"><h2>Going to College</h2>
    				<ul>
    				<?php wp_list_cats('sort_column=name&optioncount=0'); ?>
    				</ul>
    			</li>
    
    			<?php get_links_list(); ?>
    
    			<li class="widget_meta"><h2>Members</h2>
    				<ul>
    					<?php wp_register(); ?>
    					<li><?php wp_loginout(); ?></li>
    
    					<li><a href="https://www.ads-software.com/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
    					<?php wp_meta(); ?>
    				</ul>
    			</li>
    
    <?php endif; ?>
    		</ul>
    	</div>

    That top bolded part is the calendar. When I remove that it then looks like this:

    This is the sidebar codes in style.css (stylesheet):

    /* sidebar*/
    
    #blog_right #sidebar{
    	padding-left:10px;
    	width:100%;
    }
    
    #blog_right #sidebar ul{
    	padding:0px;
    	margin:0px;
    }
    #blog_right #sidebar li{
    	padding:0px;
    	margin:0px;
    	list-style-type:none;
    }
    
    div#blog #blog_right #sidebar .widget_calendar{
    	padding-bottom:35px;
    	padding-left:15px;
    }
    
    div#blog #blog_right #sidebar table#wp-calendar{
    	font-size:11px;
    	color:#003471;
    	font-weight:normal;
    	width:90%;
    }
    div#blog #blog_right #sidebar table#wp-calendar caption{
    	font-weight:bold;
    	font-size:14px;
    	padding:0px;
    	margin:0px;
    	padding-top:5px;
    }
    
    div#blog #blog_right #sidebar table#wp-calendar thead th{
    	font-weight:bold;
    	color:#ffffff;
    	text-align:center;
    }
    div#blog #blog_right #sidebar table#wp-calendar td {
    	padding:2px;
    }
    div#blog #blog_right #sidebar table#wp-calendar td a{
    	background:#accfe9;
    	padding:2px;
    }
    div#blog #blog_right #sidebar table#wp-calendar tfoot a{
    	background:none;
    	color:#000000;
    	font-weight:bold;
    }
    
    #blog_right #sidebar h2{
    	color:#003471;
    	font-size:18px;
    	font-family:Arial, Helvetica, sans-serif;
    	margin:0px;
    	padding-bottom:5px;
    	padding-top:15px;
    	padding-left:15px;
    	font-weight:normal;
    	background:url(images/h2_li.gif) no-repeat center center;
    	height:31px;
    }
    
    #blog_right #sidebar ul li{
    	color:#2b2e31;
    	font-size:11px;
    	font-family:Verdana, Arial, Helvetica, sans-serif;
    	font-weight:bold;
    }
    
    #blog_right #sidebar li a{
    	color:#2b2e31;
    	font-size:11px;
    	font-family:Verdana, Arial, Helvetica, sans-serif;
    	text-decoration:none;
    	font-weight:normal;
    	line-height:19px;
    }
    
    #blog_right #sidebar ul li ul li{
    	font-size:11px;
    	font-family:Verdana, Arial, Helvetica, sans-serif;
    	font-weight:bold;
    	padding-right:5px;
    	padding-bottom:5px;
    	background:none;
    	padding-left:15px;
    }
    #blog_right #sidebar ul li ul li ul li{
    	font-size:11px;
    	font-family:Verdana, Arial, Helvetica, sans-serif;
    	font-weight:normal;
    	color:#2b2e31;
    	padding-bottom:0px;
    	padding-left:5px;
    }
    #blog_right #sidebar ul li ul li ul li a{
    	font-size:11px;
    	font-family:Verdana, Arial, Helvetica, sans-serif;
    	font-weight:normal;
    	color:#2b2e31;
    }
    
    #blog_right #sidebar ul li ul li{
    	border-bottom:0;
    	background: url(images/solid_li.gif) center bottom no-repeat;
    }
    
    #blog_right #sidebar ul li.widget_categories ul li ul li{
    	border-bottom:0;
    	background: none;
    }
    
    #blog_right #sidebar ul li ul li ul{
    	padding-left:10px;
    }
    
    #blog_right #sidebar ul li ul li a{
    	background: url(images/bl_li.gif) left top no-repeat;
    	padding-left:9px;
    }
    
    #blog_right #sidebar ul li.widget_categories ul li a{
    	background: url(images/cat_li.gif) left top no-repeat;
    	padding-left:9px;
    }
    
    #blog_right #sidebar ul li.widget_archives ul li a{
    	background: url(images/ar_li.gif) left top no-repeat;
    	padding-left:9px;
    }
    
    #blog_right #sidebar ul li.widget_meta ul li a{
    	background: url(images/meta_li.gif) left top no-repeat;
    	padding-left:9px;
    }
    
    #blog_right #sidebar ul li.widget_categories li ul.children li a{
    	background: url(images/line_li.gif) left top no-repeat;
    	padding-left:9px;
    }
    
    /*inside*/
    
    #blog_left #blog_comm{
    	margin-left:100px;
    	float:left;
    	width:465px;
    }
    
    #blog_left #blog_comm h2{
    	font-size:23px;
    	font-weight:bold;
    	font-style:italic;
    	padding-left:0px;
    	color:#0072bc;
    	position:relative;
    	top:-10px;
    }
    
    #blog_left #blog_comm .comm_panel{
    	height:20px;
    	background:#d5e2f3;
    	padding-right:10px;
    	padding-left:10px;
    	padding-top:4px;
    	font-family:Verdana, Arial, Helvetica, sans-serif;
    	width:94%;
    }
    
    #blog_left #blog_comm .comm_panel a{
    	font-weight:bold;
    }
    
    #blog_left #blog_comm .comm_text{
    	font-family:Verdana, Arial, Helvetica, sans-serif;
    	line-height:18px;
    	padding-top:5px;
    	padding-bottom:5px;
    	padding-left:5px;
    	padding-right:5px;
    	border-bottom:3px solid #adc7e7;
    	color:#555658;
    	width:94%;
    }
    
    #blog_left #blog_comm .comm_text p{
    	padding:0px;
    	margin:0px;
    	margin-top:10px;
    
    }
    
    #blog_left #comments_from_bg{
    	background:url(images/blog_form_bg.gif) no-repeat top left;
    	width:460px;
    	padding-bottom:20px;
    }
    
    #blog_left #blog_comm #comm_post_title{
    	width:430px;
    	height:65px;
    	font-family:Verdana, Arial, Helvetica, sans-serif;
    	font-size:23px;
    	font-weight:normal;
    	padding-left:25px;
    	padding-top:10px;
    	color:#000000;
    	font-style:italic;
    }
    
    #blog_left #blog_comm #comm_post_form{
    	padding-left:25px;
    }
    
    #blog_left #blog_comm #comm_post_form input.text{
    	font-size:14px;
    }
    
    #blog_left #blog_comm #comm_post_form td{
    	list-style:none;
    	font-family:Verdana, Arial, Helvetica, sans-serif;
    	padding-bottom:10px;
    	padding-right:10px;
    }
    
    #blog_left #blog_comm #comm_post_form td.right{
    	text-align:right;
    	vertical-align:top;
    }
    
    /* end sidebar*/

    I’m guessing I can fix this by editing the style.css somewhere in the code above. I don’t know what exactly it’s doing when I remove the calendar though so it’s hard to find…I think it’s creating a new sidebar section because of the way it makes the new thing right above where it says “Site Admin”

    Is there something I can do in the style.css to fix this?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘sleek bluey calendar’ is closed to new replies.