How can I make sale and normal prices bold on my website?

Hi,

How can I bold the price-sale and price? Not compare at price.

(only the green prices)

Would appreciate any help,

Website: Buy Premium Calming Dog Beds - Pawco UK (price sale)

pawcopets.co.uk/375bags (price normal)

Thanks!!

@thomasmrgn99

yes, please try this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/pre_theme.min.css ->paste below code at the bottom of the file.
.price, .price_range {font-weight: bold;}

Hi @KetanKumar unfortunately it does everything including the Compare price

Maybe there is a way to define compare at price as well?

Really appreciate your help

https://pawcopets.co.uk/products/calming-dog-bed

@thomasmrgn99

yes, please add last one add this

.price_range ins {
    font-weight: bold;
}

@KetanKumar Thanks :slightly_smiling_face:

The font weights work on pages with sale price, but not on page with only 1 price, but this is less important

https://pawcopets.co.uk/products/dog-poo-bags-375

@thomasmrgn99

its difficult bcz i can don’t identify special element so can you please send product code

Hi @KetanKumar

This is code from Product.liquid

Please let me know if you need something else

{%- comment -%}
  The contents of the product.liquid template can be found in /sections/pr_summary.liquid
{%- endcomment -%}

{%- liquid
  assign img_zoom_size = 'master'
  assign img_size = product.images.size
  assign eq_imgtb = settings.ratio_img_main
  assign sett_pr = settings.design_products
  assign des_pr_layout = settings.des_pr_layout
  assign image = product.images[0] | default:settings.placeholder_img

  case sett_pr
    when '2'
     assign singles_sp = 'sp-single-2'
     assign cl_tb = '2'
    when '3'
     assign singles_sp = 'sp-single-3'
     assign cl_tb = '3'
    when '7'
     assign singles_sp = 'sp-single-7'
     assign cl_tb = '7'
    when '4'
     assign singles_sp = 'sp-single-4'
     assign cl_tb = 'bottom'
    when '5'
     assign singles_sp = 'sp-single-5'
     assign cl_tb = 'right'
    when '6'
     assign singles_sp = 'sp-single-6'
     assign cl_tb = 'none'
    else
     assign singles_sp = 'sp-single-1'
     assign cl_tb = 'left'
  endcase

  case settings.size_img_pr
    when '1'
     assign class_images = 'col-md-4'
     assign class_summary = 'col-md-8'
    when '2'
     assign class_images = 'col-md-6'
     assign class_summary = 'col-md-6'
    when '3'
     assign class_images = 'col-md-7'
     assign class_summary = 'col-md-5'
  endcase 
  assign zoom_tp = settings.zoom_tp
  assign pr_media = product.media
  assign class_main = '12'
  assign no_sidebar = true
  assign pr_sidebar = settings.pr_sidebar
  case pr_sidebar
    when 'right'
      assign no_sidebar = false
      case settings.pr_size_sidebar
        when '1'
          assign class_main = '10 order-1'
          assign class_sidebar = '2 order-12'
        when '2'
          assign class_main = '9 order-1'
          assign class_sidebar = '3 order-12'
         when '3'
          assign class_main = '8 order-1'
           assign class_sidebar = '4 order-12'
      endcase
    when 'left'
      assign no_sidebar = false
      case settings.pr_size_sidebar
        when '1'
          assign class_main = '10 order-lg-12 order-1'
          assign class_sidebar = '2 order-lg-1 order-12'
        when '2'
          assign class_main = '9 order-lg-12 order-1'
          assign class_sidebar = '3 order-lg-1 order-12'
        when '3'
          assign class_main = '8 order-lg-12 order-1'
          assign class_sidebar = '4 order-lg-1 order-12'
       endcase
   endcase
  assign currently_var = product.selected_or_first_available_variant
  assign cur_var_id = currently_var.id
  assign pid = product.id
  assign hd_up = 'fbt-' |append:pid
  assign fbt_tag = product.tags| where:'fbtt4_' | first | default:hd_up | remove:'fbtt4_'
  assign nav_up = linklists[fbt_tag].links | where:'type','product_link'
  assign nav_up_size = nav_up.size 
  if product.available == false or settings.fbt_pos == '2'
    assign nav_up_size = 0
  endif
  assign ck_next_pr = false
  if settings.back_next_pr and collection != blank
  assign ck_next_pr = true
  endif -%}

  {%- if ck_next_pr or settings.breadcrumb_pr -%}
  

   

    

      
{% if settings.breadcrumb_pr %}{% endif %}

      {%- if ck_next_pr -%}
      
        {%- assign next_pr = collection.next_product -%}
        {%- assign prev_pr = collection.previous_product -%}
        
        {%- if prev_pr -%}{{prev_pr.title}}{%- endif -%}
        {{'products.product.back_to' | t:title:collection.title}}
        {%- if next_pr -%}{{next_pr.title}}{%- endif -%}
      

      {%- endif -%} 
    

   

  

  {%- endif -%}

  {%- if settings.pr_sidebar_full and pr_sidebar != 'none' -%}

  
    

      {%- unless no_sidebar %}
{% section 'pr-sidebar' %}
{% endunless -%}
      
        

            

               

                  
 
                     

                        

                           {%- if image != blank and pr_media.size < 2 -%}{%- assign ratio = image.aspect_ratio -%}{%- assign iw = image.width -%}
                              

                                 

                                    

                                       
                                    

                                 

                                 {%- render 'product_labels',on:'singe' -%}
                                 {%- render 'p_group_btns' -%}
                              

                           {%- elsif pr_media.size > 0 -%}
                              {%- render 'page_pr_img',call_cl:'_ppr',pr_media:pr_media,sett_pr:sett_pr,eq_imgtb:eq_imgtb,e_imgnv:settings.ratio_img_thumb -%}
                           {%- endif -%}
                           {%- if zoom_tp == '2' %}
{% endif -%}
                        

                     

                     
{%- section 'pr_summary' -%}{% if des_pr_layout == '2' %}{%- section 'pr_description' -%}{% if settings.social_pr %}
{% if settings.share_source == '1' %}{%- render 'social-sharing' -%}{% else %}

{% endif %}
{% endif %}{% endif %}

                  

               

            

        

        {%- if nav_up_size > 0 %}{%- render 'fbt_snipet',nav_up:nav_up,currently_var:currently_var,cur_var_id:cur_var_id,pid:pid -%}
{% endif -%}
        {%- if des_pr_layout == '1' %}
{%- section 'pr_description' -%}

{% endif -%}
        
        {%- section 'product-recommendations' -%}
        {%- section 'recently_viewed' -%}
      

    

  

  {%- else -%}

  
      

         {%- unless no_sidebar %}
{% section 'pr-sidebar' %}
{% endunless -%}
         
            

               

                  

                     {%- if image != blank and pr_media.size < 2 -%}{%- assign ratio = image.aspect_ratio -%}{%- assign iw = image.width -%}
                        

                           

                              

                                 
                              

                           

                           {%- render 'product_labels',on:'singe' -%}
                           {%- render 'p_group_btns' -%}
                        

                     {%- elsif pr_media.size > 0 -%}
                        {%- render 'page_pr_img',call_cl:'_ppr',pr_media:pr_media,sett_pr:sett_pr,eq_imgtb:eq_imgtb,e_imgnv:settings.ratio_img_thumb -%}
                     {%- endif -%}
                     {%- if zoom_tp == '2' %}
{% endif -%}
                  

               

               
{%- section 'pr_summary' -%}{% if des_pr_layout == '2' %}{%- section 'pr_description' -%}{% if settings.social_pr %}
{% if settings.share_source == '1' %}{%- render 'social-sharing' -%}{% else %}

{% endif %}
{% endif %}{% endif %}

            

         

      

  

  {%- if nav_up_size > 0 %}{%- render 'fbt_snipet',nav_up:nav_up,currently_var:currently_var,cur_var_id:cur_var_id,pid:pid -%}
{% endif -%}
  {%- if des_pr_layout == '1' %}
{%- section 'pr_description' -%}

{% endif -%}
  

  {%- section 'product-recommendations' -%}
  {%- section 'recently_viewed' -%}

  {%- endif -%}

@thomasmrgn99

thanks but i can’t see price code

Hi @KetanKumar , where can I find the code you need

Thx