WebsiteBaker Support (2.8.x) > Templates, Menus & Design
search table background color
blendra:
I created a new template using the planet template as the model and modifying it to make the colors and layout match the rest of my website. Everything works beautifully except the search results table displays a black background and if you insert a table or import a template with a table into the text field of a page, it had a black background. I can't find the place in the screen.css code or other file where it is getting this black background. I may have created some rule conflict.
here is the URL: http://hatatorium.com/HE/ To replicate the problem with the search results just put any term in the search box. Here is an example of a page containing a table, which has the same problem.
http://hatatorium.com/HE/pages/about-hatatorium-emporium/buying/meet-the-emporium-sellers/joe-cable.php
Any clues what I'm doing wrong?
Brenda
dbs:
Hi,
screen.css line 344 is background-color #000 for every td
screen.css lin 334 is bg #000 for all tables
Tez Oner:
Hey Brenda,
--- Quote ---I can't find the place in the screen.css code or other file where it is getting this black background. I may have created some rule conflict.
--- End quote ---
Just paste this code somewhere in the CSS...
should do the job,
.inhalt table,
.inhalt td,
.inhalt tr
{
background-color: #fff !important;
}
Cheerz,
Tez Oner
Tez Oner:
Off topic... BTW why not giving the products in the cat-view a 'fixed' height?
Should look much more nicer...
Cheerz,
Tez Oner
blendra:
Hi Tez -
Your patch worked perfectly! Thank you so much!
When you say why not give the products in the cat-view a fixed height, do you mean the formatting of the WeBid interface? I am going to start tinkering with the style sheets in the WeBid interface next. I don't like how it spreads out all over the page, and I want it to display nicely in a tablet, as the Website Baker portions of the site do.
I just set the Hatatorium Emporium site up this month, and I'm teaching myself php and css as I go. It's been quite a challenge, especially since the planet theme was in German and I don't speak German. I have a good book on CSS, but I didn't find anything addressing this problem I was having with the tables, but that might be because the book is for CSS in html5, not php.
This is just a hobby business I'm starting. I'm a lawyer, but I've built websites (for fun) since 1995. I'm just now recognizing the superiority of php over html hand coding. I'll be using Website Baker on my websites from now on. It's a great product.
Thanks for all your help!
Brenda
Navigation
[0] Message Index
[#] Next page
Go to full version