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 CiviContribute (Moderator: Donald Lobo) »
  • How style e.g. h1#page-title outside #crm-container on a contribution page?
Pages: [1]

Author Topic: How style e.g. h1#page-title outside #crm-container on a contribution page?  (Read 2781 times)

Gerhard

  • I post occasionally
  • **
  • Posts: 34
  • Karma: 0
  • Anyone who has hope is happy…
    • Drupal Agentur
  • CiviCRM version: 4.2.2
  • CMS version: Drupal 7.12
  • MySQL version: 5.1.60
  • PHP version: 5.2
How style e.g. h1#page-title outside #crm-container on a contribution page?
June 03, 2013, 01:07:17 pm
Hallo,

is there a suitable way to manipulate (css) the h1#page-title on a contribution page?

Unfortunately this is outside the #crm-container and there is no page-node-[id] selector to only change this for the contribution page (I can't change h1#page-title for all drupal nodes I only need to change that on my contribution pages).

Vielen Dank -G

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: How style e.g. h1#page-title outside #crm-container on a contribution page?
June 03, 2013, 01:11:54 pm
Your theme ought to have a function that preprocesses the page and adds classes to the page body. You could add to that. I find it helpful to add a class for each url arg.
Try asking your question on the new CiviCRM help site.

Gerhard

  • I post occasionally
  • **
  • Posts: 34
  • Karma: 0
  • Anyone who has hope is happy…
    • Drupal Agentur
  • CiviCRM version: 4.2.2
  • CMS version: Drupal 7.12
  • MySQL version: 5.1.60
  • PHP version: 5.2
Re: How style e.g. h1#page-title outside #crm-container on a contribution page?
June 06, 2013, 06:21:48 am
Thx for your reply, but I found out that

.page-civicrm h1#page-title

also made the "trick" (I missed the body classes here...)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • How style e.g. h1#page-title outside #crm-container on a contribution page?

This forum was archived on 2017-11-26.