Keyword

Template problem - bug in css for itemListCategory?

  • Oceanwatcher
  • Oceanwatcher's Avatar Topic Author
  • Offline
  • Elite Member
More
14 years 3 months ago #86663 by Oceanwatcher
Don't know if anyone has experienced this:Working on a site where I am going to use the category header as a headline for a page. And I would like to remove the box and the background behind it.But when I check it with Firebug, I get a reference that do not make any sense... Check for yourself:http://www.golfdesign.info/usp/Use Firebug or Firefly (Opera) to check the category heading ( n. 26, 2010) and try to figure out where the background comes from...I have checked it against an unmodified version - same result.Is there a known bug in K2 somewhere that cause this? Would probably be in category_item.php or the css?Ooops - almost forgot to mention that I am using a Rocket Theme template for this site.

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #86664 by william white
Replied by william white on topic Template problem - bug in css for itemListCategory?
Is this what your talking about
div.itemlist.category background

Please Log in or Create an account to join the conversation.

  • Oceanwatcher
  • Oceanwatcher's Avatar Topic Author
  • Offline
  • Elite Member
More
14 years 3 months ago #86665 by Oceanwatcher
Replied by Oceanwatcher on topic Template problem - bug in css for itemListCategory?
Don't know what is causing the problem here... This is what I see. And I have tried the same in Firefly in Opera:




As you can see, I get nothing understandable from it. But as you can see things better, could you tell me what css file and line that controls the background? :-)

BTW - there is no css file called usp. It should be one of the following:

extended.css
template.css
CN1_style.css

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #86666 by william white
Replied by william white on topic Template problem - bug in css for itemListCategory?
it must be there somewhere, see top left under list of css files in png.

Please Log in or Create an account to join the conversation.

  • Oceanwatcher
  • Oceanwatcher's Avatar Topic Author
  • Offline
  • Elite Member
More
14 years 3 months ago #86667 by Oceanwatcher
Replied by Oceanwatcher on topic Template problem - bug in css for itemListCategory?
Like I said, I think there is a bug somewhere that throws the listing off.

There is no css file named usp. This is the folder, not a file.

Also, not that all the css parameters except one are not possible to change or disable. That should be a good sign that something is off.

Did you try this on one of your own websites? :-)

Joomla 1.5.20
K2 v. 2.3
Rocket Theme template Panacea
One CSS per template plugin

William White said:it must be there somewhere, see top left under list of css files in png.

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #86668 by william white
Replied by william white on topic Template problem - bug in css for itemListCategory?
If you are using an override and css4k2, try editing the category.php and remove the class tags. see if it will override whats going on...
i dont have rocket theme

Please Log in or Create an account to join the conversation.

  • Oceanwatcher
  • Oceanwatcher's Avatar Topic Author
  • Offline
  • Elite Member
More
14 years 3 months ago #86669 by Oceanwatcher
Replied by Oceanwatcher on topic Template problem - bug in css for itemListCategory?
Ok. I'll check a little more there and get back.

William White said:If you are using an override and css4k2, try editing the category.php and remove the class tags. see if it will override whats going on... i dont have rocket theme

Please Log in or Create an account to join the conversation.

  • Oceanwatcher
  • Oceanwatcher's Avatar Topic Author
  • Offline
  • Elite Member
More
14 years 3 months ago #86670 by Oceanwatcher
Replied by Oceanwatcher on topic Template problem - bug in css for itemListCategory?
Here is the latest development:

First, I tried to change template - just to see what happened!

I switched to a couple of the standard templates in Joomla, and the background behind the category header was gone. So... That should point to the template as the problem.

Next thing I did was to open the php file that controls the category header and try to find the correct section. I then renamed the class - basically just added a number - and again the background (and other styling) was gone.

I will do a couple of other tests to see if I can find exactly where the problem is.

Before I changed the file, I did a test with the W3C validator to see if it could detect any problems. And it came up with 1 error for the whole page. In the category header :-) It said there was a missing bracket around a paragraph tag. I have not been able to see where it could have been, and now that I renamed the class, the whole page validates..

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #86671 by william white
Replied by william white on topic Template problem - bug in css for itemListCategory?
"That should point to the template as the problem." - Well, different anyway! I think the template makers are doing their own thing when putting K2 aware sections in them, so you have to figure out what their "own thing" is in every case.
Id like to run
find / -name usp.css
on your server with sudo privlages.....just to see

Please Log in or Create an account to join the conversation.

  • Oceanwatcher
  • Oceanwatcher's Avatar Topic Author
  • Offline
  • Elite Member
More
14 years 3 months ago #86672 by Oceanwatcher
Replied by Oceanwatcher on topic Template problem - bug in css for itemListCategory?
Would not help you much. Unless you magically know a function in Joomla that makes css files with the same name as the root folder of the Joomla installation? ;-)

William White said:"That should point to the template as the problem." - Well, different anyway! I think the template makers are doing their own thing when putting K2 aware sections in them, so you have to figure out what their "own thing" is in every case. Id like to run
find / -name usp.css
on your server with sudo privlages.....just to see

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum