• Jen M

    (@jenm73)


    Musician and barely proficient HTMLer here who knows just enough css to do damage…

    Using Weaver Pro theme

    I have a Mailchimp signup form and some social networking buttons that I would like to appear aligned in one row. https://radiusensemble.org/

    I have tried putting them in a table but then the top of the signup form aligns with the bottom of the buttons. Tried changing the alignment tags for the buttons image both inline and in the custom css box in advanced options tab. Tried every table theme in the options tab. Afraid to mess with the style sheet.

    I tried putting the social networking buttons image inside the mailchimp div but then they appear below it. Tried making a second div tag for the buttons but it appears below not beside.

    All of this stuff is in the sitewide bottom widget area because I want it on all pages.

    Ideas? Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • paulwpxp

    (@paulwp)

    We gonna need 2 extra divs like this

    <div class="mymailchimp">
    	<!-- code here -->
    </div>
    <div class="mysocials">
    	<img>
    </div>

    and then in the CSS we do this

    .mymailchimp {width:30%;float:left;}
    .mysocials {width:70%;float:right;}

    but it’s a responsive theme so you have to put in media query making it collapse in certain breakpoint.

    Thread Starter Jen M

    (@jenm73)

    Thank you for a quick response!

    It’s not working yet, but I have a feeling it’s because the mailchimp code is bloated.

    <div class="mymailchimp"><!-- Begin MailChimp Signup Form -->
    <link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    	#mc_embed_signup{background:#e5eb25; clear:left; font:14px Helvetica,Arial,sans-serif;  width:280px;}
    	/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
    	   We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
    </style>
    <div id="mc_embed_signup">
    <form action="//radiusensemble.us2.list-manage.com/subscribe/post?u=07bfe816e2193637d2246f55f&id=050d4d7fd8" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
        <div id="mc_embed_signup_scroll">
    	<h4>Join the Radius email list:</h4>
    <div class="mc-field-group">
    		<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
    </div>
    	<div id="mce-responses" class="clear">
    		<div class="response" id="mce-error-response" style="display:none"></div>
    		<div class="response" id="mce-success-response" style="display:none"></div>
    	</div>    <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
        <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_07bfe816e2193637d2246f55f_050d4d7fd8" tabindex="-1" value=""></div>
        <div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
        </div>
    </form>
    </div><script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';}(jQuery));var $mcj = jQuery.noConflict(true);</script>
    <!--End mc_embed_signup--></div>
    
    <div class="mysocials">
    <img src="https://radiusensemble.org/wp-content/uploads/2011/07/socialbuttons.jpg" alt="socialbuttons" width="630" height="173" border="0" usemap="#Map" class="alignnone size-full wp-image-4885" />
      <map name="Map" id="Map">
        <area shape="rect" coords="16,5,207,169" href="https://www.facebook.com/radiusensemble" target="_new" />
        <area shape="rect" coords="229,6,416,166" href="https://twitter.com/radiusensemble" target="_new" />
        <area shape="rect" coords="441,7,623,166" href="https://www.instagram.com/radiusensemble/" target="_new" />
      </map>
    </div>
    Thread Starter Jen M

    (@jenm73)

    It works! Thank you! I need to fiddle with sizing and margins but I think this is it. Very grateful for your quick response.

    Warmly,

    Jen

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘div within table?’ is closed to new replies.