Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Where to put CSS for a new widget


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Nov 1, 2011, 04:12 PM
apienovi
 
25 posts · Sep 2011
Hi all,

I think this will be a very easy question. I have a new widget area located after %logo and before the cimy slider <div>:

%logo <?php bfa_widget_area('name=my_header_area'); ?> <div id="cimy_div_id_0">Loading images...</div>
<div class="cimy_div_id_0_caption"></div>
<style type="text/css">
#cimy_div_id_0 {
float: left;
margin: 0px 0px 0px 0px;
border: 0px solid #000000;
width: 970px;
height: 300px;
}
div.cimy_div_id_0_caption {
position: absolute;
margin-top: 175px;
margin-left: -75px;
width: 150px;
text-align: center;
left: 50%;
padding: 5px 10px;
background: black;
color: white;
font-family: sans-serif;
border-radius: 10px;
display: none;
z-index: 2;
}
</style>
<noscript>

<div id="cimy_div_id_0_nojs">
<img id="cimy_img_id" src="http://www.kneedeepflyfishing.com/wp-content/Cimy_Header_Images/0/DSC_0018header.jpg" alt="" />
</div>
</noscript>

My question is, where do I put my CSS to move the addthis widget in the new header widget area to the right?
  #2  
Old Nov 1, 2011, 05:43 PM
juggledad's Avatar
juggledad
 
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
Put it in the CSS Inserts option - and don't use the <style...>

All times are GMT -6. The time now is 05:11 PM.


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