Keyword

CCS on a TABLE does NOT show up in an ITEM

  • Chris Hogan
  • Chris Hogan's Avatar Topic Author
  • Offline
  • Senior Member
More
3 weeks 2 days ago #168623 by Chris Hogan
Chris Hogan created the topic: CCS on a TABLE does NOT show up in an ITEM
Hi there,

I have an issue where some simple css (on a table) does not show up in a K2 item BUT DOES WORK IN A STANDARD JOOMLA ARTICLE??

Any ideas on why this may be occurring...see below for live pages on methods:

www.ourdogsinternational.com/news/test - JOOMLA ARTICLE!!!

www.ourdogsinternational.com/partner-shows/holland-media-partners/item/1221-world-dog-show-amsterdam-2018?start=1 - K2 ITEM!!!

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

More
3 weeks 2 days ago #168624 by Krikor Boghossian
Krikor Boghossian replied the topic: CCS on a TABLE does NOT show up in an ITEM
This is unrelated to K2 this is a template specific issue. Your template has specific styling for tables in K2 items.
You need to address this issue to the template's developers.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

  • Chris Hogan
  • Chris Hogan's Avatar Topic Author
  • Offline
  • Senior Member
More
2 weeks 6 days ago - 2 weeks 5 days ago #168631 by Chris Hogan
Chris Hogan replied the topic: CCS on a TABLE does NOT show up in an ITEM
Hi found a way if anyone needs it:

The code below in your Templates CCS prevents adding background in table due to the use of !important:

body #k2Container table tr, body #k2Container table th, body #k2Container table td {
background: none !important;
border: 0 !important;
}

Just remove the !important bit ;)
Last Edit: 2 weeks 5 days ago by Chris Hogan.

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

Moderators: william white