• Searched all the Support Forum posts and could not find this one… thanks to anyone for any help!
    All the site pages’ content text is ok and fits on the pages but when I do a site search, the site search page results, (text content), goes beyond the left margin.
    I’ve tried to find the code in the Stylesheet (style.css) but it seems only for the search box & not the results page or only the contents section which effects all the pages.
    I’d be grateful for any help or suggestions. Thank you.
    The site address is https://www.bakuncraft.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • First of all, you need to edit your theme’s footer.php file and replace:

    <div class="aligncenter" style="padding-left:320px"> WP Theme by <a href="https://www.skdstudio.com">SK Design Studio.</div>
    </body

    with:

    <div class="aligncenter" style="padding-left:320px"> WP Theme by <a href="https://www.skdstudio.com">SK Design Studio.</a></div>
    </div></div></body></html>

    Then try editing search.php in your theme and changing:

    <div class="post">

    to

    <div class="entry">

    Thread Starter macgordon

    (@macgordon)

    Hi Esmi – sorry for delay in reply and many thanks for your kind help!
    The odd thing is that I had modified the original footer code which may have caused the problem in the first place. I took a look at your fix but my code is different than yours so I tried your search.php fix and it worked. Again thank you very much for your help on this… & I’ll work on your footer fix next. – gordon

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘site search page results – text content margins’ is closed to new replies.