DrupalBin
Submit Code
About
Recent Posts
Serializable closures
Closures in menu item arguments
dpr($content['field_headshot'])
Fix for Git push error
Проверка
Code
$item['title'] = $item['title'];
Loading specific field
expire give non-aliased paths
Fix for Code
more
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Log in using OpenID
Cancel OpenID login
Create new account
Request new password
Tags
CCK
drupal
fapi
jquery
menu
module
php
simpletest
taxonomy
test
theme
views
more tags
Home
css
Fix for three block horizontal layout
January 5, 2012 - 3:44pm — Anonymous
#footer-blocks{
margin:
0
;
background-color:
#667439}
#footer-blocks-inner{
padding:1em 2
%
;
}
#footer-blocks .block{
height:300px;
overflow:auto;
border:1px solid
#d0d5d9}
css
Read more
style.css
July 2, 2011 - 3:48pm — Anonymous
/**
*
* Pixture, for Drupal
* Author: PIXTURE STUDIO <http://www.pixture.com>
*
*/
/*
** Generic elements
*/
html
{
font-size: 100
%
;
/*Fix a IE em BUG*/
}
font, basefont
{
font-siz
css
Read more
Drupal 7 css Error
April 15, 2011 - 12:33pm — Anonymous
brian
@
briansx301:~$ cd
/
var
/
www
/
brian
@
briansx301:
/
var
/
www$ ls
briantestmysql.php drupal index.html info.php testhtml.html wordpress
brian
@
briansx301:
/
var
/
www$ cd drupal
brian
@
briansx301:
/
var
css
ctools
drupal 7
Read more
Fix for Inline webform results
March 20, 2011 - 1:19pm — Anonymous
.webform-component {
display:inline;
margin-right: 5px;
}
css
results
webform
Inline webform results
March 20, 2011 - 1:17pm — Anonymous
.webform-component .form-item {
display:inline;
margin-right: 5px;
}
css
results
webform
CSS to hide Webform checkbox form label and line up options (display: inline disabled for debugging)
March 2, 2011 - 7:52pm —
wizonesolutions
/* CSS to hide Webform checkbox form label and line up options (display: inline disabled for debugging) */
form
#webform-client-form-121 {
clear: both;
}
#webform-client-form-121 #webform-compo
css
Forms
Read more
CSS Code
June 17, 2010 - 1:38pm — Anonymous
Here some CSS code:
h1
{
font-size: 2em;
line-height: 1.3em;
margin-top:
0
;
margin-bottom: 0.5em;
/* 0.5em is equavalent to 1em in the page's base font.
Remember, a m
css
Read more
three block horizontal layout
June 7, 2010 - 11:18pm — Anonymous
#footer-blocks{
margin:
0
;
background-color:
#667439}
#footer-blocks-inner{
padding:1em 2
%
;
}
#footer-blocks .block{
height:300px;
overflow:auto;
border:1px solid
#d0d5d9}
css
Read more
Fix for Different body class for each page
March 21, 2010 - 9:42am — Anonymous
/* In template.php: */
function YOURTHEME_preprocess_page(&$vars) {
$vars['body_bg_class'] = arg(0);
}
/* In page.tpl.php */
<body class="
<?php
print
$body_bg_class
;
?>
">
css
template.php
theming
Different body class for each page
March 21, 2010 - 9:32am — Anonymous
/* In template.php: */
function YOURTHEME_preprocess_page(&$vars) {
$vars['body_bg_class'] = arg(0);
}
/* In page.tpl.php */
<body class="
<?php
print
$body_bg_class
;
?>
">
css
template.php
theming
1
2
3
4
next ›
last »