[resolved] search messes up layout (4 posts)

  1. ahmschober
    Posted 5 years ago #

    Hi there,

    I'm having a problem with my search.php. When I run the search, the whole site slides to the right.

    I have tried removing anything but a heading to see whether I omitted a tag or something similar, but the problem remained.

    If you could take a quick look at it, that would be a great help!



  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Start by sorting out the markup errors. Then move onto the CSS errors.

  3. Michael
    Forum Moderator
    Posted 5 years ago #

    apart from the validation error which need to be fixed, there is a conflict of the body_class of the search results page and this existing style in style.css:

    .search {
    	margin: 8px 4px 5px 0px;
    	padding: 2px 0px 2px 0px;
    	border: solid 1px #CCC;
    	float: right;
    	width: 280px;

    to avoid the conflict, change that to:
    #wrapper .search { ....

  4. ahmschober
    Posted 5 years ago #

    Thank you both for your inputs! The css-style did the trick for now, I'll have a go at fixing all the validation errors in near future.



Topic Closed

This topic has been closed to new replies.

About this Topic