Forums / Templates, Stylesheets, Page Layout / <span class="OurPrice">Our Price</span>

<span class="OurPrice">Our Price</span>

Started by soniccc on 16 Mar 2011, 11:35 PM · Views: 803

Results 1 to 5 of 5
16 Mar 2011, 11:35 PM
#1
soniccc avatar

soniccc

Zen Follower

Join Date:
May 2010
Location:
Cyberspace
Posts:
387
Plugin Contributions:
0

<span class="OurPrice">Our Price</span>

Hello!

I've just added this code <span class="OurPrice">Our Price</span> to tpl_product_info_display.php right above the <h2 id="productprice"> tag...

However, I cannot style the .OurPrice class in my stylesheet (on products info page, that is I can't move it around). It's a little frustrating (or I should say very frustrating..).. did I code it the wrong way?

http://www.test.soundfactory.nu/index.php?main_page=product_info&cPath=&products_id=1997

17 Mar 2011, 12:24 AM
#2
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: <span class="OurPrice">Our Price</span>

try applying your rules to the product_info.css file

17 Mar 2011, 9:13 AM
#3
soniccc avatar

soniccc

Zen Follower

Join Date:
May 2010
Location:
Cyberspace
Posts:
387
Plugin Contributions:
0

Re: <span class="OurPrice">Our Price</span>

So I tried but nothing's happening... so it's a little strange..

17 Mar 2011, 9:31 AM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: <span class="OurPrice">Our Price</span>

CSS is case-sensitive. You specified the class name as OurPrice, but you're trying to style .ourprice.

17 Mar 2011, 9:41 AM
#5
soniccc avatar

soniccc

Zen Follower

Join Date:
May 2010
Location:
Cyberspace
Posts:
387
Plugin Contributions:
0

Re: <span class="OurPrice">Our Price</span>

Welcome to the land of idiots... (thanks it's working great! :) )