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) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Inline CSS
Pages: [1]

Author Topic: Inline CSS  (Read 1408 times)

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Inline CSS
November 02, 2009, 11:26:14 am
As you know, inline CSS can't be easily overridden by custom stylesheets.  CiviCRM 3 seems to be better at avoiding it than 2 was, but I'm still stumbling across it here and there.  I'm going to catalog those instances in this post / thread, and just add them to this list as I encounter them.

  • Event/Form/Registration/Register.tpl line 36

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Inline CSS
November 02, 2009, 12:45:51 pm
Kyle Jaster and the folks at rayogram.com have stepped up and taken on the mission of making front-end forms as theme-able as possible (which includes ditching inline css and converting markup to clearly identified div's whose layout can be easily modified with css.

The first phase of this project - which will do this for the online contribution flow and PCP's - will be part of the 3.1 release (and available for review via SVN by end of this week and in the alpha distribution quite soon): http://issues.civicrm.org/jira/browse/CRM-5084

As someone who is interested in this issue - please be sure a take some time to review the new markup and give your feedback as soon as that issue is marked Completed.
Protect your investment in CiviCRM by  becoming a Member!

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Re: Inline CSS
November 06, 2009, 11:52:30 am
Good to hear.  Are these changes going to include improving the indentation of the template code so that it's easier to understand the nested template logic without having to reformat it as you go?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Inline CSS
November 06, 2009, 11:56:21 am
There's definitely been a lot of improvement based on my review. If you see more spots that should be fixed - consider submitting patches.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Inline CSS

This forum was archived on 2017-11-26.