-
AuthorPosts
-
June 16, 2017 at 4:48 pm #808998
Hello Sirs,
How are you?
How can I control Regular and sale price separately thru css code? for example: Regular price in smaller font than Sale price as shown in screenshot: https://prnt.sc/fkjmuy
Thank You in advance,
Best Regards,
NickJune 17, 2017 at 11:01 am #809260Hey Nick,
Could you post a link to the site in question so that we can take a closer look please?
Best regards,
RikardJune 17, 2017 at 11:50 am #809278Hello Rikard,
Thank You for your quick support.
URL:
I tried the following elements thru CSS code, but it controls both Regular & Sale price and not separately.
#top .price, #top .price span, #top del, #top ins {
I am waiting your answer.
Thank You in advance,
Best Regards,
NickJune 18, 2017 at 6:45 am #809462Hi,
Please try the following in Quick CSS under Enfold->General Styling:
Price:
p.price del span.woocommerce-Price-amount { your CSS }
Sale price:
p.price ins span.woocommerce-Price-amount { your CSS }
Best regards,
RikardJune 18, 2017 at 12:35 pm #809517Hi Rikard,
Thank You very much for your quick response, but unfortunately your css didn’t work.
I tried the following with no result:
p.price ins span.woocommerce-Price-amount {
font-size: 24px;
}URL:
I am waiting your answer.
Best regards,
NickJune 20, 2017 at 10:07 am #810266Hi Nick,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
#top #wrap_all .main_color ins, #top .price span { font-size: 24px; }
If you need further assistance please let us know.
Best regards,
VictoriaJune 20, 2017 at 12:57 pm #810335Hi Victoria,
How are you?
Thank you for your quick response and your support.
I tried your CSS code, but it changes the prices (Regular & Sale) both together. Pls see on screenshot: https://prnt.sc/fly0q2
I would like (if that possible) to control the two prices (Regular and sale) separately, for example: Regular price in smaller font than Sale price as shown in screenshot: https://prnt.sc/fkjmuy
I am looking forward your answer..
Best regards,
NickJune 20, 2017 at 8:29 pm #810631Hi Nick,
This is what I am seeing when I put the code I gave you in /themes/enfold/css/custom.css
That seems to do what you need, or it does not?
Try removing this code form Quick cssp.price ins span.woocommerce-Price-amount { font-size: 21px!important; }
and see if that helps
Best regards,
VictoriaJune 20, 2017 at 8:30 pm #810632Hi Nick,
This is what I am seeing when I put the code I gave you in /themes/enfold/css/custom.css
That seems to do what you need, or it does not?
Try removing this code form Quick cssp.price ins span.woocommerce-Price-amount { font-size: 21px!important; }
and see if that helps
Best regards,
VictoriaJune 27, 2017 at 10:58 am #813342Hi Victoria,
Thank you very much for your great support!
Your code worked!
Best regards,
NickJune 28, 2017 at 1:53 pm #813805Hi,
Glad that Victoria helped you. Thanks for using Enfold :)
Best regards,
Nikko -
AuthorPosts
- The topic ‘Control Regular & Sale price’ is closed to new replies.