TOPIC:

Checkbox in Mobile resolution on the same line as text, need some CSS 6 days 23 hours ago #254535

  • Topic Author
  • guitrldy
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 46
  • Thanks: 0
Hello!
When viewing my form in Mobile resolution (414x736), I would like the checkboxes in the attached example to be on the same line as the text.

As you can see, right now, the checkboxes are below the text.

I am using "wrap after each element".

Below is the theme.css file for my theme.
Thanks if you can help!
Lisa W.


/*
 ########## BreezingForms 1.7.5 QuickMode ##########
 @autor crosstec.de
 @copyright Copyright (C) 2012 crosstec.de. All rights reserved.
 ########################################
*/

/* #### Custom Fonts #### */

@font-face {
 font-family: 'BebasRegular';
 src: url('../1_MyGreenTheme/fonts/BEBAS___-webfont.eot');
 src: url('../1_MyGreenTheme/fonts/BEBAS___-webfont.eot?iefix') format('eot'),  url('../1_MyGreenTheme/fonts/BEBAS___-webfont.woff') format('woff'),  url('../1_MyGreenTheme/fonts/BEBAS___-webfont.ttf') format('truetype'),  url('../1_MyGreenTheme/fonts/BEBAS___-webfont.svg#webfontSRj8j0PE') format('svg');
 font-weight: normal;
 font-style: normal;
}


/* Page BG */

#main, .bfFormDiv {
	-webkit-box-shadow: 0px 2px 6px #999;
	-moz-box-shadow:	0px 2px 6px #999;
	box-shadow: 		0px 2px 6px #999;
}
.bfPage-m {
	padding: 20px;
}

.bfQuickMode .bfFieldset-m {
	padding: 7px;
	margin: 7px;
	background-color: #BBD3C0;
	background-color: rgba(255, 255, 255, 0.1);
	-webkit-box-shadow: inset 1px 1px 1px #90a6ae, inset -1px -1px 1px #d1e5eb, inset 2px 2px 1px #d1e5eb, inset -2px -2px 1px #90a6ae;
	-moz-box-shadow: 	inset 1px 1px 1px #90a6ae, inset -1px -1px 1px #d1e5eb, inset 2px 2px 1px #d1e5eb, inset -2px -2px 1px #90a6ae;
	box-shadow: 		inset 1px 1px 1px #90a6ae, inset -1px -1px 1px #d1e5eb, inset 2px 2px 1px #d1e5eb, inset -2px -2px 1px #90a6ae;
}

.bfQuickMode fieldset {
	border: none;
	padding: 0;
	margin: 0;
	position: relative;
}


/* #### Colors #### */

/* ## Background Colors ##*/

/* Page BG */

#main, .bfFormDiv {
	background: #BBD3C0;
	background: -moz-linear-gradient(top, #BBD3C0 0%, #A3BBAD 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #BBD3C0), color-stop(100%, #A3BBAD));
        background: -webkit-linear-gradient(top, #BBD3C0 0%, #A3BBAD 100%);
        background: linear-gradient(top, #BBD3C0 0%, #A3BBAD 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#BBD3C0', endColorstr='#A3BBAD', GradientType=0 );
}

/* ## Font Colors ## */

/* Standard Font Color in Form*/ 

.bfQuickMode {
	color: #333;
}


/* Legend Fieldset */ 

.bfQuickMode button{
    outline: none;
}

.bfQuickMode legend{
    border: 0;
}

.bfQuickMode .bfLegend-m {
	color: #f4f3f9;
}


/* Legend Fieldset Level 2*/ 

.bfQuickMode .bfWrapperBlock .bfWrapperBlock .bfLegend-m {
	color: #f4f3f9;
}


/* Buttons */ 

.bfQuickMode button span, .bfQuickMode .bfDivButtonWrapper .bfDivButtonMain {
	color: #496B54 !important;
}


/* Buttons hover*/ 

.bfQuickMode button:hover span, .bfQuickMode .bfDivButtonWrapper:hover .bfDivButtonMain {
	color: #e01000 !important;
}


/* Labels */ 

.bfQuickMode label {
	color: #496B54 !important;
}


/* Not Available */ 

.bfQuickMode .bfNotAvailable {
	color: #888 !important;
}


/* Required */ 

.bfQuickMode .bfRequired {
	color: #e01000;
}


/* Max Length Counter */ 

.bfMaxLengthCounter {
	color: #e01000;
}


/* Rollovers */

.bfRolloverBg {
	background: url(../1_MyGreenTheme/img/bg_rollover.png) !important;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px; 
}


/* Input Fields */

.bfQuickMode section input[type="text"], .bfQuickMode section textarea, .bfQuickMode section select {
	width: 44% !important;
}
.bfQuickMode input[type=text], .bfQuickMode input[type=password], .bfPage input[type='file'], .bfQuickMode textarea, .bfQuickMode select {
}

.bfQuickMode textarea:focus, .bfQuickMode input[type='text']:focus, .bfQuickMode input[type='password']:focus, .bfQuickMode select:focus {
	outline: none;
	border: 1px solid #e01000;
}

.bfQuickMode input[type=radio], .bfQuickMode input[type=checkbox] {
	margin-top: 5px !important;
}

.bfQuickMode legend {
	padding: 0px;
}

.bfQuickMode legend {
	position: relative;
	padding: 0px;
}

.bfQuickMode .bfLegend-m {
	font: 25px/28px 'BebasRegular', Arial, sans-serif !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
	margin-left: 5px !important;
}
.bfQuickMode .bfWrapperBlock .bfWrapperBlock .bfLegend-m {
	font: 21px/18px 'BebasRegular', Arial, sans-serif !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}


/* ##### inline ##### */

.bfQuickMode fieldset.bfInline {
	width: 100%;
}


/* ##### Labels ##### */

.bfElementGroup label {
	line-height: 13px !important;
}

.bfQuickMode label {
	line-height: 25px;
	width: 44% !important;
	font-weight: bold;
	text-shadow: 0 1px 0px rgba(255, 255, 255, 0.7);
	line-height: 13px !important
}

.bfQuickMode span.bfLabelLeft label {
	width: auto !important;
}

.bfQuickMode .bfLabelLeft label {
	line-height: 25px !important;
}


/* ##### Input Fields ##### */

.bfQuickMode span input[type=text], .bfQuickMode span textarea, .bfQuickMode span select {
	float: right;
	margin-right: 10px;
}

.bfQuickMode input[type=text], .bfQuickMode input[type=password], .bfQuickMode textarea, .bfQuickMode select {
	color: #496B54;
	border: 2px solid #BBD3C0;
	background: #BBD3C0;
	background: -moz-linear-gradient(top, #ffffff 0%, #d9d9d9 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #d9d9d9));
        background: -webkit-linear-gradient(top, #ffffff 0%, #d9d9d9 100%);
        background: linear-gradient(top, #ffffff 0%, #d9d9d9 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d9d9d9', GradientType=0 );
	-webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.15), inset -1px -1px 1px rgba(255, 255, 255, 0.5);
	-moz-box-shadow: 	inset 1px 1px 1px rgba(0, 0, 0, 0.15), inset -1px -1px 1px rgba(255, 255, 255, 0.5);
	box-shadow: 		inset 1px 1px 1px rgba(0, 0, 0, 0.15), inset -1px -1px 1px rgba(255, 255, 255, 0.5);
	border-left: 1px solid #747474;
	border-top: 1px solid #747474;
	border-right: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
}

.bfQuickMode input[type=text], .bfQuickMode input[type=password], .bfQuickMode textarea {
	height: 20px;
	padding: 2px 5px;
}

.bfQuickMode select {
	padding: 2px 1px 2px 2px;
	background-color: rgba(255, 255, 255, 0.1);
}

.bfQuickMode select option {
	height: 18px;
	border: none;
	padding-left: 5px;
}

.bfQuickMode select.option:focus {
	background-color:#FF0;
	color: #000000;
}

.bfQuickMode input[type='button'], .bfQuickMode input[type='submit'], .bfQuickMode input[type='checkbox'], .bfQuickMode input[type='image'], .bfQuickMode input[type='radio'], .bfQuickMode input[type='reset'], .bfQuickMode select, .bfQuickMode button {
	cursor: pointer;
}

.bfQuickMode input[type='hidden'] {
	display: none;
}

#bfCaptchaEntry {
    float:left !important;
    width:196px !important;
}


/* ##### Tooltip ##### */

.bfQuickMode span.hasTip {
	background: transparent url('../1_MyGreenTheme/img/icon_info.png') right top no-repeat;
}


/* ##### Required ##### */

.bfQuickMode .bfRequired, .bfQuickMode .bfFieldset-m .bfRequired, .bfQuickMode span .bfRequired {
	background: none;
	font-size: 21px;
	line-height: 16px;
	font-weight: bold;
	border: 0;
	padding: 0;
	margin-left: 3px;
}

.bfQuickMode .bfRequired, .bfQuickMode .bfFieldset-m .bfRequired {
	float: left;
}

.bfQuickMode span .bfRequired {
	position: absolute;
	right: 4px;
	width:auto;
	overflow: visible;
}


/* ##### Buttons ##### */

.bfQuickMode button, .bfQuickMode .bfDivButtonWrapper {
	position: relative;
	height: 25px;
	cursor: pointer;
	padding: 0px 10px 0px 10px;
	top: 2px;
	font: 12px/25px 'BebasRegular', Arial, sans-serif;
	text-align: center;
	-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 	0px 1px 3px rgba(0, 0, 0, 0.5);
	box-shadow: 		0px 1px 3px rgba(0, 0, 0, 0.5);
	background: #F6F9F7;
	background: -moz-linear-gradient(top, #F6F9F7 0%, #E5EEE8 50%, #D7E3D8 51%, #F5F9F6 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #F6F9F7), color-stop(50%, #E5EEE8), color-stop(51%, #D7E3D8), color-stop(100%, #F5F9F6));
	background: -webkit-linear-gradient(top, #F6F9F7 0%, #E5EEE8 50%, #D7E3D8 51%, #F5F9F6 100%);
        background: linear-gradient(top, #F6F9F7 0%, #E5EEE8 50%, #D7E3D8 51%, #F5F9F6 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F6F9F7', endColorstr='#F5F9F6', GradientType=0 );
}

.bfQuickMode button::-moz-focus-inner {
	border: none;
}

.bfQuickMode button:hover, .bfQuickMode .bfDivButtonWrapper:hover, button.submitBtnHover {
}

.bfQuickMode .bfNextButton, .bfQuickMode .bfSubmitButton, .bfQuickMode .bfCancelButton {
	float: right;
	margin-right: 5px;
	height: 40px;
	font: 16px/40px 'BebasRegular', Arial, sans-serif;
}

.bfQuickMode .bfPrevButton {
	float: left
}

.bfQuickMode button.bfCalendar {
	height: 25px;
	margin: 0 0 0 5px;
}


/* #### bfTooltip ### */

.bfQuickMode span.bfTooltip {
	 background: url("../1_MyGreenTheme/img/icon_info.png") no-repeat scroll right top transparent;
	 display: block;
	 margin: 0;
         margin-right: 3px;
	 padding: 0 25px 0 0;
	 width: auto;
	 height: 21px;
         float: left;
}

/* #### Summary #### */

.bfQuickMode .bfSummarize {
	font-weight: normal !important;
}
Lisa W.
Attachments:

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

Checkbox in Mobile resolution on the same line as text, need some CSS 6 days 10 hours ago #254562

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 3785
  • Karma: 3
  • Thanks: 303
Hi,

could you please send me link for this that I can provide you with correct css?

Regards,
Tihana

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

Checkbox in Mobile resolution on the same line as text, need some CSS 5 days 21 hours ago #254651

  • Topic Author
  • guitrldy
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 46
  • Thanks: 0
Sure!

Here's the form (view in mobile resolution): austinreptileservice.net/joomla/index.ph...s/book-a-party-event

To get to the checkbox part of the form:
1. Click NEXT
2. Select "12 animals"
3. Select "yes"
4. Click NEXT

Then you'll see the checkbox page I need to edit.

This message contains confidential information


Thanks!
Lisa W.

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

Last edit: Post by guitrldy.

Checkbox in Mobile resolution on the same line as text, need some CSS 5 days 10 hours ago #254658

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 3785
  • Karma: 3
  • Thanks: 303
Hi,

solved!

I added this in Before form pieces:
.bfQuickMode .bfLabelLeft label {
float: left;
}
Regards,
Tihana
The following user(s) said Thank You: guitrldy

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

Checkbox in Mobile resolution on the same line as text, need some CSS 5 days 1 hour ago #254693

  • Topic Author
  • guitrldy
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 46
  • Thanks: 0
Awesome! This looks fantastic!

Thanks so much.
Lisa W.

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

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.073 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!