Support » Fixing WordPress » Search Results Page Misaligned

  • Resolved raygun267


    I have my site build and functioning properly but when I was testing the “site search” function, my results page is not center aligned like the rest of my site pages. I’ve copy and paste the code from the search.php and index.php into another page, refreshed and it stayed aligned.

    Any ideas for what may be causing this to happen or a solution?

    Let me know what you need in order to help resolve the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you validated the page for coding or CSS errors?

    I have and it passed.

    If you type a word in the search field, upper right, you will see that the results page is out of alignment compared to the rest of the site.

    I even took the default code form the 2012 theme, which I tested and it worked before doing so, and placed it in the search.php in my theme and it was still not aligned center.

    I figured it out. I had a .search in the css which was used to align the search form in the header that was causing the issue as it is also used in the search.php.

    So I simply changed .search to .searchbox

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search Results Page Misaligned’ is closed to new replies.