WordPress.org

Support

Support » Themes and Templates » Search results bug? Entire page gets 1px border!

Search results bug? Entire page gets 1px border!

  • Hi!

    I’m using the Unstandard WP theme.

    When I type something into the search form and press enter, my entire page gets a 1px border. I wonder why that is?

    My page is http://www.joshua-salewski.com

    Maybe you can try using the search and see the issue yourself?
    Any ideas?

    These are the CSS attributes I specified for the search results:

    .search {
     	background: #cbe5df !important;
    	padding: 0 !important;
    }
    
    .search-results-info {
    	overflow: hidden;
    	background: #222;
    	color: #eee;
    	font-family: "Didact Gothic", Helvetica, Arial, sans-serif;
    	font-size: 14px;
    	position: relative;
    }
    .results-title {
    	position: absolute;
    	bottom: 0;
    	left: 0;
    	padding: 10px;
    	font-size: 16px;
    }

    Thank you.
    Kind regards
    Josh

Viewing 3 replies - 1 through 3 (of 3 total)
  • WPyogi

    @wpyogi

    Forum Moderator

    Line 49 of your style.css file shows:

    .search {
        background: url("images/search.png") no-repeat scroll 7px 50% #A0BD9F;
        border: 1px solid #000000;
        padding: 10px 10px 10px 45px;
        text-align: left;
    }

    hence, the border on that page.

    Hi!

    Which style.css are you referring to? There’s definitely no such code in the style.css of my Unstandard theme folder…

    Regards
    Josh

    Okay, I got it!

    Didn’t know I have to look for the style.css in the folder “/wp-content/plugins/headings”…

    I fixed it now.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search results bug? Entire page gets 1px border!’ is closed to new replies.
Skip to toolbar