Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   Customize search results page (http://forum.bytesforall.com/showthread.php?t=19764)

SiaRa Feb 28, 2013 08:36 AM

Customize search results page
 
I have a question regarding the page with the search results.
Since I have a white H1, on the search results page against a white background the H1 is not visible.
Can I change the background-color of just this one page?

lmilesw Feb 28, 2013 10:43 AM

I would suspect so. Just look at the page source or perhaps use Firebug to determine the proper code.

SiaRa Mar 1, 2013 03:10 AM

I've tried with the 'firebug' of Chrome but couldn't find the background properties.
Is it so that the results page is kinda like build from a php script?
I've looked at the button 'search' to see what script it calls to, but that didn't gave me much clearity...

lmilesw Mar 1, 2013 07:01 AM

I can't say without seeing the site.

SiaRa Mar 1, 2013 07:14 AM

The site's in Dutch, but of course you're welcome to have a look:
http://www.marktmonitor.com/
In de right sidebar is the search field. If you type in 'innovatie' you'll get a nice page with search results.

lmilesw Mar 1, 2013 07:39 AM

You have all sorts of choices. You could change the title color on search results by using the following
HTML Code:

.search-results h1 {
    color: #993399;
}

Or you could change the background color of the middle section by using this selector instead
HTML Code:

.search-results #middle
May I ask why you have h1 set to white?

SiaRa Mar 1, 2013 07:46 AM

ah wonderful!
Thank you so much!

THe H1 is white because on all the other pages it has a green background and thus white gave a fresher looking than black or blue.

The H1 in the search results is put there because that is the first content on the page right?
Cause now in the search results you see every title twice; the first one clickable and the second one as the title, but I guess that can't be changed.


All times are GMT -6. The time now is 09:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.