문제

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?

도움이 되었습니까?

해결책

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

다른 팁

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);
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top