source: extensions/spread_menus/readme_for_theme_creators.txt @ 20461

Last change on this file since 20461 was 9758, checked in by Gotcha, 13 years ago

Correction for $confSpread menus
Thanks to Mistic100

File size: 1.4 KB
Line 
1How to adapt or create your theme to... Spread menus
2
31 - 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
132 - Create your ./css/spread_menus_theme.css in your theme folder
14for 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*/
Note: See TracBrowser for help on using the repository browser.