Removing edge to the tables.

Advanced and professional portal news Joomla template with community features and various content display layouts.
GK User
Sun Jun 16, 2013 8:15 pm
The table has zero border properties, but still look a few lines, as I can fix it so you can not see anything.
User avatar
Expert Boarder

GK User
Sun Jun 16, 2013 9:07 pm
Could you show me your site URL ? It is always easier to check CSS/HTML code on live site.
User avatar
Platinum Boarder

GK User
Sun Jun 16, 2013 9:12 pm
Looking've seen this solution and it works.

If you have any other suggestions.

Code: Select all
table td, .cat-list-row0 td, .cat-list-row1 td {
border-bottom: none;
border-left: none;
}


http://www.sabiosdelpc.net/refrigeracio ... ml?start=7
User avatar
Expert Boarder

GK User
Sun Jun 16, 2013 9:37 pm
the problem I see is that if I put border = 1 lines are not and should not be seen.

I need that if I put Border = 0 lines are not and if Border = 1 if to be seen.
User avatar
Expert Boarder

GK User
Mon Jun 17, 2013 7:52 am
Hmm.. really it will be easier for me to help you when check your site, sometimes tables are generated with inline styles in style tag and override tempalate css.
User avatar
Platinum Boarder

GK User
Mon Jun 17, 2013 1:32 pm
User avatar
Expert Boarder

GK User
Wed Jun 19, 2013 9:10 am
Please add this code to override.css file in root/templates/gk_template_name/css directory :
Code: Select all
table td { border: 0 !important}

and then just remember to enable "Use override CSS" option in template advanced settings tab.
User avatar
Platinum Boarder

GK User
Wed Jun 19, 2013 2:03 pm
This removes the edges.

But when I want to see "Border = 2" are not either, there's no way the edges are deleted only when "Border = 0"???
User avatar
Expert Boarder

GK User
Thu Jun 20, 2013 8:05 am
The inline styles of tables doesn't matter, the template.css overwrite table styles. If you want to add borders do it via CSS using code from my previous post.

You can enable borders using :
Code: Select all
table td { border: 1px solid #000 !important}


or disable by :

Code: Select all
table td { border: 0 !important}
User avatar
Platinum Boarder

GK User
Thu Jun 20, 2013 1:54 pm
But, with this, I can not be in the same article tables with edge and without edge.

Since the CSS works on all tables simultaneously.

There is a way to create a style when creating the table, I can call?

There is a way to create two styles when creating the table, I can call?

A style with border = 1 and another with border = 0
User avatar
Expert Boarder

GK User
Fri Jun 21, 2013 11:00 am
In this case please create the following code:

Code: Select all
table.bordered td { border: 1px solid #000 !important}
table.no-border td { border: none!important}


and add:

Code: Select all
class="bordered"


or:

Code: Select all
class="no-border"


to the table element
User avatar
Administrator

GK User
Fri Jun 21, 2013 2:49 pm
Perfect.

Thx.
User avatar
Expert Boarder


cron