Skip to Content Skip to Menu

Plan Display Issue (Check Input)

  • AlexRag
  • AlexRag
  • OFFLINE
  • Posts: 504
  • Thanks: 34
  • Karma: 6
4 days 2 hours ago - 4 days 2 hours ago #341407 by AlexRag
Plan Display Issue (Check Input) was created by AlexRag
I was hoping for some help with the recent appearance of the check input falling outside the box for each plan (see images).   I found the CSS, but having trouble pinpointing it to add as a CSS override.

I am not sure when and how it happened, as I have not made any styling changes.   It makes a difference to know I am using a YooTheme for the site template.  I commented out the "margin-left" and "margin-top" as shown below in inspecto,r which seems to place the input button back where it's supposed to be.

.cb_template .form-check-input {
    /* margin-left: -1.25rem; */
    /* margin-top: .3rem; */
    position: absolute;
}

 

 
Last edit: 4 days 2 hours ago by AlexRag.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49297
  • Thanks: 8426
  • Karma: 1465
3 days 9 hours ago #341409 by krileon
Replied by krileon on topic Plan Display Issue (Check Input)
That CSS is from Bootstrap 4 scoped to CB. Probably just a conflict with your template. Your template is probably Bootstrap 5.

Within CB > Configuration > Integrations set "Bootstrap (Frontend)" to "Bootstrap 5 Compatibility" and CB will load a minimized Bootstrap CSS file that backports some Bootstrap 5 styles into Bootstrap 4 giving more compatibility with Bootstrap 5 templates.

Alternatively you can override it specifically for CBSubs using the below.
Code:
.cb_template .cbregPlanSelector .form-check-input { margin-top: 0; margin-left: 0; }

See the below on how to add CSS overrides to CB.

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.
The following user(s) said Thank You: AlexRag

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

  • AlexRag
  • AlexRag
  • OFFLINE
  • Posts: 504
  • Thanks: 34
  • Karma: 6
3 days 2 hours ago #341410 by AlexRag
Replied by AlexRag on topic Plan Display Issue (Check Input)
Thanks Kyle.  Both options worked.   The override provided a bit better layout!  Much appreciated!
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum