sourcecodedynamics
Forum Replies Created
-
Forum: Plugins
In reply to: [MaxButtons - Create buttons] Placing button over header imageI found this in header.php:
<div id=”st-banner0-wrapper” style=”background-color:<?php echo get_theme_mod( ‘banner_background’, ‘#446b9a’ ); ?>; border-color:<?php echo get_theme_mod( ‘banner_top_line’, ‘#525458’ ); ?>; padding:<?php echo get_theme_mod( ‘banner_fp_bg_padding’, ‘0px’ ); ?>;”>
<?php if ( ! dynamic_sidebar( ‘sidebar-0’ ) ) : ?>
<?php if ( get_theme_mod(‘demo_on’,’0′) ) : ?>
<img src=”<?php echo get_template_directory_uri() ; ?>/images/demo/showcase-banner.jpg” alt=”sample banner” />
<?php endif; ?>
<?php endif; // end sidebar widget area ?><?php $header_image = get_header_image();
if ( ! empty( $header_image ) ) : ?>
<div id=”st-header-image” >
<img src=”<?php header_image(); ?>” class=”header-image center” height=”<?php echo get_custom_header()->height; ?>” width=”<?php echo get_custom_header()->width; ?>” alt=”<?php bloginfo( ‘name’ ); ?>
” />
</div>I tried adding <?php do_shortcode(‘[maxbutton id=”2″]’); ?> in a few different places but I could not get the button to show up. Any particular spot I should insert it into?
Forum: Plugins
In reply to: [MaxButtons - Create buttons] Placing button over header imageI’m not sure where to find that? Am I editing a page? Am I editing a .css file? If so which one?
Forum: Plugins
In reply to: [MaxButtons - Create buttons] Placing button over header imageSorry for the delayed response. Okay so I changed the child theme to reflect:
/*
.header-image {
position: relative;
}
.maxbutton-2 {
position: absolute;
z-index: 10;
top: 20%px;
left: 20%px;
}
————————————————————– */I added the button to the home page. Something still isn’t right here. I appreciate your help, newbies like me really rely on it!