Skip to Content Skip to Menu

Two-column layout

  • Overtone
  • Overtone
  • OFFLINE
  • Posts: 22
  • Thanks: 0
  • Karma: 0
10 years 9 months ago - 10 years 9 months ago #240298 by Overtone
Two-column layout was created by Overtone
Is it possible to disable the CSS class cbclearboth:after for some fields, to generate a two-column layout?

Example:
Name
Street
(with cbclearboth: after)

should look like this:
Name Street
(without cbclearboth: after)
Last edit: 10 years 9 months ago by Overtone.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 9 months ago #240324 by krileon
Replied by krileon on topic Two-column layout
Yes, each field row has a unique ID (e.g. cbfr_29), which you can find by right clicking and inspecting the field row in Chrome or Firefox with Firebug. Then the below CSS, after supplying the correct ID, can be used to override the clear.

Code:
#cbfr_29:after { clear: none; }


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.

  • Overtone
  • Overtone
  • OFFLINE
  • Posts: 22
  • Thanks: 0
  • Karma: 0
10 years 9 months ago - 10 years 9 months ago #240331 by Overtone
Replied by Overtone on topic Two-column layout
Perhaps this is a good approach, but it doesn't do the right thing.
Please look at the two screenshots!
Screenshot-1.jpg is with your CSS-Code, Screenshot-2.jpg is without your CSS-Code!
Attachments:
Last edit: 10 years 9 months ago by Overtone.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 9 months ago #240375 by krileon
Replied by krileon on topic Two-column layout
Even if cleared they're still divs. You'll probably need to use a combination of clears and floats. For example if you float the element above the element you want to be 2 column it may also work.
Code:
#cbfr_28 { float: left; }


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.

Moderators: beatnantkrileon
Powered by Kunena Forum