Needs review
Project:
Marinelli
Version:
7.x-3.0-beta11
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2011 at 19:41 UTC
Updated:
8 Jan 2020 at 07:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Deepika.chavan commentedHi,
- Create one custom css file in '/css ' dir, say 'local.css'
- Add following code in marinelli.info file.
stylesheets[all][] = css/local.css- Try adding following css code in your custom css (i.e. local.css) file :
- Please clear cached data here- /admin/config/development/performance
Rgrds,
Deepika Chavan.
Comment #2
Rodney N commentedDeepika,
Thank you! This is very helpful.
Comment #3
Efremov_26 commentedHi!
Can not add banners to the site, tell me how! Thanks in advance!
Comment #4
drwierdo commentedIt works like charm...thanx Deepika Chavan
Comment #5
Sms2luv commentedI am using block theme can I us nthis code in custom setting of blocks
Comment #6
sharmishtha commentedThanks Deepika, I used this additional CSS layer to solve multiple problems.
Comment #7
seftonn commentedI just came across this problem and did the following:
Get a solid background around your tables:
1) Login to your site, go to 'Configuration', click 'Performance' and turn off 'compress cached pages', 'aggregate and compress css files' and 'aggregate javascript files', then click save
2) Now clear the cache
3) Go to the node/content page with your table and edit it
2) Right click anywhere in the table and select 'Table Properties'
3) Click 'advanced' tab
4) Where you see the 'Style' which will probably already contain 'width: 500px', make it read 'width: 500px; border-style: solid; border-width: 1px' and save it.
Now get lines around the individual cells:
5) FTP onto your site and go to '/sites/all/themes/marinelli/css' and edit 'typography.css'
6) Under the section 'Tables' you will see the line 'th,td,caption { padding: 4px 10px 4px 5px; }'
7) Change it to be 'th,td,caption { padding: 4px 10px 4px 5px; border-style: solid; border-width: 1px}' and the save
8) Now clear your cache
That should do it. Example at http://www.pagg.co.uk/buy-pagg-stack-supplements
9) Remember to now re-enable 'compress cached pages', 'aggregate and compress css files' and 'aggregate javascript files' in 'Configuration', 'Performance'. Save it and then clear your cache again just to be on the safe side.
Comment #8
bhumikavarshney commentedHi,
I have added the css in the css/common.css file for the table border.
So when anyone wants to change the color for the table border can change from there.