1 | How to adapt or create your theme to... Spread menus |
---|
2 | |
---|
3 | 1 - In your themeconf create additional keys/values like this: |
---|
4 | |
---|
5 | $themeconf = array( |
---|
6 | ... |
---|
7 | 'spread_menus' => 'spread_menus_theme', |
---|
8 | ... |
---|
9 | ); |
---|
10 | # Optional, to remove menus on the picture page thru your themeconf, just uncomment the following code: |
---|
11 | // $conf['Spread menus']['On_picture'] = false; |
---|
12 | |
---|
13 | 2 - Create your ./css/spread_menus_theme.css in your theme folder |
---|
14 | for example like this: |
---|
15 | |
---|
16 | #thePicturePage #imageToolBar, |
---|
17 | #thePicturePage #theImage, |
---|
18 | #thePicturePage hr.separation { |
---|
19 | clear:none; |
---|
20 | } |
---|
21 | |
---|
22 | #thePicturePage #imageHeaderBar { |
---|
23 | width:auto; |
---|
24 | } |
---|
25 | |
---|
26 | #thePicturePage #linkPrev { |
---|
27 | margin-left:10px; /* 10px usually */ |
---|
28 | } |
---|
29 | |
---|
30 | #thePicturePage div#comments, |
---|
31 | #thePicturePage #imageHeaderBar, |
---|
32 | #thePicturePage #imageToolBar, |
---|
33 | #thePicturePage .infos, |
---|
34 | body div.content { |
---|
35 | margin-left: 20em !important; /* 20em usually */ |
---|
36 | } |
---|
37 | |
---|
38 | /* About margin-left, here some key values for some currently well known themes: |
---|
39 | 'Sylvia' => '290px', 'aqua' => '20em', 'blancmontxl' => 'auto', 'clear' => '20em', |
---|
40 | 'dark' => '20em', 'GBO_hk-3' => '0', 'GBO_hk-3_clear' => '0', 'grum-dark-II' => '20em', |
---|
41 | 'kardon' => '260px', 'p0w0' => '20em', 'Pure_clear_blue' => '20em', |
---|
42 | 'Pure_green_nature' => '20em', 'Pure_tr_clear_blue' => '20em', |
---|
43 | 'sobre' => '0', 'VerticalWhite' => '20em', 'wipi' => '20em', |
---|
44 | */ |
---|