Tagged: x
-
AuthorPosts
-
July 14, 2016 at 11:10 am #1087006
mattbuff5ParticipantI am attempting to implement a Sale Price into my Pricing Table Element.
I have tried both of the methods described in the threads pasted below:
https://community.theme.co/forums/topic/slash-through-prices-in-pricing-table/
For the first attempt, nothing changed in my price.https://community.theme.co/forums/topic/add-red-strikethrough-on-priciing-table-column/
For the second attempt, the strike through showed up but the weight of the line was very, very thin.Any assistance is appreciated.
July 14, 2016 at 11:10 am #1087007
mattbuff5ParticipantThis reply has been marked as private.July 14, 2016 at 12:49 pm #1087176
JoaoModeratorHi There
Your line trough doesn’t look thin on my end, please see image attached.
Let us know if you still need help.
Joao
July 14, 2016 at 2:48 pm #1087359
mattbuff5ParticipantI’ve gotten the slash method similar to this post:
https://community.theme.co/forums/topic/slash-through-prices-in-pricing-table/I’ve added the CSS below and have set the class to slash-price… The slash part is working great. Now what I’m trying to do is under the slashed price, I want the new-price to display. It is displaying but the new-price styling is not applying to the price – i have $99 set … it should be 28px and red.
I’ve also added this to the content input box in the pricing table – <label class=”new-price”>$99</label>
Here are a few screen shots…
http://prntscr.com/bt2gc0.x-pricing-column-info .new-price { font-size: 28px; color: red; } .slash-price .x-price { position: relative; } .slash-price .x-price:after { content:""; display: block; height:4px; background-color:#c26267; position: absolute; width: 90px; left: calc(50% - 30px); bottom: calc(50% - 2px); -ms-transform: rotate(-30deg); /* IE 9 */ -webkit-transform: rotate(-30deg); /* Chrome, Safari, Opera */ transform: rotate(-30deg); } .x-pricing-column-info br { display: none; }Thanks for the assistance.
July 14, 2016 at 6:11 pm #1087578
mattbuff5Participantedit – removed to update previous question
July 14, 2016 at 8:37 pm #1087794
John EzraMemberHi there,
Thanks for updating the thread! Upon checking your site, you seemed to have changed your styling to something different. Do you still need help with this issue? Thanks,
July 14, 2016 at 8:47 pm #1087871
mattbuff5Participantyes i still need help
i don’t think i changed any styling
July 15, 2016 at 5:15 am #1088287
RadModeratorHi there,
Try something like this,
.x-pricing-column label.new-price { font-size: 28px !important; color: red !important; }Thanks!
July 15, 2016 at 7:20 am #1088391
mattbuff5ParticipantRad –
Thanks I tried that; however, it still did not work.
Matt
July 15, 2016 at 4:15 pm #1089076
JadeModeratorHi Matt,
I went ahead and place the code that Rad suggested in the customizer and it seems to work fine.
http://greaterthanyesterdaynutrition.com/nutrition-coaching/get-started/
July 15, 2016 at 7:05 pm #1089195
mattbuff5ParticipantSo I see what I was doing different….
I had this.x-pricing-column-info new-price { font-size: 28px !important; color: red !important; }You all entered this (which worked)
.x-pricing-column label.new-price { font-size: 28px !important; color: red !important; }So the -info at the start of the class identifier was causing me issues.
Thanks
July 15, 2016 at 7:25 pm #1089222
mattbuff5ParticipantWell I guess I’m stumped – I have to have the same statement in the css code twice to get it to take.
This works:.x-pricing-column label.new-price { font-size: 40px !important; color: red !important; } .x-pricing-column label.new-price { font-size: 40px !important; color: red !important; }This does not work:
.x-pricing-column label.new-price { font-size: 40px !important; color: red !important; }Any idea why?
July 16, 2016 at 2:17 am #1089629
FriechModeratorHi There,
There is a syntax error on your custom CSS. Please look for this block on your custom css in customizer.
.wpcf7 textarea { margin-bottom: 10px; border:1px solid #DCAE1D; height: 180px; padding:2px 5px; border-radius:5px; font-size:14px; max-width: 400px; } }And remove that extra closing bracket.
Hope it helps, Cheers!
July 16, 2016 at 9:58 am #1089876
mattbuff5ParticipantDoh!
Thanks, got it.July 16, 2016 at 10:45 am #1089903
ThaiModeratorIf you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1087006 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
