Problem with theme/css/php
-
I wanted to switch my WP theme to “Rin 1.1” but I encountered a little problem. First the problem. I’m using WordPress 1.20 without modifications and “Spam Karma 2 final” as only plugin. The only modification is the use of the german WP language file (installed according to the instructions and no problems so far). When I activate Rin as theme it looks like this (screenshot taken using firefox 1.0.7):
https://s01.imagehost.org/view.php?image=/0421/blog.jpg
Two problems. Sometimes the word “comment” is still english and sometimes german (“Kommentar(e)”). The second problem is that the “x comments” link is sometimes centered whereas it should be on the right side.
My knowledge to php, css etc. is very limited so I have no idea how to fix this or where the problem lies. The important part of the themes
index.php looks like this:
<div class="meta">
<div class="author">
<?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?>
</div>
<?php _e("Filed under:"); ?> <?php the_category(' and') ?>
</div>
<div class="feedback">
<?php comments_popup_link(__('No Comments'), __('1 Comment'),__('% Comments')); ?>
</div>
<?php wp_link_pages(); ?>For the css problem, the code for the feedback class looks like this
in the style.css:
.feedback {
float: right;
font-size: 1.0em;
line-height: 35px;
}Since “feedback” contains “float:right” and the parameters of “comments_popup_link” appear to be WP variables, I have no idea what the problem is.
If it should be important the “author” class looks like this:
.author {
width: 200px;
float: right;
text-align: right;
}
- The topic ‘Problem with theme/css/php’ is closed to new replies.