Drupal 7 theme - Comma added to links in IE8


Author Message
Mansie

Posted: 2/9/2011
Quote message 

I'm experiencing this very weird issue when using an Artisteer created Drupal 7 theme: When creating a hyperlink in Drupal, a comma (",") is added to the end of the hyperlink.

example: "Please click here to contact us" will show up in IE8 as "Please click here to contact us,"

Funny thing is: this is only the case in IE8. In FireFox or IE8 "Compatibility mode" for earlier browsers, the comma is not there.
There is also no comma in the "View source" of the browser.

When using another (non-Artisteer) theme, there is also no comma in IE8.

Hence I suspect it has something to do with the theme generated by Aritsteer.

Ideas on what could cause this?
Any help would be greatly appreciated.

 
Mansie

Posted: 2/10/2011
Quote message 

Thanks to the swift reply of Artisteer customer support, this issue has been solved.
Solution:
Open the style.css in your theme folder
Modify the code at the bottom from:


/* BEGIN Taxonomy terms Artisteer styles in Drupal 7 */
.field-name-field-tags, .field-name-field-tags .field-label,
.field-name-field-tags .field-items, .field-name-field-tags .field-items .field-item
{
display: inline;
}

.field-item a:after
{
content: ', ';
}

.field-item:last-child a:after
{
content: '';
}
/* END Taxonomy terms Artisteer styles in Drupal 7 */



To this new code:


/* BEGIN Taxonomy terms Artisteer styles in Drupal 7 */
.art-tags, .art-tags .field-name-field-tags, .art-tags .field-name-field-tags .field-label,
.art-tags .field-name-field-tags .field-items, .art-tags .field-name-field-tags .field-items .field-item
{
display: inline;
}

.art-tags .field-item a:after
{
content: ', ';
}

.art-tags .field-item:last-child a:after
{
content: '';
}
/* END Taxonomy terms Artisteer styles in Drupal 7 */

 
Lawrence

Posted: 2/27/2011
Quote message 

Pretty straight forward, great fix! Thanks Mansie. 8-)