Проблем с темплейт на wp

Viko

Well-Known Member
Днес барниках малко по кода на темплейта пооправих някои неща според нуждите си обаче съм пипнал къде не трябва май и шрифта на линковете, на категориите и т.н. в сайдбара се увеличи и стана доста голям - http://spermpills.eu/

Та малко хелп ако може че го закъсах :)

Това е кода на sidebar.php

PHP:
<div id="sidebar1" class="vertstrip">
	<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar1') ) : ?>
	
	<div class="box box-categories">
		<h3>Categories</h3>		
		<div class="interior">
			<ul>
			<?php wp_list_cats('sort_column=name&optioncount=0&hierarchical=0'); ?>
			</ul>
		</div>
	</div>
	
	<?php royalblue_list_bookmarks(); ?>

	<div class="box box-archives">
		<h3>Archives</h3>		
		<div class="interior">
			<ul>
			<?php wp_get_archives('type=monthly'); ?>
			</ul>
		</div>
	</div>

	<?php endif; ?>
</div>


<div id="sidebar2" class="vertstrip">
	<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar1') ) : ?>

	<div class="box box-adverts">
		<h3>Sponsors</h3>		
		<div class="interior">
			
			<div><a><img src="http://spermpills.eu/wp-content/themes/royaleblue/images/small_CARDS.jpg" alt="produce more sperm"></a></div>



<div><a href="http://208.75.227.106:8080/akeni/support/websupportindex?username=websupport&[email protected]&url=language=en&url=&visitor=0&company=0&os=W&browser=g">
<img src="http://spermpills.eu/wp-content/themes/royaleblue/images/small_livehelp.jpg" alt="live help"></a></div>

<div><a><img src="http://spermpills.eu/wp-content/themes/royaleblue/images/xaxaxa.JPG" alt="more sperm"></a></div>

<div><a rel="nofollow" href="http://xtracum.com/?page=order&id=indexx"><img alt="sperm pills" src="<?php bloginfo('template_url'); ?>/images/11.gif" /></a></div>

			<div><a href="http://gbtoplist.com/">
<img src="http://gbtoplist.com/button.php?u=Vikobe" alt="GB TOPLIST, best links" border="0" width=88 height=31></a></div>
			<div><!-- NACHALO NA TYXO.BG BROYACH -->
<script  type="text/javascript">
<!-- 
d=document;
d.write('<a href="http://www.tyxo.bg/?51798" title="Tyxo.bg counter" target=" blank"><img width="80" height="15" border="0" alt="Tyxo.bg counter"');
d.write(' src="http://cnt.tyxo.bg/51798?rnd='+Math.round(Math.random()*2147483647));
d.write('&sp='+screen.width+'x'+screen.height+'&r='+escape(d.referrer)+'" /><\/a>');
//-->
</script>
<noscript><a href="http://www.tyxo.bg/?51798" title="Tyxo.bg counter" target="_blank"><img src="http://cnt.tyxo.bg/51798" width="80" height="15" border="0" alt="Tyxo.bg counter" /></a></noscript>
<!-- KRAI NA TYXO.BG BROYACH --></div>
		</div>
	</div>

	<?php endif; ?>
</div>
 
От: Проблем с темплейт на wp

и на style.css

PHP:
* 
Theme Name: Royale Blue
Theme URI: http://www.paddsolutions.com
Description: Professional theme, Valid XHTML & CSS, 3 Columns, Widget & Adsense Ready
Version: 1.0
Author: Padd IT Solutions
Author URI: http://www.paddsolutions.com 

The CSS, XHTML and design is released under Creative Commons License.
 */



/* Typography */

html, body, input, button, select, option, textarea {
	font-size: 12px;
	line-height: 18px;
	font-family: Arial, Verdana, Sans-Serif;
}

a,a:visited {
	text-decoration: none;
}

div#header-title h1 {
	font-family: Georgia, "Times New Roman", Times, serif;
	text-decoration: none;
	font-size: 25px;
	line-height: 35px;
}
	div#header-title h1 a {
		text-decoration: none;
	}
div#header-search {
	line-height: 62px;
}

div#about p {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
}
	div#about p.para1 {
		font-size: 18px;
	}

div#content div.pagetitle h2 {
	font-family: Georgia, "Times New Roman", Times, serif;
	line-height: 31px;
	font-size: 24px;
	font-weight: normal;
	text-align: center;
}

div.post div.title h2 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 24px;
	font-weight: normal;
	line-height: 28px;
}
	div.post div.title h2 a {
		text-decoration: none;
	}
	div.post div.title p {
		font-size: 11px;
		line-height: 20px;
		font-style: italic;
	}
	div.post div.title p span.group2 {
		text-transform: lowercase;
	}
	div.post div.title p a, div.post div.title p a:visited {
		text-decoration: none;
	}
div.errormsg {
	text-align: center;
}

h3#comments, h3#respond {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 18px;
	font-weight: normal;
}
h3#comments a {
	text-decoration: none;
}
ol.commentlist li small {
	font-size: 12px;
}

div.vertstrip div.box h3 {
	font-family: Georgia, "Times New Roman", Times, serif;
	line-height: 21px;
	font-size: 13px;
	font-weight: normal;
}
	div.vertstrip div.box div.interior ul li a {
		font-family: Arial, Helvetica, sans-serif;
		text-decoration: none;
	}	
div#footer {
	font-family: Verdana, sans-serif;
	font-size: 6px;
}
	div#footer a, div#footer a:visited {
		text-decoration: none;
	}
	div#footer a:hover, div#footer a:active {
		text-decoration: underline;
	}




/* Layout */

html, body, form { 
	margin: 0; padding: 0;
}
p {	
	margin: 11px 0 0 0; 
}

.hidden {
	display: none;
}

div.clearer { clear: both; }

div#container {
	width: 960px;
	margin: 0 auto;
}

div#header {
	width: 100%;
	height: 62px;
}
	div#header-wrapper {
		margin: 0 auto;
	}
		div#header-title {
			float: left;
		}
			div#header-title h1 {
				display: block;
				margin: 0; padding: 0;
				border: 0;
			}
				div#header-title h1 a {
					display: block;
					height: 62px; width: 317px;
					border: 0;
				}
					div#header-title h1 a span {
						display: none;
					}
		div#header-search {
			padding-top: 12px;
			padding-right: 25px;
			float: right;
		}
		
div#navmenu {
	width: 940px; height: 39px;
	border-top: 10px solid;
	border-left: 10px solid;
	border-right: 10px solid;
	border-bottom: none;
}

div#topads {
	height: 25px;
	padding-top: 6px;
	padding-left: 23px;
	border-left: 10px solid;
	border-right: 10px solid;
	border-bottom: 1px solid;
}

div#about {
	height: 226px;
	padding: 15px 0;
	border-left: 10px solid;
	border-right: 10px solid;	
}
	div#about div.text {
		width: 576px; height: 223px;
		margin-left: 18px;
		border: 1px solid;
		float: left;
	}
	
	div#about div.advertisement {
		width: 300px; height: 225px;
		margin-right: 20px;
                padding: 0px 0;
		float: right;
	}
		div#about div.advertisement img {
			border: 0;
		}
	div#about p {
		margin: 0;
		padding: 1.5em 25px 0 120px;
	}
	div#about p.para2 {
		padding-top: 2em;
	}


div#wrapper {
	border-left: 10px solid;
	border-right: 10px solid;
}
	div#wrapper div.clearer {
		clear: both;
	}

div#content {
	width: 596px;
	margin-right: 4px;
	float: left;
	padding-top: 20px;
}
	div#content div.pagetitle h2 {
		margin: 0; padding: 0 22px 22px 22px;
	}

div.post {
	padding-bottom: 50px;
}
	div.post div.title {
		padding: 15px 22px;
		height: 70px;
	}
		div.post div.title h2 {
			margin: 0; padding: 0;
		}
		div.post div.title p {
			margin: 0; padding: 10px 0 0 0;
			height: 20px;
			display: block;
		}
			div.post div.title p span.group1 {
				display: block;
				float: left;
			}
			div.post div.title p span.group2 {
				display: block;
				float: right;
				padding-left: 20px;
			}
	div.post div.entry {
		padding: 0 22px;
	}
	
div.navigation {
	height: 48px;
	padding: 0 22px;
}
	div.navigation div {
		line-height: 24px;
	}
	div.navigation div.prev {
		float: left;
	}
	div.navigation div.next {
		float: right;
	}

div.singlepost {
	border-bottom: none;
}
	div.singlepost div.entry {
		margin-bottom: 3em;
	}

div.comments {
	padding: 0 22px;
}
	
h3#respond {
	padding-top: 2em;
	border-top: 1px dashed;
}
	ol.commentlist {
		margin-bottom: 3em;
	}
	ol.commentlist li {
		margin-bottom: 11px;
	}
form#commentform {
	padding-bottom: 1em;
}
		
div.vertstrip {
	float: left;
	width: 165px;
	margin-left: 5px;
	margin-bottom: 5px;
	
}
	div.vertstrip div.box {
		margin-top: 20px;
		border: 2px solid;
	}
		div.vertstrip div.box h3 {
			border-bottom: 1px solid;
			margin: 0; padding: 0 10px;
			display: block;
		}
		
		div.vertstrip div.box div.interior {
			padding: 1px 2px 2px 2px;
		}
			div.vertstrip div.box div.interior ul {
				margin: 0;
				padding: 0;
				list-style-type: none;
			}
			
			div.vertstrip div.box div.interior ul li {
				margin: 0 5px;
				padding: 3px 0 3px 1.2em;
				border-bottom: 1px dashed;
			}
		
		
div.vertstrip div.box-adverts div.interior {
	padding: 7px 6px 0 7px;
}
	div.vertstrip div.box-adverts div.interior div {
		padding-bottom: 7px;
	}
	div.vertstrip div.box-adverts div.interior img {
		border: none;
	}


div#footer {
	clear: both;
	border-left: 10px solid;
	border-right: 10px solid;
	border-bottom: 10px solid;
	padding-left: 72px;
}
	div#footer p {
		margin: 0px;
		padding: 6px;
		display: block;
	}
	

/* Forms */

input#s { 
	width: 220px;
	padding: 10px;
} 

div#sidebar div.box-archive select {
	width: 100%;
}



/* Colors */

a, a:visited {
	color: #c33;
}

body {
	background: #162d43 url('images/background.gif') top left repeat-x;
}

div#container {
	border-left-color: #999;
	border-right-color: #999;
}

div#header h1 {
	background: url('images/background-title.gif') top left no-repeat;
}

input#s { 
	border: 1px solid #4b6c8e;
	background-color: #214163;
	color: #4b6c8e;
} 

div#navmenu {
	border-top-color: #fff;
	border-left-color: #fff;
	border-right-color: #fff;
	background: url('images/background-navmenu.gif') top left repeat-x;
}

div#topads {
	background-color: #500302;
	border-left-color: #fff;
	border-right-color: #fff;
	border-bottom-color: #536b89
}

div#about {
	background: url('images/background-about.png') top left repeat-x;
	border-left-color: #fff;
	border-right-color: #fff;
}
	div#about div.text {
		border-color: #fff;
		color: #fff;
		background: url('images/background-blue-people.jpg') top left repeat-x;
	}


div#wrapper {
	background: url('images/background-wrapper.gif') top left repeat-y;
	border-left-color: #fff;
	border-right-color: #fff;
}

div#content div.pagetitle {
}
	div#content div.pagetitle h2 {
		color: #c00;
}

div.post div.title {
	background: url('images/background-content-title.gif') top left no-repeat;
}
	div.post div.title p span.group2 {
		background: url('images/background-comments.gif') center left no-repeat;
	}
	div.post div.title h2 a, div.post div.title h2 a:visited {
		color: #162d43;
	}


h3#comments, h3#respond {
	color: #162d43;
}

h3#respond {
	border-top-color: #ccc
}

div.vertstrip div.box {
	border-color: #fff;
}
	div.vertstrip div.box h3 {
		background: url('images/background-box-header.gif') top left repeat-x;
		color: #c00;
		border-bottom-color: #fff;
	}
	div.vertstrip div.box div.interior {
		background-color: #f0f0eb;
	}
		div.vertstrip div.box div.interior ul li {
			background: url('images/bullet.gif') 3px 9px no-repeat;
			border-bottom-color: #ccc;
		}
			div.vertstrip div.box div.interior ul li a {
				color: #004d99;
			}


div#footer {
	background: #162d43 url('images/background-footer.gif') center left no-repeat;
	color: #1d4876;
	border-left-color: #fff;
	border-right-color: #fff;
	border-bottom-color: #fff;
}
	div#footer a, div#footer a:visited {
		color: #1d4876;
	}
	
	
	
	
/* Entry Styling */

blockquote {
	padding: 0 0 0 1em;
	font-style: italic;
}
blockquote blockquote {
	padding: 0;
	margin-left: 0;
	font-style: normal;
}
 
От: Проблем с темплейт на wp

Нали хапчетата са за увеличаване на спермата, нормално е шрифта да стане по-голям.

:)

пардон

на мен всичко ми се вижда ОК :)
 

Горе