Jonathan Chen
asked 10 years ago

im using 1.1.1 minion i believe. i love this clean slick template but im having a few issues as i begin to add on things. you may see my site at exercisingcap.com
1. accordion works full screen but it stretches all out when half screened.
2. the menu sliding out from left black bar looks weird and doesn’t seem to display correctly (half screened)
3. i added a logo 120×120 but it doesn’t show up. (it doesn’t display on #2 as well )
4. this isn’t the place to ask but i also installed the dwpromo bar but doesn’t show up either
5. is there a way to have a header across the top? i noticed it wasn’t an option.
6. my youtube video turns black when half screened, can that be fixed easily?
7. is there a way to minimize white space between the ‘continue reading’ button and the division line for next post?
i hope to get this fixed! want to start off the new year fresh and ready 🙂 thanks in advance!

2 Answers
Kido D
answered 10 years ago

Hi Jonathan,
 
1, 2. I have checked your site, the problem was that you made some custom css code that affected to the theme. You can go to Dashboard / Appearance / Customize / Custom Code, and add this code to Header Code section:

 <style>
.site-title.display-logo img {max-width: 100%;}
@media (max-width: 1199px) {.site-nav {width: 240px;margin: 0 auto;}}
@media (max-width: 1199px) and (min-width: 768px) {.site-nav {left: 40px;}.site-actions {height: 100%;}body {background-color: #fff;}}
@media (max-width: 768px) {.site-nav {border-right: 0;}}
</style>

3. To change the logo image, you can go to Dashboard / Appearance / Customize / Site Title & Tagline, and upload the new logo.

4. In the latest version of DW Promobar plugin, you have an option to enable the plugin in General Settings, make sure you checked “Yes” in that option.
 
5. Please following the steps here:

Step 1: Open up the header.php file in dw-minion theme folder, and add this code below to bottom of the file:

 <?php
if ( is_active_sidebar( 'top-sidebar' ) ) {
do_action( 'dw_minion_top_sidebar' );
}
?>

Step 2: Open up the functions.php file in dw-minion theme folder, and add this code below to bottom of the file:

 // Dw Minion top sidebar
add_action( 'widgets_init', 'dw_minion_register_sidebar', 20 );
function dw_minion_register_sidebar() {
register_sidebar( array(
'name' => __( 'Top Sidebar', 'designwall' ),
'id' => 'top-sidebar',
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
) );
}
add_action( 'dw_minion_top_sidebar', 'dw_minion_top_sidebar' );
function dw_minion_top_sidebar() {
?>
<div class="dw-minion-top-sidebar">
<?php dynamic_sidebar( 'top-sidebar' ); ?>
</div>
<?php
}

Step 3: Go to Dashboard / Appearance / Customize / Custom Code, and add this code below to Header Code section:

 <style>
.dw-minion-top-sidebar {margin-bottom: 30px;}
</style>

Step 4: After you did the steps above, you can go to Appearance / Widgets, and add the widgets to Top Sidebar position.
 
6. I did not see the issue on your site, so please can you give me a screenshot, and the link to the post?
 
7. You can go to Dashboard / Appearance / Customize / Custom Code, and add this code to Header Code section:

 <style>
.content-list .hentry {
margin-bottom: 30px;
}
</style>

Hope that helps!

Jonathan Chen
replied 10 years ago

Hi, all of these helped! I actually tried the header but it doesn’t stretch all the way across the page the left bar still floats to the top but the main content column and right column are below the header, how to modify this? Thanks so much!

Kido D
answered 10 years ago

Hi Jonathan,  
To have the header stretch across the page, in #5, step 1, please add the code below:  

<?php
if ( is_active_sidebar( 'top-sidebar' ) ) {
do_action( 'dw_minion_top_sidebar' );
}
?>

.. right after this code (around line 19):  

<div id="page" class="hfeed site">

  At step 3, change the CSS code to this:  

<style>
.dw-minion-top-sidebar {
position: relative;
z-index: 1;
}
</style>

  Hope that helps!  

Powered by DW Question & Answer Pro