• Hi,

    I just finished my website and I’m testing. When I search, for example “spielen” or “futter” (it’s a Germen site), I get everything in the result, pictures, videos, aricles… It is quite messy. And on top, the search field get’s doubled.

    How can I organize the search result, only bring pages and articles and don’t double the search entry field?

Viewing 15 replies - 1 through 15 (of 20 total)
  • Link to site?

    Thread Starter Ypanesa

    (@ypanesa)

    Doubling Search:

    .search-header .searchform {
      display: none;
    }

    Not sure what’s wrong with the result? What are you trying to remove?

    Thread Starter Ypanesa

    (@ypanesa)

    Thread Starter Ypanesa

    (@ypanesa)

    I did not do anything. I don’t know anything about code… or I forgot :/
    Where is this? Can I repair it?

    You add this code to the CustomCSS panel, or set up a Child Theme. See this Guide.

    Thread Starter Ypanesa

    (@ypanesa)

    No, this code is not in my child-themes CSS.

    Thread Starter Ypanesa

    (@ypanesa)

    I deleted the CSS file of my child-theme. The search-field gets doubled still.

    Forget the CT for now, if you add this to your CustomCSS panel in Customiz’it!>Custom CSS, does it work?

    Thread Starter Ypanesa

    (@ypanesa)

    Oh, I missunderstud completely ;), sorry. What means CT?

    I added your code to the CSS of the child-theme. It’s still not working.
    http://der-tut-nichts.info/hundeerziehung/weitere-regeln-fuer-den-hund/, type in futter or bellen.

    Thread Starter Ypanesa

    (@ypanesa)

    Stopp, I made a mistake, it works! Thank you.

    How can I exclude pictures from being shown in the search results?

    CT = Child Theme, sorry!

    See this Snippet now.

    Thread Starter Ypanesa

    (@ypanesa)

    Good to know about this widget. But I did not explain clearly. In the search result you also find pictures with the searched expression in its title. I would like to exclud these images. People shouldn’t care about the images, they are searching for posts and even more for pages.

    The snippet gives you this:

    /* Thumbnail Removed */
    .post .tc-thumbnail {
    display:    none;
    }
    /* Reset Post position/width */
    .post .tc-content {
    margin-left: 0px;
    min-width:  100%;
    }

    OR

    The icons can be removed with:

    /* Remove Post/Page Icon */
    .page #main-wrapper h1.format-icon:before {
    content:    none;
    }

    Add to your custom css.

    Is that what you wanted?

    Thread Starter Ypanesa

    (@ypanesa)

    No, the thumbnails are nice and I know, how to align them left or right, instead of left/right.

    I’m talking about the search result itself. If you search for “blind”, the first search result is a picture.

    Title:
    Blindenführhund bei der Arbeit

    Veröffentlicht 10. Januar 2014 bei Abmessungen 833 × 444 in

    Title of the article, where the picture is used:
    Was wäre, wenn nicht nur Hunde Blinde führen würden?.

    Again the image title?
    Blindenführhund bei der Arbeit

    The second search result is a video. 3. and 4. result are pages.

    I don’t want images to be found and listed by the search. The search result should consist of post and pages, nothing else.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Something wrong with search’ is closed to new replies.