Pergunta

This is my website. I have added the categories, however it appears not to be inline. I have tried to style this in a class but this screws up the whole thing.

Do I edit the main style within the themes?

Foi útil?

Solução

If i unterstand you correctly, just add the following to your themes style.css file. This should do the trick.

.post-categories, .post-categories li {
    display:inline;
    padding:0;
 }

Update:

If you add this style you should see something like that. Is it what you expected? Make sure to clear your browser cache and all your styles are proper loaded.

enter image description here

Outras dicas

Seeing at source (try keystroke CTRL+U) appears clear that it is a php error that is causing a break in the normal HTML output. Breaks right after: </div><!-- #container -->...

If you can't check the php error log of your server, try output debug info directly to the screen. Put in your wp-config.php

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', 1);
@ini_set('display_errors', 1);
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top