WordPress.org

Support

Support » Themes and Templates » Love this design, but a couple of problems

Love this design, but a couple of problems

  • I am using this design for a Fußball blog (http://www.volk-ohne-raumdeckung.de) and really love the way it puts community front and center via “comments” in the header. I would like to change a couple of things though, so seeking advice.

    1) I would like to have paragraph breaks actually show up. This theme removes them. Where can I change that in the CSS?

    2) The search feature has a glitch. When I am on a post page and seek a term that is not in that particular post, it returns a “not found” message. When I return to the index page of the site and search for the same term, it then finds it. Is there anyway that the search function can be corrected for this?

    Help is very much appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey archertc,

    1. Look in your style.css file for something that looks like this:

    .post .postcontent p
    {
    	clear: both;
    	margin-bottom: 0;
    }

    Clear the margin-line row by either commenting out (below) or deletion:

    .post .postcontent p
    {
    	clear: both;
    	/* margin-bottom: 0; */
    }

    Removing the margin-bottom value against “post”, “postcontent” and “p” should fix your issue. I tried to find it in your CSS but it was quite custom. There should be something in there similar.

    2. First things first.. is the php/code for the search function the same on both pages? What happens if you copy the code from the index and past it on the posts page?

    First, my thanks and my apologies for the delay (I somehow thought I would get an email when there was an update to this thread.) Responses:

    1. To the first, the answer is in the CSS file right under /* GENERAL */. I removed margin:0;

    2. Currently, the search function is in header.php rather than the index. There is no separate posts page. An additional hint in this regard is still welcome.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Love this design, but a couple of problems’ is closed to new replies.
Skip to toolbar