Make Price Bigger And Bolder

Home Forums WC Vendors Free Support Make Price Bigger And Bolder

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #461
    2001web
    Participant

    Trying to make the price on single product page bigger and bolder. Tried several css changes and classes i found by inspecting element still no joy.

    Any chance of some code to achieve this?

    #462
    ben
    Keymaster

    Copy:

    /wp-content/plugins/woocommerce/templates/single-product/price.php

    Into:

    /wp-content/themes/YOURTHEME/woocommerce/single-product/price.php

    ….and edit the price.php and that’ll do it!

    That’ll be five bucks for the help. 😉

    #463
    2001web
    Participant

    Install the support credit system and I will pay it 😛

    #464
    2001web
    Participant

    Yeah nothing to help me there i think I need to edit style sheet. I have tried adding .price to the style sheet with new values and clearing cache but no change.

    Woo commerce sucks for basic customizations I will carry on researching.

    #467
    ben
    Keymaster

    Look into the !important for css.

    Although quite frankly the easiest way would be to edit the template and change it from:

    get_price_html(); ?>

    to

    get_price_html(); ?>

    …or something like that.

    #473
    2001web
    Participant

    Ok now this DOES NOT make sense

    I did as you suggested and edited template to

    <h2><font color=”green”><?php echo $product->get_price_html(); ?></font></h2>

    I cleared the cache and the CDN cache and there are no changes.

    • This reply was modified 6 years, 3 months ago by 2001web.
    • This reply was modified 6 years, 3 months ago by 2001web.
    #476
    ben
    Keymaster

    https://gist.github.com/bentasm1/d020a01d8d4c029c89d0

    That’s your replacement price.php file. Make sure it is in /wp-content/themes/YOURTHEME/woocommerce/single-product/price.php — If it is not, it will not work.

    I tested it on our test server, and it works like a champion.

    Ben

    #477
    2001web
    Participant
    #478
    ben
    Keymaster

    Well, I tested it with my site and it works great. 🙂 Since it isnt WC Vendors related (not even close) I’m afraid I just dont have any other suggestions for you. 🙁 As always — Some other plugin or theme is conflicting. 🙂

    #479
    Jamie
    Keymaster

    You need to have the full selector for this to work.


    .dessky-display-pd-col-3.products span.amount, .padcontent.product-detail span.amount {
    color:#333333;
    font-size: 80px;
    font-weight: 200;
    }

    See this screen shot.

    https://www.evernote.com/shard/s39/sh/59889af7-75bf-476a-9d8f-4c251a176428/03d5f4fe97d1c444e7ad09c096d0d46b

    • This reply was modified 6 years, 3 months ago by Jamie.
    #483
    2001web
    Participant

    Is this for the style sheet or template Jamie?

    #484
    ben
    Keymaster

    It would be the style sheet. Look at the screenshot, look at what the right box there shows you…….

    #485
    2001web
    Participant

    I saw the screen shot and added code to style sheet but no change. Looks like I will have to live with it as it is.

    #491
    Jamie
    Keymaster

    Which style sheet did you add it to? The style sheet has not been changed.

    http://cdn.discountkids.co.uk/wp-content/themes/wooshop/assets/custom.css

    That is the style sheet you need to change.

    I also see you are using a CDN. I would purge all your style sheets from your CDN otherwise these changes will not be reflected.

    #494
    ben
    Keymaster

    And honestly I would even question using a CDN at all, your site isnt anywhere near the amount of traffic to make a CDN beneficial. Once you start getting 50,000 pageviews a day to the site then it’d be a good idea to get into a CDN.

    #496
    2001web
    Participant

    I had purged cdn must have been some delay in them pulling the new style sheet. I see the changes now thanks guys.

    Cdn is in place early because once the army of mums that are waiting to post populate the site with product we will be doing some serious advertising.

    Do not want to risk losing people at start up with slow page delivery.

    #497
    ben
    Keymaster

    As a suggestion, WordPress has a plugin called “JetPack” which includes a module called “Photon”. Photon is a free images CDN. $0 per month. It doesnt cache css/js like your CDN does, but that’s what W3 Total Cache is for or any other regular caching plugin.

    #498
    2001web
    Participant

    You think Jetpack will deliver a faster site than Max cdn and total cache?

    #499
    ben
    Keymaster

    JetPack Photon AND Total Cache together will be pretty much identical to Max CDN and Total Cache.

Viewing 19 posts - 1 through 19 (of 19 total)
  • The forum ‘WC Vendors Free Support’ is closed to new topics and replies.

Pro Bundle Special Offer 35% OFF

Get all the plugins essential for your marketplace website in one place and save. Over $600 value for just $397!

This website uses cookies to ensure you get the best experience on our website.