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 (Moderator: Dave Greenberg) »
  • CSS bug?
Pages: [1]

Author Topic: CSS bug?  (Read 332 times)

SteveTheBoater

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.3.2
  • CMS version: Drupal 7
  • MySQL version: 5.3.30
  • PHP version: 5.3.19
CSS bug?
November 11, 2014, 02:19:23 am
I'm using CiviCRM with Drupal 7, using the latest releases of both. I've spotted that a CSS style from CiviCRM is being incorrectly applied to a non-CiviCRM page on the site. The line is in civicrm.css at line 3282:

.crm-container .top, .bottom {
  padding: 15px;
  background-color: #F5F5F5;
  border: 1px solid #CCCCCC;
}

...and the .bottom property was being applied to a photo gallery. I guess this is just a typo and the line should read:

.crm-container .top, .crm-container .bottom {

At least this fixes it for me :) Checking source this applies in 4.5.1 and 4.5.3 I've not looked at any earlier versions but I'm guessing it wasn't always there as I've had the gallery for a while and not spotted it before. Either way, .bottom is a very common theming style and shouldn't be set by Civicrm

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: CSS bug?
November 11, 2014, 04:35:00 am
Can you click on the Issue Tracker link at the top of this page and open an Issue for this? Looks like a bug to me.
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.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: CSS bug?
November 11, 2014, 06:12:48 am
I've filed https://issues.civicrm.org/jira/browse/CRM-15582

Looks to me like those styles aren't even used (probably copied from a datatable demo by mistake), so I'm just going to delete them.
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • CSS bug?

This forum was archived on 2017-11-26.