Active
Project:
Danland
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 May 2012 at 15:58 UTC
Updated:
25 Sep 2020 at 14:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
phicarre commentedComment #2
tsbah commentedI second that. Any pointers?
I have added css code to both style.css and local.css, as follows:
table {
border-collapse: collapse;
}
I cleared caches, still the border displays around the Social media icons in the assigned block, which is not esthetically pleasing.
Great theme though!
Comment #3
jgmyers commentedSeeing the same issue with tables (both code-based and user submitted) ignoring the no boarders attribute. No luck so far finding a work around.
Comment #4
JanBu commentedThere is the following fragment in style.css that - I thought - is causing the behaviour:
tr td, tr th {
border:1px solid #bbb;
padding: 0 6px;
}
Overriding this by putting this in local.css solves this annoying behaviour partly:
tr td, tr th {
border:0;
}
The border-top is still there. Apparently there is still a border-top:1px statement in there somewhere....
Jan
Comment #5
JanBu commentedAdding this to local.css finished the job:
tbody {
border-top: none;
}
(see here: http://drupal.org/node/994578)
Jan
Comment #6
sashkernel commentedThe above solution applies this to all blocks. What if I need to use borders in tables that are in the content area. e.g body of the content.
Comment #7
sashkernel commentedNever mind. I just tried something simple and it worked. What I did is modified local.css to remove all borders and leave them only in content region, like so:
Comment #8
Leeteq commentedThis issue is an annoyance for several sites in my experience.
A related issue is that the sidebars width are narrower than for example the table block showing latest posts, so that the table and its borders are showing off the sidebar border on the right side of the sidebar. This is normally easily overcome by simply using a view to display that content instead, although strictly speaking it is a bug in the Danland design.
It should be either a customizeable toggle option in the Danland settings (preferably), or documented in the Readme.TXT
And the sidebar widths should also be customizeable.
This is why I am suggesting to use AdaptiveTheme as the base theme for Danland, so that we get those features "for free", like we have in AdaptiveTheme-based themes like Pixture_reloaded and "Mix_and_match". AdaptiveTheme base them provides easily custom widths for the sidebars, and also shifting the sidebars to be both on the right side, which is very practical for mobile / responsive layout.
Comment #9
hitvika_verma commentedpatch for table border