CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Pre-Field Text Issue
Pages: [1]

Author Topic: Pre-Field Text Issue  (Read 575 times)

building252

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla 2.5.8
  • MySQL version: 5.5.28
  • PHP version: 5.3.18
Pre-Field Text Issue
December 21, 2012, 07:57:44 am
I am having an issue with the Pre-Field text running into the actual label text for the Field.

I recreated the problem on the demo, by adding some Pre Help text to a Marital Status Field under "Your Registration Info" here's the link to the problem:

http://joomla.demo.civicrm.org/index.php/component/civicrm/?task=civicrm/event/register&id=3&action=preview&reset=1

John

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Pre-Field Text Issue
December 23, 2012, 07:42:59 am
Your demo is not there, but this sounds like a CSS issue that can be fixed via your template's CSS.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

building252

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla 2.5.8
  • MySQL version: 5.5.28
  • PHP version: 5.3.18
Re: Pre-Field Text Issue
December 26, 2012, 12:41:39 pm
I'm not sure why someone removed it....but I just put the text back in so it can be seen. It's not a template issue from what I can see. I've tried several CSS overrides to no avail.

I've been trying to locate the original file for the registration form and possibly add another line break, but there are so many files I'm not sure which one is the right one to modify.

« Last Edit: December 26, 2012, 12:58:20 pm by building252 »

kharding

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 4
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 7
  • MySQL version: Recent
  • PHP version: 5.3.16
Re: Pre-Field Text Issue
December 26, 2012, 04:00:18 pm
If you use set the description as display: block it appears to fix this particular issue.  You'd need to do specific targeting, and then set your margins and paddings separately.

building252

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla 2.5.8
  • MySQL version: 5.5.28
  • PHP version: 5.3.18
Re: Pre-Field Text Issue
December 26, 2012, 04:43:49 pm
@kharding - Thank you for the tip..I was approaching that issue from the wrong angle. I just added the following to my templates main CSS file:

#crm-container .description, #crm-container .crm-clear-link {
    display: block !important;
}

Worked like a charm. Thanks again :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Pre-Field Text Issue

This forum was archived on 2017-11-26.