Peter Boosten
Forum Replies Created
-
Forum: Themes and Templates
In reply to: page template from custom fieldSee if my article can help you.
Peter
Forum: Themes and Templates
In reply to: Style Sheet – Header alignmentIt isn’t centered, but justified.
add
text-align: left;to the h2 tag in your stylesheet, like this:h2 { margin:30px 0 0; text-align:left; }line 348 in your style.css, however this will also look strange for that particular header.
Peter
Forum: Themes and Templates
In reply to: How can I add a gradient background? CSS?It’s an image created specially for this purpose.
Peter
Forum: Themes and Templates
In reply to: Can you Convert from Joomla to WordPress?yes, it is possible.
Peter
Forum: Themes and Templates
In reply to: spaces between linesIn your style.css, line 37, change this:
p { font-size:11px; margin:0; padding:0; }into this:
p { font-size:11px; margin:0 0 12px; padding:0; }Peter
Forum: Themes and Templates
In reply to: Random symbols appear in all posts and pagesStart with your index.php (maybe post it on pastebin).
It’s probably just after the
<div id="main">but I cannot tell for sure.Peter
Forum: Themes and Templates
In reply to: spaces between linesURL?
HTML doesn’t care about spaces and newlines, it always reduces them to one.
You have to style that through css, probably add a margin-bottom to your p tag.
Peter
Forum: Themes and Templates
In reply to: Buttons have moved on siteHave you ever tried to resize the browser window? Weird things happen 🙂
The problem is that you’re trying to get one visual effect with three different images. It can work, but it needs some restructuring of your layout.
Peter
Forum: Themes and Templates
In reply to: Buttons have moved on siteIn your style.css:
change
top: -12px;totop: 58px;#header_rss img { left:429px; position:relative; top:58px; }Forum: Themes and Templates
In reply to: Different template view in different category page.Just create a file per category using the hierarchy.
Peter
Forum: Themes and Templates
In reply to: some people cant see my blog some people canI for sure cannot see it, but then again: you forgot to post a url 😉
Peter
Forum: Themes and Templates
In reply to: My Comments are throwing my formatting off…IMHO you should make the disqus_thread div part of the postwrap (amongst other divs). Looks like you’re missing a closing div somewhere.
Also, you xhtml doesn’t validate (could be related).
Peter
Forum: Themes and Templates
In reply to: Conditional tag if $customfield existsAlmost right, but in the wrong way:
In your case $post-image always will be undefined, since you didn’t query it yet.
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php $image=get_post_meta($post->ID, 'post-image', true); <?php if ( $image ) { ?> <!-- layout with image --> <?php } else { ?> <!-- layout without image --> <?php endif; ?> <?php endwhile; else: ?> <p>Sorry, no posts matched your criteria.</p> <?php endif; ?>Peter
Forum: Themes and Templates
In reply to: Changing Template Background ColourIt would be easier to post a URL (to your site) here.
Peter
Forum: Themes and Templates
In reply to: Calling Custom Field values for specific key.query_posts(array('showposts' => 8, 'post_type' => 'post', 'cat' => 4));Peter