Keyword

CCS on a TABLE does NOT show up in an ITEM

  • Chris Hogan
  • Chris Hogan's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 3 months ago #168623 by Chris Hogan
CCS on a TABLE does NOT show up in an ITEM was created by Chris Hogan
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.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 3 months ago #168624 by Krikor Boghossian
Replied by Krikor Boghossian on 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.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Chris Hogan
  • Chris Hogan's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 3 months ago - 6 years 3 months ago #168631 by Chris Hogan
Replied by Chris Hogan on 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: 6 years 3 months ago by Chris Hogan.

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


Powered by Kunena Forum