Permalink
Browse files

fixed css for main image

  • Loading branch information...
1 parent 8a9633b commit a34b6529c13fe6dffcc27ed223d4598612195f9f @zakirsajib committed Jun 2, 2012
Showing with 38 additions and 14 deletions.
  1. +2 −2 functions.php
  2. +3 −3 header.php
  3. +4 −4 meta-box/functions.php
  4. +1 −2 single.php
  5. +1 −1 store/functions.php
  6. +6 −2 style.css
  7. +21 −0 theme-options.php
View
@@ -199,8 +199,8 @@ function upcoming_ticker(){
</div>
<div class="find-gifts">
<ul>
- <li><h5 class="find-gifts-h5"><a href="#">FIND GIFTS</a></h5></li>
- <li><a href="#"><img src="<?php bloginfo('template_url');?>/images/upcoming-occassions-arrow.png"></a></li>
+ <li><h5 class="find-gifts-h5"><a href="<?php echo get_option('find_gifts_link'); ?>">FIND GIFTS</a></h5></li>
+ <li><a href="<?php echo get_option('find_gifts_link'); ?>"><img src="<?php bloginfo('template_url');?>/images/upcoming-occassions-arrow.png"></a></li>
</ul>
</div>
View
@@ -126,16 +126,16 @@
<div class="social-icons">
<ul class="s-icons">
- Subscribe:
+ <li class="c1">Subscribe:</li>
<li class="one"><a href="<?php echo get_option('rss_link'); ?>" target="_blank"><img src="<?php bloginfo('template_url');?>/images/social-rss.gif"></a></li>
<li class="one"><a href="<?php echo get_option('twt_link'); ?>" target="_blank"><img src="<?php bloginfo('template_url');?>/images/social-twitter.gif"></a></li>
<li class="one"><a href="<?php echo get_option('gplus_link'); ?>" target="_blank"><img src="<?php bloginfo('template_url');?>/images/social-google-plus.gif"></a></li>
</ul>
<div class="fblike">
<!-- AddThis Button BEGIN -->
-<div class="addthis_toolbox addthis_default_style ">
-<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
+<div class="addthis_toolbox addthis_default_style">
+<a class="addthis_button_facebook_like"></a>
</div>
<!-- AddThis Button END -->
</div>
View
@@ -31,22 +31,22 @@ function prod_details_meta($object, $box){
<div id="prod_details">
<p>
<label class="lbl_1" for ="upcoming_details_meta"><strong>Short descriptions</strong></label>
- <input name="prod_desc" id="up-date" value= "<?php echo $prod_desc ?>" size="30" type="textfield">
+ <input name="prod_desc" id="up-date" value= "<?php echo $prod_desc ?>" size="30" maxlength="37" type="textfield">
<p class="description">Enter few words</p>
</p>
<p>
<label class="lbl_1" for ="upcoming_details_meta"><strong>Price</strong></label>
- <input name="prod_price" id="up-date" value= "<?php echo $prod_price ?>" size="10" type="textfield">
+ <input name="prod_price" id="up-date" value= "<?php echo $prod_price ?>" size="5" maxlength="5" type="textfield">
<p class="description">Enter price (No need to add currency symbol here)</p>
</p>
<p>
<label class="lbl_1" for ="upcoming_details_meta"><strong>Top Picks</strong></label>
- <input name="prod_picks" id="up-date" value= "<?php echo $prod_picks ?>" size="5" type="textfield">
+ <input name="prod_picks" id="up-date" value= "<?php echo $prod_picks ?>" size="1" maxlength="1" type="textfield">
<p class="description">Enter Y or N </p>
</p>
<p>
<label class="lbl_1" for ="upcoming_details_meta"><strong>Popularity</strong></label>
- <input name="prod_popularity" id="up-date" value= "<?php echo $prod_popularity ?>" size="5" type="textfield">
+ <input name="prod_popularity" id="up-date" value= "<?php echo $prod_popularity ?>" size="1" maxlength="2" type="textfield">
<p class="description">Enter Popularity (between 1 and 10 (where 1 is less popular , 10 is hot))</p>
</p>
View
@@ -87,7 +87,7 @@
<a href="<?php echo $my_site?>" onclick="parent.location.href='<?php echo get_metadata('store', $term_id, 'store_url', true); ?>';
-return event.returnValue=false"><img src="<?php echo get_metadata('store', $term_id, 'category_photo', true); ?>" alt=""/></a>
+return event.returnValue=false"><img src="<?php echo get_metadata('store', $term_id, 'category_photo', true); ?>" alt="" width="120" height="60"/></a>
</div>
<div class="promo-col">
<p class="promo-item">Promotion Code:</p>
@@ -113,7 +113,6 @@
'meta_value' =>'Y',
'term_id' => $cat_term_id,
'orderby' => rand
-
);
query_posts($args);
View
@@ -148,7 +148,7 @@ function edit_store($tag, $taxonomy){
<tr class="form-field">
<th scope="row" valign="top"><label for="store_photo"><strong>Store Logo</strong></label></th>
<td>
- <img src="<?php echo $category_photo; ?>" /><br/><br/>
+ <img src="<?php echo $category_photo; ?>" width="120" height="60"/><br/><br/>
<input type="text" size="40" name="category_photo" id="category_photo" value="<?php echo $category_photo; ?>" />
<input id="upload_image_button" type="button" value="Upload Image" />
<p class="description">Image Size: maximum width 120 pixels</p>
View
@@ -299,11 +299,11 @@ background-image: -webkit-gradient(
/*Home page*/
-#main-content{clear: both; position: relative; top:65px;}
+#main-content{clear: both; /* position: relative; top:65px; */ padding: 65px 0 0;}
#slider{float: left; width:680px;}
#gift-finder{float: right; }
#gift-finder{background: url(images/ribbon-bg.png) no-repeat 0 0; width: 233px; height: 302px; margin: -23px 0;}
-.gift-finder-form {position: absolute; top: 125px; margin-left: 40px;}
+.gift-finder-form {position: absolute; /* top: 125px; margin-left: 40px; */ margin: 148px 40px 0;}
/*Perfect dropdown list with custom background image For all browsers
@@ -497,6 +497,10 @@ h5.find-gifts-h5, .find-gifts a{text-transform: uppercase; color: #CC3399; font-
.cat-descr p{margin: 0;color: #393838; font-size: 13.5px; line-height: 1.5em;}
.cat-img{float: left; width: 334px;}
+.cat-img img{width: 334px; height: 215px;}
+
+
+
.post-descr{float: left; width:415px;}
.post-descr div{padding: 0 5px 0 0;}
.post-descr p{margin: 0;color: #393838; font-size: 13.5px; line-height: 1.5em;}
View
@@ -22,6 +22,8 @@ function register_mysettings() {
register_setting( 'baw-settings-group', 'twt_link' );
register_setting( 'baw-settings-group', 'gplus_link' );
+ register_setting( 'baw-settings-group', 'find_gifts_link' );
+
register_setting( 'baw-settings-group', 'box_one_title' );
register_setting( 'baw-settings-group', 'box_one_photo' );
register_setting( 'baw-settings-group', 'box_one_link1' );
@@ -131,6 +133,25 @@ function baw_settings_page() {
</p>
+
+<div style="clear:both">&nbsp;</div>
+<h2 class="section-title">Find Gifts URL</h2>
+ <p>
+ <label for="rss">Find gifts Link</label>
+ <input type="text" name="find_gifts_link" class="choice_cat_title" value="<?php echo get_option('find_gifts_link'); ?>" />
+ </p>
+
+ <p class="submit">
+ <input type="submit" class="button-primary" value="Save Changes" />
+ </p>
+
+
+
+
+
+
+
+
<div style="clear:both">&nbsp;</div>
<h2 class="section-title">4 Box's in home page</h2><hr>

0 comments on commit a34b652

Please sign in to comment.