CSS Structure

Eletro Widgets comes with a default css stylesheet that you can customize to fit your theme.

In order to do that, copy the file eletro-widgets.css to your theme’s folder and edit it there as you like.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* Make a copy of this file to your theme's folder and play around */
 
.eletro_widgets_separator {
    clear: both;
}
 
#eletro_widgets_container {
    overflow: hidden;
}
 
div#eletro_widgets_col_0 {
    float: left;
}
 
div#eletro_widgets_col_1 {
    float: right;
}
 
/* These are the styles applied to the columns and
     items of each eletro-widgets set.
     Create new one as needed */
 
/* Styles for container 0 (2 columns)*/
#eletro_widgets_container_0 div.eletro_widgets_col {
	width: 48%;
}
 
#eletro_widgets_container_0 div.itemDrag {
	width: 100%;
}
/* Fim dos estilos para o container 0 */
/* End of styles for container 0 */
 
/* Styles for container 1 (3 columns)*/
#eletro_widgets_container_1 div.eletro_widgets_col {
	width: 30%;
}
 
#eletro_widgets_container_1 div.itemDrag {
	width: 90%;
}
/* End of styles for container 1 */
 
/* These are the styles of the widgets inside of Eletro Widgets.
    Create new one as needed */
.eletro_widgets_content {
    border-bottom: 1px dotted #BBBBBB;
}
 
.eletro_widgets_content h2 {
    border-bottom: 1px solid #333333;
}
.eletro_widgets_content ul {
    margin: 9px 0 9px 9px;
    padding: 3px 0 0 18px;
}
.eletro_widgets_content ul li {
    line-height: 18px;
}