Radio Group - prompt alignment

  • baileynp
  • Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 76
  • Thank you received: 1

baileynp created the topic: Radio Group - prompt alignment

Hi

I'm trying to align my radio group text prompts as per post 233389 .

It's nearly there, but as you can see from the screenshot, the prompts appear to have been moved down a line.



Help!
#235937
Attachments:
  • Posts: 2571
  • Karma: 87
  • Thank you received: 344

mihaela replied the topic: Radio Group - prompt alignment

Hello,

Can you please try to use this code instead of the one suggested in the post:
function ff_formname_init()
{
jQuery(document).ready(function () {

 jQuery('#bfGroupLabel1946').contents().filter(function(){return this.nodeType === 3}).wrap( "<div class='newlabels'></div>" );
jQuery('#bfGroupLabel1946_1').contents().filter(function(){return this.nodeType === 3}).wrap( "<div class='newlabels'></div>" );
jQuery('#bfGroupLabel1946_2').contents().filter(function(){return this.nodeType === 3}).wrap( "<div class='newlabels'></div>" );


jQuery('.newlabels').css('padding-left', '25px');
jQuery('.newlabels').after("<br />");
    });

} // ff_formname_init

The difference is that in this code padding-left is increased.

Let me know whether it resolved the problem.

Regards,

Mihaela
#235960
  • baileynp
  • Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 76
  • Thank you received: 1

baileynp replied the topic: Radio Group - prompt alignment

Hi

No joy I'm afraid - still the same result. :(
#235961
  • baileynp
  • Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 76
  • Thank you received: 1

baileynp replied the topic: Radio Group - prompt alignment

I'm using the BF default layout, if that makes any difference.
#235963
  • Posts: 2571
  • Karma: 87
  • Thank you received: 344

mihaela replied the topic: Radio Group - prompt alignment

Hello,

It does make a difference since previous code was written for Bootstrap theme. The code will look different for the next

Can you please create a package with your form so I can take a look at this form first hand?
Follow this article on how to create a package with your form : crosstec.org/en/support/online-documenta...ted/94-packages.html , zip it and attach it to your next post.

Regards,

Mihaela
#235964
  • baileynp
  • Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 76
  • Thank you received: 1

baileynp replied the topic: Radio Group - prompt alignment

Hi

Package attached. :)

File Attachment:

File Name: mypck_001-2.xml.zip
File Size:43 KB
#235965
Attachments:
Moderators: ForumSupporttomeperica
Time to create page: 0.213 seconds

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Summer Sale!

50% discount on all of our extension subscription plans, templates and icon packs!

Get Your Subscription Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

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!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here