Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 7th, 2015, 07:18 PM
yankeestonk yankeestonk is offline
 
Join Date: Jun 2013
Posts: 605
Default make price bold on product detail page

http://saveongolf.net

Hey,


I'd like to make the price bold and possible a little larger if that is possible. Here is the code for my product detail page if it is indeed something that is changed here.

<!-- Detail Heading -->
<h2>Product Details:</h2>
<!-- /Detail Heading -->

<!-- Single Product -->
<div class="sp">
<div class="bdr">
<div class="lc">
<div class="thmb">
<a href="[product.url direct='0']" title="[product.name]" target="_blank" rel="nofollow">
[product.image tag='1']
</a>
</div>
</div>
</div>
<div class="rc">
<h2><a href="[product.url direct='0']" title="[product.name]" target="_blank" rel="nofollow">[product.name]</a></h2>

<?php if ($product->saleprice > 0 && $product->saleprice < $product->price) { ?>
<div class="prc">
<small>
<span style="text-decoration: line-through;">[product.currency mode='sign'][product.price]</span>
<span style="font-weight: bold; color:red;">[product.currency mode='sign'][product.saleprice]</span>
</small>
</div>
<?php } else { ?>
<div class="prc">
<small>
[product.currency mode='sign'][product.price]
</small>
</div>
<?php } ?>
<p class="desc"> [product.description]</p>
<div class="logo">[product.merchant_logo]</div>
<div>
[product.each_tag]<?php if($nn>1){echo ', ';}?><a href="[tag.link]"><?php echo str_replace("-"," ",$tag->name);?></a>[/product.each_tag]
</div>

<?php if ($product->saleprice > 0 && $product->saleprice < $product->price) { ?>

<?php } else { ?>


<?php } ?>

<div class="btns btn-detail">
<a href="[product.url]" class="dfbutton dforange dflarge" title="See more details at retailer" target="_blank" rel="nofollow">View Deal</a>
</div>
<div class="btns btn-wishlist">
<a href="#" data-id="[product.id]" data-modal="modal_login" class="md-trigger dfbutton dforange dflarge" title="Add this product to wishlist">Add to wishlist</a>
</div>
</div>
<div class="clearingdiv"> </div>
</div>
<!-- /Single Product -->
  #2  
Old January 8th, 2015, 08:43 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

You could try adding the following code to your Custom CSS:

Code:
.sp .prc small {
font-weight: bold;
font-size: 20px !important;
}
Eric
  #3  
Old January 8th, 2015, 12:28 PM
yankeestonk yankeestonk is offline
 
Join Date: Jun 2013
Posts: 605
Default

you mean in the wordpress theme right? Not in the above code?
  #4  
Old January 8th, 2015, 12:51 PM
stefan stefan is offline
 
Join Date: Feb 2008
Posts: 5,901
Default

In the Factory under Store > Custom CSS.
  #5  
Old January 8th, 2015, 01:43 PM
yankeestonk yankeestonk is offline
 
Join Date: Jun 2013
Posts: 605
Default

hi stefan,

This is the code now in custom CSS. I added the code to the bottom and high-lighted it. Is that where I put it? Just like that?

/**
* Fix conflict with TwentyTen WP theme
*/
#view .sp h2 {clear:none;}
#view .pl h2 {clear:none;}
#view .col1 .pl h2,
#view .col1 .pl h2 a {font-size:22px}

#view .pl .logo
{
margin: 10px auto;
height: 50px;
text-align: center;
}

#view .pl .col5 .thmb
{
width: 100px;
height: 110px;
}

#view .pl .col5 .thmb img
{
max-width: 100px;
max-height: 100px;
width: expression(this.height < this.width && this.width > 100 ? '100px' :true);
height: expression(this.height > this.width && this.height > 100 ? '100px' :true);
}

/* emb Start styling of Simple Search Widget */

#wdgt_ss input[type="submit"] {background: -moz-linear-gradient(center top , #FAA51A, #F47A20) repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
border: 1px solid #DA7C0C !important;
color: #FEF4E9 !important;}

#wdgt_ss input[type="checkbox"] {vertical-align: top !important;margin: 0.5em 4px 0 10px !important;}

#wdgt_ss label {display:inline !important;line-height:2em !important}

/* emb End styling of Simple Search Widget */

#wdgt_cl > ul > li > a { font-weight: bold; }
#wdgt_cl .active ul { font-weight: normal; }
#wdgt_cl .active { font-weight: bold; }

.sp .prc small {
font-weight: bold;
font-size: 20px !important;
}
  #6  
Old January 8th, 2015, 02:24 PM
stefan stefan is offline
 
Join Date: Feb 2008
Posts: 5,901
Default

Yes. You still need to click the "Update Settings" button in the plugin.
  #7  
Old January 9th, 2015, 08:49 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Here are the full instructions for adding Custom CSS: http://www.datafeedr.com/videos/?vid...rc=yt#videotop
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB 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
Bold title not showing bold tilldechent Questions 2 July 1st, 2014 09:25 AM
Remove price on product page if price comparison available tilldechent Questions 2 June 30th, 2014 12:14 PM
MAKE PRICE BOLD allant Questions 1 October 31st, 2013 08:49 AM
How to make price text bold and bigger? gundarz Questions 7 June 20th, 2012 02:33 PM
how do i make the category and product detail pages use a particular page template grooves1200 Questions 2 February 27th, 2011 10:12 AM


All times are GMT -5. The time now is 12:49 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.