StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-28-2010, 01:59 PM
Maz Maz is offline
Registered User
Pro Plus Member
 
Join Date: Jan 2010
Location: UK
Posts: 93
Default Adding Custom image to eNews box

http://arashmazinani

I have a custom image that I would like to use on the enews box, then have the submit button and section where you enter your email on my image.

I've looked in the style sheet but can't find what I would need to edit on there, I've also had a look in the sidebar.php and also don't know where I can add my image in there.

Does anyone have any idea as to what area of the style sheet/sidebar.php I would need to edit?

my sidebar.php is below

PHP Code:
<div id="sidebar">
        
    <ul id="sidebarwidgeted">
    
    <?php if(get_theme_mod('enews') == 'Yes') { ?>
                
        <li id="enews" class="widget">
            <div class="enews">
                <h4><?php _e("eNews &amp; Updates"'studiopress'); ?></h4> 
                <form id="subscribe" action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=<?php echo get_theme_mod('enews_id'); ?>', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">
                    <p>
                        <?php _e("Sign up to receive breaking news"'studiopress'); ?><br />
                        <?php _e("as well as receive other site updates"'studiopress'); ?>!
                    </p>
                    <input type="text" value="<?php _e("Enter your email address..."'studiopress'); ?>" id="subbox" onfocus="if (this.value == '<?php _e("Enter your email address..."'studiopress'); ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e("Enter your email address..."'studiopress'); ?>';}" name="email"/>
                    <input type="hidden" value="<?php echo get_theme_mod('enews_id'); ?>" name="uri"/>
                    <input type="hidden" name="loc" value="en_US"/>
                    <input type="submit" value="<?php _e("GO"'studiopress'); ?>" id="subbutton" />
                </form>    
                   
            </div>
        </li>

    <?php } else { ?>
    <?php ?> 
        
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar Top') ) : ?>
    
        <li id="recent-posts" class="widget">
            <h4><?php _e("Recent Posts"'studiopress'); ?></h4>
                <ul>
                    <?php wp_get_archives('type=postbypost&limit=5'); ?> 
                </ul>
        </li>
        
    <?php endif; ?>
    
    </ul>
    
    <?php include(TEMPLATEPATH."/sidebar_left.php");?>
    
    <?php include(TEMPLATEPATH."/sidebar_right.php");?>
    
</div>
Thank you in advance.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Enews widget image alignment problem dorothybee General Discussion 3 02-21-2010 02:27 PM
Adding Image And eNews Updates pickemwise General Discussion 3 12-06-2009 08:07 PM
Adding Widget above enews and updates? brightfire General Discussion 3 12-05-2009 12:13 PM


All times are GMT -5. The time now is 04:06 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.