<< Servage Net Trace | Journals | Christmas 2007 Videos >>
WPG2 Output
In order for the embedded Menalto Gallery2 to look good inside WordPress using dkRet3 Theme, adjust the width to 850px by editting the CSS Styke Elements Header as follows:
.g2_column {width: 850px;margin: 0px 1px 0px 12px;}
WPG2 Sidebar Block
To centre the image in the sidebar, update the wpg2.css as follows:
.wpg2sidebarblock-image {
display:inline;
}
to
.wpg2sidebarblock-image {
display:block;
margin-left: auto;
margin-right: auto;
text-align: center; !IMPORTANT
}
dKret3 Theme
Change the color of the Blog Description to match your Header Image by changing the following in the style.css
#blog-description {
font-size: 1.1em;
padding: 0 80px 0;
}
to
#blog-description {
font-size: 1.1em;
padding: 0 80px 0;
color: #3A7930;
}
For six RANDOM Images to perfectly fit in the sidebar of a dKret3 theme, adjust the sidebar width to 270 px and the h2 font to 90%. This will make the content look odd as there are too much space between the content and the sidebar - so adjust the margin to 290 px as shown.
div.sidebar {
float: right;
overflow: hidden;
padding: 0 15px;
width: 270px; <--- Adjusted
}
...
/* sidebar & footer */
.sidebar h2, .bottombar-column h3, .sidebar h3, .widget_title, #wp-calendar caption {
border-bottom: 1px dotted #444;
color: #3a7930;
font-size: 90%; <--- Adjusted
margin: 15px 0 5px;
}
...
div#content {
margin: 25px 290px 0 0; <-- (from 320px to 290px)
overflow: hidden;
padding: 0 20px;
}
Background Music
Download and activate the XSPF-Plugin and add background music to your blog. Update the sidebar.php by adding the following lines after the
<?php if (exist_widget_column('all')) { ?>
Insert
<div id="primary" class="sidebar"><ul class="xoxo"> <li id="wpg2-sbar-block" class="widget wpg2_widget_sidebarblock_display"><h3 class="widgettitle"><?php _e('Play Background Music'); ?></h3>
<?php xspf_player::start('Category Name'); ?>Press the PLAY Button to listen.</li></ul></div>
Replace the Category Name to your liking based on what you have set in the XSPF Setup page in the WordPress Admin.