Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5 
Try FREE for 5 days, then 💸 save up to 30% with our 🛍️ Intro Offer — First 50 users only, ends Dec. 25th.

[#7944] Hide Price from Buttons

  • fede312
  • fede312
  • OFFLINE
  • Posts: 166
  • Thanks: 28
  • Karma: 1
4 years 8 months ago - 4 years 8 months ago #317745 by fede312
[#7944] Hide Price from Buttons was created by fede312
How can I hide the price from the renewal button?


Thanks! :)
Attachments:
Last edit: 4 years 8 months ago by krileon. Reason: Added [#7944] tag to subject

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48609
  • Thanks: 8300
  • Karma: 1446
4 years 8 months ago #317766 by krileon
Replied by krileon on topic Hide Price from Buttons
Believe the only way is by using CSS to hide parts of it. The duration is surrounded with the CSS class cbregTimeframe, the "for" with cbregFor, and the price with cbregRate. The button itself is surrounded by cpay_button_renew_wrapper CSS class. Example as follows would hide all 3.

Code:
.cpay_button_renew_wrapper .cbregTimeframe, .cpay_button_renew_wrapper .cbregFor, .cpay_button_renew_wrapper .cbregRate { display: none !important; }

You can add custom CSS to CB using CSS Overrides shown below.

www.joomlapolis.com/blog/kyle/18711-template-css-overrides-made-easy


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • fede312
  • fede312
  • OFFLINE
  • Posts: 166
  • Thanks: 28
  • Karma: 1
4 years 8 months ago #317852 by fede312
Replied by fede312 on topic Hide Price from Buttons
Great! I was able to hide them using css.
But now, how to I get rid of the colon (:) after the word Renew:?

Thanks,

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48609
  • Thanks: 8300
  • Karma: 1446
4 years 8 months ago #317875 by krileon
Replied by krileon on topic Hide Price from Buttons
Looks like we need to add an override language string like we did for the upgrade button below.

forge.joomlapolis.com/issues/7723

Have added a feature ticket for this.

forge.joomlapolis.com/issues/7944

You won't be able to remove the colon with CSS or the language string since it exists outside the language string.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: fede312

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum