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 »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • need to control contribution Form width - link provided - please help
Pages: [1]

Author Topic: need to control contribution Form width - link provided - please help  (Read 1715 times)

DefileMetal

  • Guest
need to control contribution Form width - link provided - please help
February 09, 2009, 10:08:18 am
Greetings - my form is showing up just fine on my Joomla 1.5.9 site but I need to make it display wider and cannot find where to do it.  I looked in the page code and find: class="form-layout-compressed" but don't know where to find the variable in order to change it IF that is the determining factor. 

A link to the way it looks is here: http://yogaville.org/option,com_civicrm/Itemid,121/

I don't know if the handler is within CiviCRM or with the Joomla Template actually - Thank you for any help, it is greatly appreciated. 

Ron

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: need to control contribution Form width - link provided - please help
February 09, 2009, 10:20:10 am
You can this in two ways:

1. You can define you own css: Custom CiviCRM CSS URL => http://sandbox.civicrm.org/civicrm/admin/setting/url?reset=1

2. You can use Custom template feature: http://wiki.civicrm.org/confluence/display/CRMUPCOMING/Customize+Built-in%2C+Profile%2C+Contribution+and+Event+Registration+Screens

HTh

Kurund
« Last Edit: February 09, 2009, 10:22:22 am by Kurund Jalmi »
Found this reply helpful? Support CiviCRM

DefileMetal

  • Guest
Re: need to control contribution Form width - link provided - please help
February 09, 2009, 11:20:29 am
Thanks for the quick reply Kurund - much appreciate it. 

Well, I found in civicrm.css:

#crm-container #main {
height: 95%;
width: 95%;
left: 1%;
top: 1%;
position: relative;
}

and change the width to 100%

This helped a bit but I still need to make some small tweaks in the form and it would be much quicker for me [less of a learning curve] to change variables in .tpl or .php files as the links you sent me are beyond me at this time. 

The things I'd like to change on the same page are really pretty small:

1. after Email Address field need a hard break before "I am contributing on behalf of an organization."

2. widen text area of intro text under heading

stuff like that - are you able to identify the pages I'd want to make these changes to? 

Thanks for your assistance
Ron

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: need to control contribution Form width - link provided - please help
February 09, 2009, 06:35:00 pm
Since you're best bet is to customize the template that renders that form, I would recommend you check out the doc that kurund referenced above:

http://wiki.civicrm.org/confluence/display/CRMUPCOMING/Customize+Built-in%2C+Profile%2C+Contribution+and+Event+Registration+Screens

This doc includes the useful tip that the name of the template for each screen and form is included as an HTML comment which you can see when you do "View Source" from your browser. Search on ".tpl" in the source.
Protect your investment in CiviCRM by  becoming a Member!

DefileMetal

  • Guest
Re: need to control contribution Form width - link provided - please help
February 10, 2009, 04:57:05 am
Thanks Dave, I'll go on and get into it - I did realize that the width issue I "was having" was fixed through Joomla, it had to do with some of the mod settings on those pages is all - my bad! 

I must say that CiviCRM is so indepth, feature rich right outta the box, I best spend more time getting a hang of the basics.  Came along just in time for a new project for another associate non-profit community - this is gonna be really sweet! 

Thanks to all you guys who give of yourselves to help newbies like me get going - the magic of Open Source communities - now if only life mimicked that type of community support our world would look a bit different!

Be well and happy
Ron

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • need to control contribution Form width - link provided - please help

This forum was archived on 2017-11-26.