18 Posts
HansC
10 years ago
Topic

Hi All,

Does anyone know whether it's possible to decrease the distance between the label and its content ?

See example.

So, e.g. the  space between label Address  and the content Promenade 2

Can this be done with standard Seblod template?

Thanks,

Hans

Get a Book for SEBLOD
27 Posts
RD
10 years ago
5
Level 1

Firebug babe!!

div.cck_contents.cck_content div.cck_label {
float: left;
width: 145px;
}

18 Posts
HansC
10 years ago
4
Level 2

Thanks.

But it doesn't tell me where to make this change.

Hans

27 Posts
RD
10 years ago
3
Level 3

cck.content.css  - line 32

Best practice is to do an override:

div.cck_contents.cck_content div.cck_label {
width: 100px !important;
}

18 Posts
HansC
10 years ago
2
Level 4

Found it.

Fire Bug is indeed a hany tool. Thanks for the advise.

Habs

10 years ago
1
Level 5

Hello,

You can do this natively by selecting a variation on the line of a position. Select the variation called "seb_css3" then click on the little "+" button near the variation. See the paramater "width" in Fields part.

By default it's 145px

Regards.

18 Posts
HansC
10 years ago
0
Level 6

Hi,

Many thanks thanks for the input. Now I discovered even more options in Seblod.

Thanks,

Hans

Get a Book for SEBLOD